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

Collapsable Subscreens

lijisusan_mathews
Active Contributor
0 Likes
884

I need to have 2 subscreens in a main screen. but these subscreeens do not always have to be viewed. So i need to have an option to click a button to collapse the subscreen( now only the heading will be displayed and the contents below will be pushed up ) and a button to expand the subscreen( now the subscreen must be displayed). Please help.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
653

There is one example avaliable in the example libarary.

Go to SE38 > Envirnoment > Examples > Ergonomics Examples > Screens.. select Collapsible Area.

Regards,

Naimesh Patel

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
654

There is one example avaliable in the example libarary.

Go to SE38 > Envirnoment > Examples > Ergonomics Examples > Screens.. select Collapsible Area.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
653

Hello,

If you have 2 sub screens in one main screen. Then you create one more sub screen and that is a blank screen. so when do you need to hide the sub screen just call the blank sub screen.

eg:

PBO.

module modify_screen.

call subscreen 'AREA' including sy-repid g_sno.

PAI.

call subscreen g_sno.

-


module modify_screen.

if ok_code eq 'HIDE'. ( User interaction code )

g_sno = 9001. (Blank Sub screen)

else.

g_sno = 9002. (Sub screen).

endif.

endmodule.

This is sample to hide 1 screen.