Skip to Content

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

Radio button in dialog program

Hi every one,

I have 2 radio buttons in my screen. I have grouped them. My requirement is that when i select RB1 one input/output field should be enabled and when i select RB2 it should be disabled.

Also when Iam trying to select the other radio button its asking me to fill in all the required fields. but i want other mandatory fields to be filled after selecting the radio button.

Please suggest me a solution.

Thanks in advance,

Sri...

Former Member
Former Member replied

I think now i have the correct picture of your problem.

Everytime you select radiobutton from 2nd group PBO is execute again and the screen table is refreshed.Which enables the disable field.Make the field disable in the 2nd case also.

CASE SY_UCOMM.

WHEN 'F_AT'.

IF R1 = 'X'.

Disable Screen Group

ENDIF.

WHEN 'F_MOP'.

IF R1 = 'X'.
Disable Screen Group                 " Check the radiobutton here also
ENDIF.

IF R3 = 'X.

Process.

ELSEIF R4 = 'X'.

Process.

ENDIF.'

ENDCASE.

Regards,

Gurpreet

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question