Problem in screen whilw calling it from report

Hi friends,
I have created a report which contains a selection screen with following fields.
Selection screen
all are slect optins.
VBELN
KUNNR
MATNR
now when i enter the values in these slection screen and execute it,
it basically calls a screen 100 ( module pool program ) and displays the value of that particular sales order  number in the screen 100 and that screen contians a table control which basically displays the line items(POSNR) of that particular VBELN.
now my problem is when the ist time iam giving the value of VBELN as 1000 in the report select option and executing.
its displyaing the value of VBELN in screen and posnr in the tbale control.
now when i go back to the selection screen from the screen 100 and if i leave the VBELN field empty and execute it. it has to display all the posnr of all the sales order number.
but it is displaying the previous vbeln 1000 .
How can i clear that.
Regards,
Priyanka.

You can use an alternate way to lonk a Selection screen and a module pool screen as mentioned below:
Let 1000 be the screen on which you want to put Range button.
Make a subscreen area on it. Let it be named as sub_area.
Now make a selection screen in your program.
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECT-OPTIONS R_PERNR FOR PERNR-PERNR.
SELECTION-SCREEN END OF SCREEN.
Now in screen 1000 flow logic, we can call the selection screen in the sub screen area defined.
In PBO of 1000
CALL SUBSCREEN SUB_AREA INCLUDING SY-REPID '0100'.
Now, code in AT SELECTION-SCREEN OUTPUT event will be exe.
In PAI of 1000
CALL SUBSCREEN SA_SS. as the first line after PAI
Now, AT SELECTION-SCREEN event will be exe.
Using above method u will get the functionality of Select-Options of Selection Screen on a Module Pool Screen.

Similar Messages

  • Calling Forms from Reports

    Hi...
    We can call Reports from Forms using RUN_REPORT_OBJECT or RUN_PRODUCT. Can we call Forms or any other product from Reports? If so, how can we do it? If anyone can help me in this...

    Hi Gayathri
    As such there is no product integration for calling Forms from Report. You can call 6i graphics from Reports 9i if you are running a 6i rdf file with OGD object in it and if you have a 6i home set in the same machine where Report s9i is running. For Form, if you wish to run it as an independent request, in Reports 9i, you can always import a java class in Reports and then call that class method in any of the triggers which in turn send out a Forms request to Forms servlet.
    Thanks
    Rohit

  • Calling BSP from report and return control back ?

    Hi All,
          My requirement is as follows :-
    1. I am calling a BSP from report using CL_GUI_HTML_VIEWER->show_url. The BSP page is displayed successfully.
    2. Then, I perform some operations and want to return some data back to the main program (from where it was called - Report) and continue execution from there
    How do I accomplish the second requirement (Control doesnt come back once I close the BSP) ?
    Regards,
    Ashish

    how to generate events from html code in the html control back to your ABAP check out this demo program
    SAPHTML_EVENTS_DEMO
    say for example, in your case you are showing the BSP in GUI HTML control and on clicking a link you want to pass some data from your link to ABAP program and the ABAP should receive the value and process it and may be comeback to same BSP or go some to some other screen/transaction.
    steps to follow:
    after creating the html control
    register event for call back and call the BSP url.
    create object hviewer
                 exporting
                   parent = mycont.
        myevent-eventid = hviewer->m_id_sapevent.
        myevent-appl_event = 'x'.
        append myevent to myevent_tab.
        call method hviewer->set_registered_events
          exporting
            events = myevent_tab.
        create object evt_receiver.
        set handler evt_receiver->on_sapevent
                    for hviewer.
        hviewer->enable_sapsso(
          exporting
            enabled    = 'X'
          exceptions
            cntl_error = 1
            others     = 2
        if sy-subrc <> 0.
        endif.
        call method hviewer->show_url
          exporting
            url = wf_url.
    in your BSP the link should look like below
    A HREF=SAPEVENT:TAGS?value to be passed to your ABAP> link text </a
    when you click this link in bsp then you can then capture the value "TAGS" to know which link was clicked and the value passed after the ?
    link is just one option, you can also send whole form data.
    this type of link and form will only work when your BSP is invoked within HTML contro. if its invoked from standalone browser these wont work. so you amy want to dynamically show/hide "sapevent" links based on where it runs.
    Hope this is clear. if not do getback.
    Regards
    Raja
    Edited by: Durairaj Athavan Raja on Sep 9, 2008 1:04 PM

  • Calling VA01 from Report,how to get the Sales Order  No when Back.

    Hi all,
    I have a requirement of calling va01 from the report and have done that using
    did recording ...&
    call transaction va01 using bdcdata.
    but my problem is when back from that trasaction i have to get the sales order that is created . Is it possible to retrieve that value from va01 .i am unable to get . anyone pls share

    Use the addition MESSAGES INTO itab with call transaction va01 using bdcdata.
    Effect of MESSAGES INTO itab:
    Using this addition, all the messages sent during batch input processing are stored in an internal table itab of the type BDCMSGCOLL from the ABAP Dictionary.
    If the call transaction is successful then retrieve the last message from itab and then in any field among MSGV1,MSGV2,MSGV3,MSGV4 of itab u will get the document no.
    And when doing the call transaction pl. choose update mode as 'S' or 'L'.
    Regards,
    Joy.

  • Calling graph from Reports created in graphics builder?

    Can you call a graph from Reports 6.0 that was created in Graphics Builder. I know you can call a graph from Forms. I tried creating my graph right in Reports with the wizard but for some reason it does not give me the fields I want to use in the available fields column, so I created the graph in Graphics Builder. Do you use a trigger of some sort. Any examples would be appreciated if this is possible. Thanks

    Justin Beno:
    Yes, you can call a graph from inside a report. All you need to do is select the button with the graph on it (not the icon with the wand, which indicates chart wizard). Then draw graph in the area of the report where you want the graph to display. After completing this, right click on graph, select Property Palette, Chart - Chart Filename (this is where you will type in the directory and filename of your graph that you created in Oracle Graphics).
    ~Vannette

  • Calling form from report urgent please

    hi every body
    i am using form and report 6i
    i create a report and in report i create buttons front of all records
    i want to call a from from that button related to that record show in report
    can i do this if yes how can i do this
    thanks in advance khuda hafiz

    any body tell me about my problum
    thanks

  • Calling 'Status' screen of transaction IW32 from report

    Hi,
    I want to display 'status overview' screen from transaction 'iw32' .
    I know how to call transaction 'iw32', but I don't know how can
    I directly go on status screen? I have order no with me.
    Can anyone help me?

    Hi,
    You can get the user status data directly from the following tables:
    Pass on the order number to JEST table to fetch the STAT (status) for which INACT field is a blank (means status those are active in the order). You will find the status in the form of E001 or I001 depending upon the user status or system status respectively.
    Now goto TJ30T table where you need to pass the status profile (STSMA) which can recovered from the order number and fetch the status text by comparaing ESTAT with the status received from JEST table. Field TXT04 in TJ30T gives the status text.
    Hope you will find this helpfull.

  • How to generate a report to a file calling it from report client

    Hey there,
    I am pretty new to the whole Oracle world. I have found very little technical books about Report Builder or Report Designer (whichever you prefer to call). Therefore I am unable to figure this out. I know I can generate my report to a certain number of file types if I am running it from the Report Designer 6i, but my user are calling from a application trough the Report Client. I would like to know how I can let them choose whether to preview on screen or to send to a file (a .html file would do). If anybody out there can help me out I will really appreciate.
    Thanks a lot,
    Gleisson Silva

    Thanks a lot ! ! ! This was easy enough ! Now I only have a problem, when I run the report with the output file as a html file, my columns lost their default layout. For example, column which is 10 characters long becomes like 8 characters. As opposed to any other file type. Is there some configuration that I need to do?
    Once again thanks!
    Gleisson Silva

  • Error while calling FM from report program

    i am calling a FM using the follwoing program
    REPORT  ZTEST3.
    DATA : EMPNO TYPE zempdata-EMPLOYEE_NUMBER,
          EMPNAME TYPE zempdata-EMPLOYEE_NAME,
          EMPSAL TYPE zempdata-EMPLOYEE_SALARY.
    call function 'ZEMPMASTER'
        EXPORTING
          EMPNO        =  '22609'.
          EMPNAME      =  'vishal'.
          EMPSAL      =  200.
    but when i execute this program i am getting the following error
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was
    not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    When calling the function module "ZEMPMASTER", one of the parameters
    needed according to the interface description was not specified.
    This parameter was "EMPNAME".
    i don't know why i am geteing this error where as in my FM ZEMPMASTER i have given only three input parameters
    EMPNO, EMPNAME AND EMPSAL.
    my FM code is like as follows
    FUNCTION ZEMPMASTER.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(EMPNO) TYPE  ZEMPDATA-EMPLOYEE_NUMBER
    *"     REFERENCE(EMPNAME) TYPE  ZEMPDATA-EMPLOYEE_NAME
    *"     REFERENCE(EMPSAL) TYPE  ZEMPDATA-EMPLOYEE_SALARY
    TABLES ZEMPDATA.
    BREAK-POINT.
    data WA_zempdata type zempdata.
    WA_zempdata-EMPLOYEE_NUMBER = EMPNO.
    WA_zempdata-EMPLOYEE_NAME = EMPNAME.
    WA_zempdata-EMPLOYEE_SALARY = EMPSAL.
    BREAK-POINT.
      insert into zempdata values wa_zempdata.
    WRITE :/  wa_zempdata-employee_number,  wa_zempdata-employee_name.
    commit work.
    ENDFUNCTION.
    pls let me know why i am getting this error

    Hi vishal,
    call function 'ZEMPMASTER'
    EXPORTING
    EMPNO = '22609'.<------- Remove this period
    EMPNAME = 'vishal'.<------remove this period
    EMPSAL = 200.<-----------*retain this period*
    We must never change the format in which a FM is displayed once we call the pattern.
    The period will be automatically be available at the end of the FM.need not keep it at end of every line.
    Hope this helps.If problem still persists post back.
    Regards,
    K.Sibi

  • Calling Form from Report

    Hi all,
    Please help me out, I need to call Form6i form Report6i.
    Thanks in advance

    Hi all,
    the below mentioned documents will help u.
    Under Developer 2000 (Release 1.2) on Windows, there exists a pl/sql library
    which can be used to invoke excutables residing on the PC. The library
    (D2KWEXEC.PLL, located in the FORMS45/DEMO/REUSE directory) is attached to
    the Report in the following manner:
    1) Modify the D2KWEXEC.PLL to change any references to the Forms built-in
    MESSAGE to the Reports built-in SRW.MESSAGE.
    2) Choose the 'Attached Libraries' section for your report and select the
    'Navigator/Create' menu option - this will cause the 'Attached Library'
    dialog to be displayed.
    3) Use the 'Find' button to locate the library file (D2KWEXEC.PLL) and then
    attached it to the report using the 'Attach' button. A warning is
    displayed you that a hard coded path name is being used and gives the
    option of removing it. If the full path is removed, then the
    FORMS45_PATH variable will be used subsequently to locate the library.
    The directory in which the library is located must be part of
    FORMS45_PATH.
    Then select the appropriate trigger from where Oracle Forms should be invoked
    from. In that trigger reproduce the following code:
    function return boolean is
    command_string VARCHAR2 (100);
    BEGIN
    command_string := 'c:\orawin\bin\f45run.exe';
    RETURN d2k_winexec.execute (command_string);
    END;
    Note: 'command_string' contains the full path of the Oracle Forms
    Runtime executable.
    When the trigger fires, the Forms Runtime Executable is invoked
    automatically.
    Regards
    Gopinath M

  • Call KSB1 from report in GR55 selects thousend of records

    Dear All,
    after our upgrade to ECC6.0 the drilldown from an report in GR55 (calls T-Code KSB1) will select thousends of records.
    I snoop a bit around and I figure out, that the selection criteria for the call of the FM k_line_items_select_and_list are different.
    Can anyone tell me how I can manage the selection crtierias for a drilldown in a report painter report?
    Thanks in advance, Thomas

    Hi Thomas,
    you should also check include CI_COBL.
    also please notice if you are drillingdown from a formula column the logic
    from note 98187 applies, and you could get results different than what you expect
    br, Guido

  • Need to call transaction from report

    Hi,
    I have to create BAPIs to call from webDynpro to realize the functionality of the transactions MI01/MI04 and MI07. I´m working in the SAP cable Solution environment.
    Do You know any BAPIs to use instead of calling the transactions? Maybe there are standard ones, which contain cable solution modifications...
    Otherwise I thought about building frame BAPIs and calling the transactions inside of it. Do You think it´s possible to realize that by batch-input?
    I need some other opinions and ideas to this problem.
    Thank You for Your help!
    Reward points guaranteed

    Hey Ravi,
    ok, I'll try that!
    I'm not that deep into the module of material management. Do You have a tipp, how I can find out, if these functions are also working with the cable materials?
    When I'm running the function bapi_matphysinv_create_mult, a document has been created. But I'm not sure, if it's using the cable specials...
    Thank You

  • Audio sync problem with screen capture/gameplay video from Bandicam, converted by Freemake.

    I recently purchased the student discount for Adobe creative cloud which gave me access to Premiere Pro CC which I've been using to edit my YouTube videos.
    I use a popular recording software called Bandicam to record my PC gameplay. Bandicam like many other software's allows me to record my commentary OVER the gameplay. When I play back the recorded video in windows media viewer the audio and gameplay are in complete synchronization. I then use Freemake Video Compressor to convert the recorded gameplay from an AVI file to an MP4 file. Then I import that file into the latest version of Adobe Premiere Pro. When I play back the video during editing, the audio and video appears out of sync by about five seconds.
    Like I said, I don't record my gameplay and audio separately like some other people, so it can't possibly be an editing mistake. I've tried dozens of different editing software's (all free crappy ones) and everything is fine. This issue only occurs with Adobe Premiere Pro. I have installed the latest update of the program and have just recently tried re-installing it as well. Nothing seems to work for me, or for the many, many people who I have seen in random forums all over the net with this same problem. It appears to be an issue that isn't only happening to me.
    Due to this issue, I'm very behind in my YouTube schedule. Apologies if this is rather long, I just want to get what I paid for.
    Thanks for taking the time to read and respond
    ~ Alessio Marin
    =================================================
    Title edited by moderator to make it descriptive of the problem.

    Premiere cannot handle clips with variable framerate.
    Your converted clips need to have constant framerate.
    Otherwise use a converter like Handbrake.

  • 13" macbook pro retina 2013 problem: blank screen when waking up from standby

    I bought a 13" macbook pro retina 2013 about 3 months ago and it is for about a week or two that I encountered a problem: when I close the lid and open it after a while(or it goes to standby by not using it for some time and then I wake it up by pressing a button), sometimes it shows a blank dark screen(with mouse cursor) for about 15 seconds and then either the screen is turned off(and by pressing a key it shows the login screen) or it shows the normal login screen.

    I also have this problem, and now the
    NVIDIA GeForce GT 650M is not working at all
    I use gfxCardStatus for work on integrated card and i can't use other displays obviously, because all video outputs (HDMI & Thunderbolt) are taking their ways from discrete card (but working on other displays is my profession of audiovisual artist). My world guarranty is over now, new motherboard costs near 1500 $ and now i don't want what to do.Maybe reballing of videochip will help me, but i'm afraid that not autorised service in my country will kill my motherboard at all. This is my first mac & i have lost many time for take the money for buyng it. I have so much frustration.

  • Calling Excel from reports

    Dear all,
    From the report runtime preview is it possible to export the data displayed to excel thru OLE2 or any other method.
    Is it at all feasible..the how..
    Using reports 6i
    pl. email also to [email protected]
    regards,

    Hi ,
    try with generate file to delimited.
    So that you can get .csv file.
    --Basava.S                                                                                                                                                                                   

Maybe you are looking for