2010 Aug 09 8:56 AM
Could anyone please tell me how to enable the disabled selection screen block(disabled using screen-active = '0').The block was deactivated when the first selection screen was checked.
Now,I need to enable it again during my second checkbox selection.
2010 Aug 09 8:58 AM
Small correction : The block was disabled when the first checkbox was selected.
2010 Aug 09 9:00 AM
Hi for the second check box
give screen-active = 1.
In the screen loop.
Regards,
Pravin
2010 Aug 09 9:56 AM
Hi Pravin,
screen-active = '1' is set. My code isnt working inspite of that. Thanks for ur reply
2010 Aug 09 10:04 AM
Hi,
Kindly show how you built your selection-screens.
thanks,
2010 Aug 09 9:45 AM
Assign a MODIF ID to the screen block and code as below:
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'ABC' AND CHECKBOX2 IS NOT INITIAL. "ABC IS MODIF ID
SCREEN-ACTIVE = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2010 Aug 09 10:03 AM
Hi Amit,
I ve coded the same way ! Still no luck . Thanks for ur response
2010 Aug 09 10:41 AM
Hi shweta
let assunme you have 2 check boxex CHB1 and CHB2.
MODULE modify_screen OUTPUT. " create a module in PBO.
if chb1 = 'x'.
loop at screen.
if screen-group1 = 'ABC'. " group id assgned to
screen-active = 0. " disabling your screen
modify screen.
endif.
endloop.
elseif.
chb2 = 'X'.
loop at screen.
if screen-group1 = 'ABC' AND screen-active = 0.
screen-active = 1.
modify screen.
endif.
endloop.
endif.
Try this I hope it will work for you.
thanks
Lalit Gupta
2010 Aug 09 11:12 AM
Did u solve the issue?
If not paste your code here so that will be easy to idetify the issue.
Regards,
Pravin
2010 Aug 09 11:37 AM
Hi Pravin/Lalit,
Thanks for ur help. My issue got solved.
Regards,
Shweta.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |