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: 

Length of sub screen areas

Former Member
0 Kudos

Hi

I have two sub screen areas on a screen on which i am calling 2 different screens which contain data in data control.then there is a button on which i call the empty screen to hide it. it is working fine but i want that as soon as empty screen display the lenght of below screen should increase automatically. reference ME22n tcode

Regards

Ammad

3 REPLIES 3

madhu_vadlamani
Active Contributor
0 Kudos

Hi Ammad,

but i want that as soon as empty screen display the lenght of below screen should increase automatically

can you explain some more.

Regards,

Madhu.

MarcinPciak
Active Contributor
0 Kudos

Ensure that you substitute your top screen with real empty screen. Then, unless on main screen option switch off runtime compression is not checked your top area should compress and bottom one should be moved on former's position. Please note however that this doesn't assure bottom subscreen to be strechted across both subscreen areas. You can only increase length of your bottom subscreen content which will result in streching its size.

Regards

Marcin

Sandra_Rossi
Active Contributor
0 Kudos

Hi,

there's a new notion in 7.02 with "splitter controls" -> [ABAP documentation: Further Changes in Release 7.0, EhP2 - Splitter control on dynpros|http://help.sap.com/abapdocu_702/en/abennews-710-others.htm ] :

"A Splitter Control allows you to organize two subscreens one above the other or beside each other, and the border between the two subscreen areas can be adjusted."

You'll have to use CL_DYNPRO_SPLITTER class -> [ABAP documentation: Splitter Controls|http://help.sap.com/abapdocu_702/en/abendynp_splitter_control_spcl.htm ]

Example code -> [ABAP documentation: Dynpros, Splitter Control|http://help.sap.com/abapdocu_702/en/abendynpro_splitter_control_abexa.htm ]

Sandra