Skip to Content
author's profile photo Former Member
Former Member

Selection screen on screen.

Hi all, I want to create two screens, one for selecting data, another for outputing data in table control. But I don't know how to do it, I can't create selection screen on the screen. Would you pls tell me how should I do?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Sep 10, 2007 at 09:08 AM

    Hi

    You cannot have Table control in Selection Screen. So proceed like this

    Create the First Screen as Selection Screen.

    Create the Second Screen as Norma Screen (Tcode SE51). Eg: 100

    AT SELECTION-SCREEN.

    call SCREEN 100.

    <b>reward if helpful.</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 09:35 AM

    Hi,

    u can do that in a report program using field catalogs

    and call the FM 'reuse_alv_grid_display'

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      To create a selection screen in module pool program code as under:

      MODULE STATUS_0118 OUTPUT.

      *SET PF-STATUS 'xxxxxxxx'.

      *SET TITLEBAR 'xxx'.

      SELECTION-SCREEN BEGIN OF SCREEN 0118 AS SUBSCREEN.

      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

      SELECT-OPTIONS : S_QMNUM FOR VIQMEL-QMNUM.

      SELECTION-SCREEN END OF BLOCK b1.

      SELECTION-SCREEN END OF SCREEN 0118.

      ENDMODULE.

      Hope this helps.

      Reward if helpful.

      Regards,

      Sipra

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 09:10 AM

    hi yu huali,

    U can develop module pool program for that.

    There u can use seletion screen for selection of data and then call another screen for output data on screen.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      &----


      *& Report ZSCREEN13 *

      *& *

      &----


      *& *

      *& *

      &----


      REPORT ZSCREEN13 .

      SELECTION-SCREEN BEGIN OF BLOCK b1.

      parameters P1 like lfa1-lifnr.

      SELECTION-SCREEN END OF BLOCK b1.

      call screen 100.

      refere this Program just copy it and past. Double click on screen no. and create screen.

  • author's profile photo Former Member
    Former Member
    Posted on Sep 10, 2007 at 12:32 PM

    Hi There,

    Solution is very easy.

    First of all design the selection screen in abap statement

    SELECTION-SCREEN BEGIN OF SCREEN dynnr AS SUBSCREEN 
                                            [NO INTERVALS] 
                                            [NESTING LEVEL n]. 
      ... 
      SELECTION-SCREEN END OF SCREEN dynnr.

    Then define the dynpro and in this dynpro create a subscreen area...

    Finally in the PBO of the dynpro call the subscreen

    CALL SUBSCREEN sub_area INCLUDING prog dynnr.

    can replace prog and dynnr by sy-repid and sy-dynnr.

    Thank you for the reward

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      If it did help thanks for the reward!

      > Hi There,

      >

      > Solution is very easy.

      >

      > First of all design the selection screen in abap

      > statement

      >

      >

      SELECTION-SCREEN BEGIN OF SCREEN dynnr AS
      > SUBSCREEN 
      > [NO
      > INTERVALS] 
      > [NESTING
      > LEVEL n]. 
      >   ... 
      > SELECTION-SCREEN END OF SCREEN dynnr.

      >

      > Then define the dynpro and in this dynpro create a

      > subscreen area...

      >

      >

      > Finally in the PBO of the dynpro call the subscreen

      >

      CALL SUBSCREEN sub_area INCLUDING prog
      > dynnr.

      >

      > can replace prog and dynnr by sy-repid and sy-dynnr.

      >

      >

      >

      > Thank you for the reward

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.