Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

manipulate 2 checkboxes

hi

i have to display 2 checkboxes on a selection screen, whereby one should be mandatory

and when one is checked, the other is disabled

i did smthing like this but its not working

pls advise

PARAMETERS : p_post AS CHECKBOX USER-COMMAND usr default 'X',

p_park AS CHECKBOX USER-COMMAND usr1.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF p_post = 'X'.

IF screen-name = 'P_PARK'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

IF p_park = 'X'.

IF screen-name = 'P_POST'.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDIF.

ENDLOOP.

Tags:
replied

Why don't you use simple radio buttons, only one can be active at any given time.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question