Skip to Content
0
Former Member
Jul 08, 2009 at 07:44 AM

disable one radiobutton when the other radiobutton is checked

42 Views

hi

i have the following selection screen

SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME TITLE text-001 .

PARAMETERS : p_qlt TYPE c RADIOBUTTON GROUP g1 USER-COMMAND ucom DEFAULT 'X' .

PARAMETERS:

p_sysnam TYPE tmssysnam MODIF ID m1. "system

SELECTION-SCREEN SKIP 2.

PARAMETERS : p_sys TYPE c RADIOBUTTON GROUP g1 . "MODIF ID r1

SELECT-OPTIONS: s_date FOR e070-as4date MODIF ID m2. "date

SELECTION-SCREEN END OF BLOCK block2.

when p_qlt is checked, p_sys and s_date should be grayed out.

when p_sys is checked, p_qlt and p_sysnam should be greyed.

Im trying to achieve this reqiurement, the problem is that both checkboxes are being greyed out when im trying to grey out only one because they belong to the same radiogroup.

Are the requirements above possible?