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

Calling a Subscreen from Selection Screen

0 Likes
1,559

Hi All,

How to call a subscreen from a selection screen, I know how it can be called using TABBED block but i dont require the TABBED thing here.

Thanks,

Santosh

6 REPLIES 6
Read only

Former Member
0 Likes
876

hi santosh ,

it is not possible to call a sub screen directly. to call a sub screen you have need a screen first.

then it can be easy.for you.

Read only

Former Member
0 Likes
876
Read only

Former Member
0 Likes
876

Hi,

Check this demo program

DEMO_SEL_SCREEN_AS_SUBSCREEN

Regards,

Jyothi CH.

Read only

Former Member
0 Likes
876

hi

in the program define like

in se38

Selection-screen : begin of screen 0110 as subscreen.

select-options :s_matnr for mara-matnr.

selection-screen : end of screen 0110.

start-of-selection.

call screen 8000.

in se51

enter the program name and screen no 8000 and click on layout

select the subscreen icon and drag and drop it on layout ,name it (eg : sub1)

PBO

Module_status_8000.

call subscreen sub1 including sy-repid '0110'.

PAI

Module_user_command_8000.

Regards

Read only

0 Likes
876

Hi All,

i don't know if you have understood my requirement Correctly,Let me be more specific:

I have created a subscreen (not by selection-screen statement) say some 100.

by using tabbed block i would have called the above subscreen 100 as

SELECTION-SCREEN BEGIN OF TABBED BLOCK ts_prfields FOR 10 LINES.

SELECTION-SCREEN TAB (20) tab_cond USER-COMMAND tab_cond

DEFAULT SCREEN 0100.

SELECTION-SCREEN END OF BLOCK ts_prfields.

but now i don't need this tabbed stuff i just want to display the subscreen 100 using selection-screen statement . is this posible?

Thanks,

Santosh

Read only

0 Likes
876

I had the same question and searched the forum, and my conclusion is : it's NOT possible.

Most useful thread I found is this one :