Skip to Content

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

Dump during Select the Radion Button - More than one radio button active

Hi,

We have a PO Signatory customized Module Pool Program.

When we select the radio button of TO (Authorized Signatory) and CC (Higher Authority), It will be display of PO Print out.

But some times, when we select the wrong Radio button in TO Column and change to the correct one...at that time it don't clear the first radio button and select the second radio button. .... means now two radio buttons will show in Signatory program and just after it will show a Run Time Error - More than one radio button active (DYNP_TOO_MANY_RADIOBUTTONS_ON).

This is my code, where we select the radio button...(Code is for both TO and CC)

flag = 'X' is for TO

flag1 = 'X' is for CC

**********************************************************************

IF OK_CODE = 'GET'.

    • For Flag = 'X'.*

count = 0.

select * from zmmt_signatory where flag = 'X'.

count = count + 1.

name = zmmt_signatory-zzname.

endselect.

if count > 1.

update zmmt_signatory set flag = ' ' where flag = 'X' and zzname = name .

endif.

    • For Flag1 = 'X'.*

count = 0 .

select * from zmmt_signatory where flag1 = 'X'.

count = count + 1.

name = zmmt_signatory-zzname.

endselect.

if count > 1.

update zmmt_signatory set flag1 = ' ' where flag1 = 'X' and zzname = name .

endif.

**********************************************************************

Please guide...

Former Member

Helpful Answer

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