Call a Screen from A selection screen report

Hi Friends,
   I developed a report (1. Excecutable) and i am calling a screen say 9000 which is having several subscreens. While i am clicking the BACK button it should come to the same selection screen report. How to do this? We can't use LEAVE SCREEN or LEAVE TO SCREEN 0. Because 9000 screen having the subscreen. If i use LEAVE PROGRAM it won't come to selection screen. Instead it will come out of program.
Please help me.
Thanks and regards
Srikanth. S

hi srikanth,
                We can come from screen to selection screen of the report by using -- "LEAVE TO LIST PROCESSING".
If u need some more info plz check below.
https://www.sdn.sap.com/irj/sdn/forums
https://www.sdn.sap.com/irj/sdn/forums
https://www.sdn.sap.com/irj/sdn/forums
Reward if it is usful,
Thanks,
Srikanth.A

Similar Messages

  • Calling selection screen from another selecton screen.

    Hi guys,
    I want to call default selection screen of one program from default selection screen of another program.
    Is that possible . would appreciate some helpful answers.
    Thanks,
    Venkat.

    it is possiable.
    1.submit
    2. call transcation t_code.
    Syntax
    SUBMIT <prog>.
    For more information about the SUBMIT statement, see Calling Executable Programs (Reports)
    Assume the following simple report:
    REPORT ZDYN3.
    WRITE / 'Dynamic Program!'.
    The following executable program (report) starts, modifies, and restarts ZDYN3:
    REPORT ZMASTER1.
    DATA CODE(72) OCCURS 10.
    DATA LIN TYPE I.
    READ REPORT 'ZDYN3' INTO CODE.
    SUBMIT ZDYN3 AND RETURN.
    DESCRIBE TABLE CODE LINES LIN.
    MODIFY CODE INDEX LIN FROM
    'WRITE / ''Dynamic Program Changed!''.'.
    INSERT REPORT 'ZDYN3' FROM CODE.
    SUBMIT ZDYN3.
    The output of this program is displayed on two subsequent output screens. The first screen displays:
    Dynamic Program!
    The second screen displays:
    Dynamic Program Changed !
    When you use the SUBMIT statement, all modifications made to a program during runtime take immediate effect before they are submitted. In the above example, ZDYN3 is submitted from ZMASTER1 first in its original and then in its modified form, generating different results.
    This is not the case if you change the codes of include programs or subroutines dynamically.
    Assume the following include program:
    INCLUDE ZINCLUD1.
    WRITE / 'Original INCLUDE program!'.
    and an executable program (report) for modifying and including it:
    REPORT ZMASTER2.
    DATA CODE(72) OCCURS 10.
    DATA LIN TYPE I.
    READ REPORT 'ZINCLUD1' INTO CODE.
    DESCRIBE TABLE CODE LINES LIN.
    MODIFY CODE INDEX LIN FROM
                'WRITE / ''Changed INCLUDE program!''.'.
    INSERT REPORT 'ZINCLUD1' FROM CODE.
    INCLUDE ZINCLUD1.
    If you run ZMASTER2, the source code of include program ZINCLUD1 is changed and replaced in the system. However, the last line of ZMASTER2 executes the older version since the runtime object of ZMASTER2 is generated before ZINCLUD1 is modified. Only when ZMASTER2 is run a second time, does the system determine that ZINCLUD1 has been changed. Exactly the same is true if you dynamically modify the source code of a subroutine and call it from within the same program.
    One way to solve this problem is to use the INCLUDE statement within an external subroutine that is called by the program. This allows you to create or modify include programs or subroutines and use the updated versions directly in the same program.
    Assume the following include program:
    INCLUDE ZINCLUD1.
    WRITE / 'Original INCLUDE program!'.
    and an external subroutine:
    PROGRAM ZFORM1.
    FORM SUB1.
         INCLUDE ZINCLUD1.
    ENDFORM.
    The following program reads the include program, modifies it, enters it back into the system, and calls the subroutine.
    REPORT ZMASTER3.
    DATA CODE(72) OCCURS 10.
    READ REPORT 'ZINCLUD1' INTO CODE.
    APPEND 'WRITE / ''Extension of INCLUDE program!''.' TO CODE.
    INSERT REPORT 'ZINCLUD1' FROM CODE.
    PERFORM SUB1(ZFORM1).
    This produces the following output:
    Original INCLUDE program!
    Extension of INCLUDE program!
    In this case, the updated version of the include program is used in the subroutine because its time stamp is checked when the subroutine is called, and not when the calling program is generated.

  • Calling Adobe Interactive Form from a selection screen

    Hi,
    I have to design an interactive adobe form online scenario,it goes like this :
    A certain tcode will call a selection screen when we enter values in the selection screen it will open an adobe form,which will have a submit button,on clicking the button data gets saved in a z table.
    I will be designing  the form in Web Dynpro,is it possible to call such a form through a selection screen?? Can someone please provide some idea on how to implement the above scenario.
    Thanks !!

    Hello,
    for the online scenario you need a communication partner for the form. In WD, you have a partner to exchange the data with. But from a selection screen... who would be your partner? You can of course display a form, a PDF file, a new one (generated) or a uploaded/ stored one, you can even edit the fields, but you don´t have any partner to send the data to.
    To cut this... you need a webservice if you want to exchange some data immediately (online scenario).
    Regards Otto

  • Choosing a directory from the selection-screen

    Hi,
    regarding: select-options
    There is a function module to choose a file (on value request F4) from the harddisc =>KD_GET_FILENAME_ON_F4
    I want the user to choose his path(folder) from the selection screen.
    Is there any function module to choose only the <b>directory(path) not the file</b>?
    Thanks and Regards.

    Hi Ashok,
    You can alternatively do the following. Call the method of class CL_GUI_FRONTEND_SERVICES as follows.
    Call Method CL_GUI_FRONTEND_SERVICES-->DIRECTORY_BROWSE
         Exporting
          WINDOW_TITLE    =
          INITIAL_FOLDER  =
          SELECTED_FOLDER =
    Hope this helps.
    Please reward some points if it helps you.
    Regards,
    Amit M. Mishra

  • Issue In Providing 255 Charcters From The Selection Screen Select-Option

    Dear Guru,
    I am searching for table field with having length = 255 character.
    which i want to use in select-option for proving data from the selection screen.
    I have found the table myhlp and it associated field allvals which is having length = 255.
    I am using it as below in my selection screen for the value to be provided 255 character long.
    SELECTION-SCREEN : BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
    SELECT-OPTIONS   : s_mlbody FOR myhlp-allvals  NO INTERVALS.
    SELECTION-SCREEN : END OF BLOCK b3.
    Now when i am going for the multiple selection option --> It is providing me the Multiple selection popup and giving me the provision of provide multiple line .
    But the issue is that --> For a particular single value line in the popup i am able to enter only 45 charcters not 255 character.
    But i need to put 255 charcter for particular line in a single value..
    Please give me some guideline how resolve this or any other alternative way of reading the 255 charcter from the selection screen
    Thanks & regards
    Saifur Rahaman

    Hi,
         As said by A@s selction screen with table control will be a good option.
    design a custom screen with SUBSCREEN as screeen attribute using tcode se51.
    For table control sample - go through Tcode ABAPDOCU - abap user dialogs-screens-complex screen- table control
    Try Following,
    REPORT Zsample .
    controls: tc type tableview using screen 200.
    parameters: p_user type myhlp-username.
    data: begin of itab occurs 50,
          field1(255) type c,
          end of itab.
    data: i_out type standard table of myhlp.
    SELECTION-SCREEN BEGIN OF TABBED BLOCK MAX FOR 22 LINES.
    SELECTION-SCREEN TAB (25) TABS1 USER-COMMAND UCOMM1
             DEFAULT SCREEN 200.
    SELECTION-SCREEN END OF BLOCK MAX.
    start-of-selection.
    select * from myhlp into table i_out for all entries in itab
              where username eq p_user
                    and allvals = itab-field1.
    MODULE READ_ITAB INPUT.
    insert itab index tc-current_line.
    ENDMODULE.                 " READ_ITAB  INPUT

  • Retrieve input values from the selection screen

    I have a requirement to retrieve the variable value or values inputed from the selection screen and label the worksheet tab to replace the tab name 'Sheet1' from the Excel. The only way to do this would be to write a macro to label the sheets but how would I retrieve the value(s) from the selection screen criteria? Is the value of the selection screen entered by the user stored in some table? How would I write the macro to retrieve this value?
    For example, I want to retrieve the company code entered from the selection screen and lets say the company code entered as 10; I would want to replace the worksheet from 'Sheet1' to '10' . Texts would be more recognizable.

    Use the option Layout->Display Text Elements->Variables from the BEx toolbar. This will display Variable screen user input on your workbook in a fixed location. Then you can use your macro to name the worksheet with the cell reference.
    Thanks
    Vineet

  • How to Remove the underline from the selection screen parameter

    How to remove the underline from a selection screen parameter ?

    >
    Anoop Menon wrote:
    > hi Avinash,
    >
    > I am not able to understand the use of the 'comment line properly.
    >
    > The last part of the statement which says modif id is confusing.
    >
    > Please clarify..... I am unable to activate my code when I put the selection screen commebnt statement.
    Use this and update it to your requierement !
    SELECTION-SCREEN begin of line.
    SELECTION-SCREEN COMMENT 1(30) comm.
    PARAMETERS test(1) type c.
      SELECTION-SCREEN end of line.
    INITIALIZATION.
      comm = 'test'.

  • How to replace the existing selection screen with new selection screen

    Hi,
    I have first selection screen with parametre as a table name, then I have created dynamic selection screen as 2nd selection screen with different fields of that table as select options. This is done using genaration of dynamic report. Now If I click on button on this 2nd selction screen , then I want to replace this 2nd dynamic selection screen , with the other selection screen fields.
    Can anybody guide me, How to do replace one slection screen with different selection screen.
    and one imp thing is this selction screen is populating with dynamic fields on it.
    Regards,
    Mrunal

    As I can understand you want to make some of the screen field to disable or visible on screen  depending upon the interaction of user with screen 1.
    You may use this example code in PBO of screen 2.
    LOOP AT SCREEN.
        " action has been taken to modify the area office screen as per the option chosen at screen 99.
        CASE ACTION.
            " if the user has taken up the option of UPLOAD
          WHEN 'UP'.     " screen processing while we upload the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'DN'.      " screen processing while we upload the approved plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'AO_UP' OR SCREEN-NAME = 'AO_VE'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
          WHEN 'VW'.      " screen processing while we view the plan
            " during upload we will make dates as output fields only
            IF SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_TO' OR SCREEN-NAME = 'ZSDTPLANVRSIO-DAT_FRM'.
              SCREEN-INPUT = 0.
              MODIFY SCREEN.
            ENDIF.
            " also make 2 buttons disabled
            IF SCREEN-NAME = 'RLGRAP-FILENAME' OR SCREEN-NAME = 'FNAME'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
            " and hide the file input field
            IF SCREEN-NAME = 'AO_DO' OR SCREEN-NAME = 'AO_UP'.
              SCREEN-ACTIVE = 0.
              MODIFY SCREEN.
            ENDIF.
        ENDCASE.
      ENDLOOP.

  • Dynamic selection screen change in Selection Screen.

    Hi Experts,
    I am not getting dynamic screen change on selection screen. can you give solution for the following scenario.
    I have 3 radio buttons on selection screen. Example: R1, R2, R3.
    I have 5 fields on selection screen. Example : F1, F2, F3, F4, F5.
    When i select radio button 1 i will get F1 field screen only.
    When i select radio button 2 or 3 i will get F2 and F3 fields screen only.
    When i select radio button 3 i will get F4 and F5 fields screen only.
    Any one give me solution for the above scenario very much thankful.
    Thanks in advance,
    Sai

    Hi
    try this code,
    REPORT ZTEST_3RB.
    TABLES : KNA1,EKKO,VBRK.
    PARAMETERS : SALES RADIOBUTTON GROUP VIJJ USER-COMMAND VJY ,
    PUR RADIOBUTTON GROUP VIJJ ,
    BILL RADIOBUTTON GROUP VIJJ ,
    TOTAL AS CHECKBOX.
    SELECT-OPTIONS : S_CUSTNO FOR KNA1-KUNNR MODIF ID AKP DEFAULT 1000 TO 1033,
    S_PONO FOR EKKO-EBELN MODIF ID VKP,
    S_BNO FOR VBRK-VBELN MODIF ID PKP.
    INITIALIZATION.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SALES = 'X'.
    IF SCREEN-GROUP1 = 'VKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'PKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ELSEIF PUR = 'X'.
    IF SCREEN-GROUP1 = 'PKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'AKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ELSEIF BILL = 'X'.
    IF SCREEN-GROUP1 = 'AKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    IF SCREEN-GROUP1 = 'VKP'.
    SCREEN-INPUT = 0.
    SCREEN-ACTIVE = 0.
    MODIFY SCREEN.
    ENDIF.
    ENDIF.
    ENDLOOP.
    i think this will help your problem,
    Regards,
    Vijay

  • Is there a Siri command to get to the home screen from the lock screen?

    Here is the situation - an elderly friend of mine (94 years old) was in a panic because there were text messages on the lock screen and try as he might he could not "slide to open."
    He has no passcode set.
    Anyway, I had him try this and it worked:
    1. Use Siri to "open calendar."
    2. After it opened, press the Home button to get to the home screen.
    That way he was able to get in.
    Is there a Siri command to go directly to the Home Screen from the lock screen? I tried various things I could think of, but couldn't figure out anything that worked.
    What would be best is being able to bypass the lock screen altogether. I have another elderly friend who is blind and it is a source of constant confusion for him.
    As for voiceover - he is finding it impossible to figure out. I can see, and I am also finding it impossible to figure out. We tried to use it to get into the TED app and select, play and stop videos and all sorts of weird UI elements starting popping up and it was frustrating him so we turned voiceover off. But that's for another discussion thread.
    In the meantime, is there an easy way to get home if somebody is having trouble sliding?
    Thanks,
    doug

    Doug Lerner2 wrote:
    I think the more "assistive" features are turned on the harder it is for both my sighted and blind friend to use.
    Yes, that can sometimes be true.
    Unless your older but sighted friend has difficulty with fine motor movements, I suspect that the slide to open is a matter of practice. If you can convice your friend that they are capable of learning it and get them to work with it a bit that might help. I've found that older learners can become frustrated very quickly with technology. They either have themselves convinced they can't learn technolgy or that get annoyed because iPhones are supposed to be "intuative". The challenge is getting them to feel okay about being a beginner at something.
    You're a good friend to take on this teaching task.
    Best of luck.

  • Difference between At selection-screen  and At selection-screen field

    I need to know the difference between
    Difference between At selection-screen  and At selection-screen field
    Regards
    Shashi

    Hi,
    AT SELECTION-SCREEN is the event triggered in the PAI of the selection screen.
    AT SELECTION-SCREEN on field field_name is the event specific to the field and is triggered when u press enter in that field.
    AT SELECTION-SCREEN selscreen_event.
    Effect
    This statement defines event blocks for different events selscreen_event that are triggered by the ABAP runtime environment during selection screen processing.
    Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program.
    AT SELECTION-SCREEN is triggered at least twice during actions on selection screens that are linked into another selection screen as a subscreen - first for the linked selection screen itself, and then for the linking selection screens.
    SELECTION-SCREEN FIELD SELECTION
    FOR {NODE|TABLE} node [ID id].
    Effect
    This statement defines a node node in the structure of the logical database for field selection. If a node belongs to type T, you can use the TABLE addition instead of NODE. The statement cannot be used for type C nodes. .
    If a node is defined for field selection, you can use an executable program linked to the logical database in the GET statement to control which fields in the node are to be read by the logical database. If you use the function module LDB_PROCESS, the FIELD_SELECTION parameter must be specified accordingly.
    for more details check this link...
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
    Regards,
    Priyanka.

  • Calling a BSP from a BW web report RRI

    Hi,
    I am calling a BSP from a BW Web Report to Report Interface and during the call all users have to authenticate themselves.   It is not an option to turn authentication off for audit purposes but is there any way of performing automatic authentication?
    Both the web report and BSP are on the same BW instance.
    Any help would be greatly appreciated.
    Regards
    Paul.

    Just activate SSO2 for your application servers. Some time ago there was a good <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/ com.sapportals.km.docs/documents/a1-8-4/SSO%20Overview.pdf">article</a> on this here on SDN. Keep in mind that browser must accept cookies.

  • Subscreen with Select-Options called from At Selection Screen event

    Dear friends,
    I'm trying to call a subscreen that contains a select-options, from an 'at selection screen' event, in a report program, but without sucess.
    Here's go what I'm doing:
    I declared a selection-screen as subscreen in my main program, and I'm calling it from a module-pool subscreen area, to make the module-pool select-options magic.
    In my main report program, I have a customized status GUI with a new toolbar button and I'm handling it at the 'at selection screen' event.
    What I need to do is to call the subscreen that contains the select-options when this new customized button get pressed, but when It happens, the select-option selections pop-up doesn't appear.
    If I call the subscreen from the 'start-of-selection' event, it goes fine, just don't work from the 'at selection screen'.
    Any ideas on how can I do it?
    Thank you,
    Heber

    i think you should try something like this:
    at selection screen.
    if condition handled ....
      show_popup = 'X'.
    endif.
    at selection screen output.
    if show_popup EQ 'X.
    call subscreen
    endif.

  • Passing the values from one selection screen to another report

    Hi all,
    This is my requirement...
    I need to hav a selection screen with various input parameter along with 3 radio buttons...
    If i enter the values and select say first radiobutton the corresponding called program needs to be executed .
    NOTE :
    1)The called program selection screen needs to be skipped
    2) the values entered in the calling program needs to be passed to the called program and the output of the called program needs to be displayed.
    3)the selection screen is the same for both calling and called program
    Can anyone plz help in this regard?
    Regards,
    Gowri Shankar

    Hi...
    Use the statement
    <b>SUBMIT zps_called_report WITH SELECTION-TABLE seltab.</b>
    see the following link....
    <b>http://help.sap.com/saphelp_nw04s/helpdata/en/9f/dba51a35c111d1829f0000e829fbfe/frameset.htm</b>
    Hope it helps you...
    Let me know if u have any more doubt...
    Reward points if useful......
    Suresh.......

  • How to get rid of the loop in ALV output from At selection screen event?

    I have several push buttons on a selection screen.
    Clikc on a button, then it pops up an editable ALV report. (This gets triggered AT SELECTION SCREEN event.). REUSE_ALV_GRID_DISPLAY_LVC..
    On the ALV output, I enabled F4 for a couple of fields. Once I click on the F4 button, ONF4 method gets triggerd and a pop up appears with custom search helps.
    choose a line and it fills the cell.
    Upto this it works fine.
    Now I click on the BACK button at the ALV output, it takes me to the selection screen. I click on the button again, it show the editable ALV. Now when I click on the F4 button, the pop up comes up twice and the cell gets filled from the second pop - up.
    How to control this?
    Probably I am not refreshing something?
    (I am using REUSE_ALV_GRID_DISPLAY_LVC and tooks ome code for ONF4 event from BCALV_*DATATYPES (forgot the exact name) program.)
    Thanks,
    Ven

    Hi,
    FORM refresh_grid USING  pw_grid TYPE REF TO cl_gui_alv_grid.
    *Work area
      DATA : wal_stable TYPE lvc_s_stbl.
      CHECK NOT pw_grid IS INITIAL.
      wal_stable-col = c_check.
      wal_stable-row = c_check.
    *Method to refresh grid
      CALL METHOD  pw_grid->refresh_table_display
           EXPORTING
             is_stable      = wal_stable
             i_soft_refresh = c_check
           EXCEPTIONS
             finished       = 1
             OTHERS         = 2.
    ENDFORM.                    " refresh_grid
    Thanks,
    Sree.

Maybe you are looking for

  • How can we pass selected combo box value to a jsp pag?

    Hi All, I want to pass selected combo box value to a same jsp page's variable. i am using javascript <select onchange="this.options[this.selectedIndex].text"> </select> this selected value should be invoked for a jsp page's variable. Excepting for fa

  • REPORTS 6

    IN REPORTS 6 A NEW FEATURE(PROPERTIES) IS ADDED IN THE HEADER, TRAILER. DUE TO THIS WE ARE UNABLE TO TAKE LANDSCAPE PRINTOUT. BY DEFAULT IT IS IN PORTRAIT MODE. WHAT TO DO. SUGGEST ME WITH UR VIEWS. ONLY BY CHANGING IT MANUALLY WE R ABLE TO TAKE LAND

  • OVM Manager 3.2.1 fail to discover Oracle VM for SPARC 3.0

    tail -f /var/log/ovs-agent.log [2013-03-05 17:06:20 3785] DEBUG (service:76) call start: get_api_version [2013-03-05 17:06:20 3785] DEBUG (service:76) call complete: get_api_version [2013-03-05 17:06:20 3786] DEBUG (service:76) call start: discover_s

  • SOA Siute 11g---bpel,business rules,bam

    Hi Experts, I am new to the SOA suite 11g world, i am attending training in my office. my technical background is java/j2ee . which i need to concentrate and how to master in SOA. please provide me guidance ,related documents/Url links and faq's. Ple

  • G5 boot woes

    My G5 1.8 has frequent boot problems. Occasionally it starts fine, but mostly does one of the following: - chime, then startup hangs - chime, then logo and spinning wheel (keeps spinning) - no chime, just hangs - system starts, then hangs later & req