Skip to Content
avatar image
Former Member

Module Pool - Subscreens and Position

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.)

Subscreen1.png (44.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 06, 2015 at 06:40 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded