Application Development 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: 

Module Pool - Subscreens and Position

amol_kendre
Explorer
0 Kudos

Dear All,

I have a screen with multiple sub-screens on it.

Suppose

it is like main- main_screen

subscreens -- Sub 1 Sub2 Sub3

the layout is

Sub1

Sub2

Sub3

Only one screen can fit in main_screen at a time for display in window.

I want sub2 to be displayed as default.

( with sub1 scrolled up.)

2 REPLIES 2

Former Member
0 Kudos

you can default the number while declaring as below:


DATA: NUMBER(3) TYPE N VALUE 'sub2'.


So when the subscreen will be called in the PBO of the main screen, it will call the sub2 subscreen.

PROCESS BEFORE OUTPUT.

MODULE STATUS_0100.

CALL SUBSCREEN AREA INCLUDING SY-REPID NUMBER.

0 Kudos

I need to call all the three subscreens and show sub2 by default.

with sub1 scrolled up