Skip to Content

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

how to switch two fields with one of them OBLIGATORY

Hi everyone,

i have two radio button on the screen: RD_A and RD_B, while there are two fields corresponding to them: P_A and P_B, P_A is OBLIGATORY.

i want to implment: when i click RD_A, field P_A is enable and field p_B is disable. when i click RD_B, field P_B is enable and field P_A is disable.

i tried using LOOP AT SCREEN ...screen-input = '0' and screen-required = '0' ....MODIFY SCREEN...statements, but it cannot work fine. when i switch from A to B, it always popup error message 'Fill in all required entry fields'.

can anyone help me? thanks in advance!

Former Member

Don't Post Duplicate Threads or Cross posts. Refer the thread which you posted in General forum.

Read the Rules Before Posting Further.

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