2008 Aug 08 10:09 AM
Hi abapers,
In my zreport there are 2 radio buttons available, i want to make one radio button in no display mode.
what is syntax for that?
As it is mandatory to have atleast 2 radio button in a radio buton grup, i cannot delete it.
just i want the second radio button in no-displaymode.
please help me.
regards,
Hari priya
Hi abapers,
In my zreport there are 2 radio buttons available, i want to make one radio button in no display mode.
what is syntax for that?
As it is mandatory to have atleast 2 radio button in a radio buton grup, i cannot delete it.
just i want the second radio button in no-displaymode.
please help me.
regards,
Hari priya
2008 Aug 08 10:11 AM
AT SELECTION-SCREEN OUTPUT
Loop at screen.
IF screen-name EQ 'rb1'
screen-input = 1.
endif.
Modify Screen.
Endloop.
HERE rb1 is your name of radiobutton.
rgds
rajesh
Edited by: RAJESH KUMAR on Aug 8, 2008 2:41 PM
2008 Aug 08 10:12 AM
Hi priya,
what is the point to inactive the one of the radio button, for this requirement u can go for checkbox.
thanks..
2008 Aug 08 10:15 AM
Hello.
Check this code.
PARAMETERS: rad1 RADIOBUTTON GROUP vdo DEFAULT 'X',
rad2 RADIOBUTTON GROUP vdo MODIF ID vdo.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CHECK screen-group1 EQ 'VDO'.
screen-active = '0'.
MODIFY screen.
ENDLOOP.
Regards.
Valter OLiveira.
2008 Aug 08 10:20 AM
Hii!
Check this code
REPORT z_sdn.
PARAMETERS:
p_num RADIOBUTTON GROUP rad1 DEFAULT 'X' USER-COMMAND abc MODIF ID abc,
p_char RADIOBUTTON GROUP rad1 MODIF ID xyz.
AT SELECTION-SCREEN OUTPUT.
IF p_num EQ 'X'.
LOOP AT SCREEN.
IF screen-group1 EQ 'ABC'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSE.
LOOP AT SCREEN.
IF screen-group1 EQ 'XYZ'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards
Abhijeet
2008 Aug 08 11:01 AM
Hi abhijit,
Thank you very much for providing the logic.
regards,
Hari priya
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |