Skip to Content
0

Disabling table control field using radio buttons

Mar 23, 2017 at 12:57 PM

14

avatar image
Former Member

Hi Experts,

Actually i am working on module pool
I have : 1 - one normal screen with one input field of customer no, subscreen area,
two radiobutton and display button.


2 - one subscreen with Bank detail of customer in table control format .

when i am pressing display button table control is displayed with customer bank detail in the subscreen area.

My requirement is : when i am selecting second radiobutton the table control field should be disabled and when first radiobutton table control should be enabled.
i have wrtten this code for that requirement below but it is not working. i have written pai of normal screen.

LOOP AT SCREEN.
if screen-GROUP1 = 'GRP'.
If RADIO1 = 'X'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ELSEIF RADIO2 = 'X'.
screen-input = '1'.
ENDIF.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
please tell me .
what is problem in this code .

and where should write this code in main screen pai or in subscreen pbo of bank detail with table control .so i can get required output

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers