on 07-21-2014 5:42 AM
I have two radio button and a text box in classical report .
Ex: - Radio Buttons are Name and Number
If I select number it must display number, if I select Name it must display text and validate according to value in text field .
IS there any easy way .??
Hi nandish try this one and changes according to your requirement
REPORT zdemo_loopat NO STANDARD PAGE HEADING.
*1 prgm
PARAMETERS: name TYPE c RADIOBUTTON GROUP a MODIF ID 001 DEFAULT 'X'
USER-COMMAND uc01,
number TYPE c RADIOBUTTON GROUP a MODIF ID 002.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 EQ '001'.
IF name EQ 'X'.
screen-active = '1'.
ELSEIF number eq 'X'.
screen-active = '0'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
If answer is helpfull point me.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nandish,
Add the Code at 'AT SELECTION-SCREEN OUTPUT'.
Regards,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nadish,
you can use this logic..
AT SELECTION-SCREEN ON RADIOBUTTON GROUP GROUPNAME.
CASE 'X'.
WHEN RADIO1.
LOGIC TO DISPLAY NUMBER.
WHEN RADIO2.
LOGIC TO DISPLAY TEXT.
ENDCASE.
Regards,
Shashikanth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.