Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Subscreen in a selection screen

Former Member
0 Likes
553

hi,

How to create subscreens in aselection screen and how to access the values entered in sub screen.

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
521

Hello Ronie

Have a look at the SAP online documentation

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bd/79b2370f9cbe68e10000009b38f8cf/content.htm">"Subscreens on Selection Screens"</a>

There you will find an easy example with coding.

Regards

Uwe

hi,

How to create subscreens in aselection screen and how to access the values entered in sub screen.

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
522

Hello Ronie

Have a look at the SAP online documentation

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bd/79b2370f9cbe68e10000009b38f8cf/content.htm">"Subscreens on Selection Screens"</a>

There you will find an easy example with coding.

Regards

Uwe

Read only

Former Member
0 Likes
521

Hi Ronie,

you'll find some info on ABAP docu:


TABLES: SPFLI. 

SELECT-OPTIONS SEL0 FOR SY-TABIX. 
PARAMETERS PAR0(5). 

SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456. 
  SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME TITLE TEXT-BL1 
                                      NO INTERVALS. 
    SELECT-OPTIONS SEL1 FOR SY-SUBRC. 
    PARAMETERS     PAR1 LIKE SPFLI-CARRID. 
    SELECTION-SCREEN COMMENT /10(20) TEXT-COM. 
  SELECTION-SCREEN END OF BLOCK BL1. 
SELECTION-SCREEN END OF SCREEN 123. 

SELECTION-SCREEN ULINE. 

SELECTION-SCREEN BEGIN OF SCREEN 99. 
  SELECTION-SCREEN PUSHBUTTON 15(25) PUBU 
                   USER-COMMAND US01. 
  SELECT-OPTIONS SEL2 FOR SPFLI-CONNID. 
  PARAMETERS     PAR2 TYPE I. 
SELECTION-SCREEN END OF SCREEN 99. 

To access the values, just ask for the names of the parameters you just defined.

I hope it helps. BR,

Alvaro