‎2008 Sep 02 2:51 PM
Please help me with the following issue:
I have Selection Screen as subscreen (subscreen no 1010) and I'm calling this in my screen 100. My question is how do I modify the subscreen elements (which is selection screen)?
when I'm using LOOP AT SCREEN and MODIFY SCREEN it is only affecting my main screen 100.
Appriciate your help in advance.
‎2008 Sep 02 2:54 PM
In Your program, use the Event AT SELECTION-SCREEN OUTPUT to be able to use the LOOP AT SCREEN ... MODIFY SCREEN syntax.
Regards,
Naimesh Patel
‎2008 Sep 02 2:53 PM
‎2008 Sep 02 2:55 PM
Ramesh,
it will not allow me to write in subscreen, as it is not possible to modify the Selection screen at the SE51 level, it is controlled by Report level.
‎2008 Sep 02 2:54 PM
In Your program, use the Event AT SELECTION-SCREEN OUTPUT to be able to use the LOOP AT SCREEN ... MODIFY SCREEN syntax.
Regards,
Naimesh Patel
‎2008 Sep 02 2:55 PM
Hello,
You need to do the treatments in the event AT SELECTION-SCREEN.
http://help.sap.com/saphelp_nw04s/helpdata/en/79/34a234d9b511d1950e0000e8353423/frameset.htm
PARAMETERS: test1(10) TYPE c MODIF ID sc1,
test2(10) TYPE c MODIF ID sc2,
test3(10) TYPE c MODIF ID sc1,
test4(10) TYPE c MODIF ID sc2.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-intensified = '1'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
IF screen-group1 = 'SC2'.
screen-intensified = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
Regards.
‎2008 Sep 02 3:03 PM
Naimesh and David,
Thanks for your answer, I could solve it. actually i had written the code AT SELECTION-SCREEN OUTPUT. without LOOP AT SCREEN and MODIFY SCREEN. after adding that piece of code it solved my problem.
thanks a lot for your help.