‎2007 Mar 29 2:14 PM
Hi All,
I am developing a screen program (Main screen - '0100') in which I want to make fields visible at runtime on a subscreen (0200) if user clicks a checkbox field on the same screen(ie. 0200).
Please let me know the procedure for this.
TIA,
Nitin
Message was edited by:
Nitin N Gaikwad
‎2007 Mar 30 4:44 AM
Hi,
You have to use technique calle LOOP AT SCREEN.
Here you can select Group of Screen elements or Individual Screen Element and Make the property of it invisible to visible.
Hope this will help, for further help you can write to me any time on my email or in this post.
Cheers
Darshan
Pl. Reward points for helpful answer, it MOTIVATES
‎2007 Mar 29 2:24 PM
‎2007 Mar 29 2:26 PM
‎2007 Mar 30 4:44 AM
Hi,
You have to use technique calle LOOP AT SCREEN.
Here you can select Group of Screen elements or Individual Screen Element and Make the property of it invisible to visible.
Hope this will help, for further help you can write to me any time on my email or in this post.
Cheers
Darshan
Pl. Reward points for helpful answer, it MOTIVATES
‎2007 Mar 30 11:21 AM
Hi
give a screen group to your screen fields..
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if <give ur checkbox condition>
IF screen-group1 = 'SC1'.
screen-visible = '1'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDIF.
ENDLOOP.
hope it helps..
Award points if it helps
‎2007 Mar 30 1:08 PM
hi,
First go to the attributes of the check box assign it a function code (say <b>chk</b>).
now go to the pai of ur subscreen (in which chk box is there)
in user command write the following code...
ok_code = sy-ucomm.
if ok_code = 'chk'.
loop at screen.
IF screen-group1 = 'gp1'.
screen-visible = '1'.
modify screen.
endif.
endloop.
endif.
declare ok_code as sy-ucomm in top include.
to create screen group
go to the attributes of respective control u want to assign and in group field assign the groupname (say gp1)
do the same with all the controls u want to put in group gp1.
hope it helps.
regards,
gaurav
Please reward points if it helps.
‎2007 Mar 31 12:39 PM
Yes, its possible
Just use the 'MODIFY SCREEN' in the 'LOOP AT SCREEN' statement
This should be done before the screen is displayed, i.e in the AT SELECTION-SCREEN OUTPUT event
Hope this helps u
Reward points if useful
Regards
‎2007 May 16 11:46 AM
‎2007 May 16 11:46 AM
‎2007 May 16 11:46 AM