10-02-2011 9:31 AM
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
10-02-2011 1:36 PM
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.
10-03-2011 11:05 AM
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
10-03-2011 9:46 PM
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