2009 Aug 29 9:34 AM
Hello All,
I am to modify an enhancement created by one of my previous colleagues. In tcode VA01 , in the additional tab the previous abaper added 3 checkkboxes inside a group box now i am to write a code so that these 3 checkboxes get disabeled. I have set breakpoints and now know which PBO module is getting called but the problem is aftere the execution of my code only two out of the 3 are getting disabeled the third one gets disabeled only if i click on it , which means after the PAI when again the PBO gets called this gets executed. Have checked the Group assingned in the screen painter but cannot make out the problem. Please help. Below is my code.
IF sy-tcode = 'VA01'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'G1' .
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks in advance
Nupur
2009 Aug 29 10:19 AM
hi nupur,
is the third check box which is not getting disabled comes under group G1?
and check one more thing that where exactly you are writing your code. is it inside some other condition or some thing?
Hello All,
I am to modify an enhancement created by one of my previous colleagues. In tcode VA01 , in the additional tab the previous abaper added 3 checkkboxes inside a group box now i am to write a code so that these 3 checkboxes get disabeled. I have set breakpoints and now know which PBO module is getting called but the problem is aftere the execution of my code only two out of the 3 are getting disabeled the third one gets disabeled only if i click on it , which means after the PAI when again the PBO gets called this gets executed. Have checked the Group assingned in the screen painter but cannot make out the problem. Please help. Below is my code.
IF sy-tcode = 'VA01'.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'G1' .
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks in advance
Nupur
2009 Aug 29 9:39 AM
2009 Aug 29 10:19 AM
hi nupur,
is the third check box which is not getting disabled comes under group G1?
and check one more thing that where exactly you are writing your code. is it inside some other condition or some thing?
2009 Aug 29 10:32 AM
Hi,
check if third button is in group G1 and also if there is another loop at screen in the pbo that changes the status.
Regards,
Ivan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |