2007 Jan 02 2:17 PM
How i can hide a radiobutton which is present in Selction Screen
How i can hide a radiobutton which is present in Selction Screen
2007 Jan 02 2:25 PM
REPORT ychatest LINE-SIZE 350.
SELECTION-SCREEN BEGIN OF BLOCK b1 .
PARAMETERS : r1 RADIOBUTTON GROUP rad1,
r2 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-name = 'R2'.
screen-invisible = 1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
2007 Jan 02 2:28 PM
Hi Praveen,
Use LOOP AT SCREEN statamant.
PARAMETERS: P1 RADIOBUTTON GROUP R1,
P2 RADIOBUTTON GROUP R1,
P3 RADIOBUTTON GROUP R1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'P1'.
SCREEN-ACTIVE = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
regards,
keerthi
2007 Jan 02 2:29 PM
Dear Praveen,
Since you're declaring the radiobutton in the Selection Screen.
Please follow the following link inorder to hide :
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba6de35c111d1829f0000e829fbfe/frameset.htm
Regards,
Abir
************************************
Don't forget to award Points *
2007 Jan 02 2:46 PM
HI,
try with this.
data:flag type c value 'X'.
selection-screen begin of block b.
parameters:r1 radiobutton group radi modif id g1,
r2 radiobutton group radi.
selection-screen end of block b.
at selection-screen output.
loop at screen.
if screen-group1 = 'G1'.
if flag = 'X'.
screen-active = 0.
modify screen.
endif.
endif.
endloop.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |