Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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...

8 REPLIES 8

former_member1245113
Active Contributor
0 Kudos

HI,

YOu need to group the radio button in the module pool program

since this is not done all the radio button are active which is a Run time exception and leads to Short dump

select all radio buttons in the Menu go to Edit>Grouping>Radiobutton Grouping-->Define and group them optinally you can assign a Function code for this radion button group which will trigger PAI when you select a radion button of this group

Cheerz

Ramchander Rao.K

0 Kudos

Where i select all radio buttons.... in SE51...

0 Kudos

goto screen painter.. and select there..

0 Kudos

In Screen painter, I am not able to select the radio buttons.

Even, it click only on 1st radio button and i am not able to click on other buttons.

0 Kudos

Hi

As this is very simple i thought of refrain to answer this SELECTING RADIO BUTTONS but you seemed to stuck here badly

so i thought of giving you inputs follows

Select means not clicking on the radion buttons

"hold the left mouse button and drag around
"so that all the radio buttons are covered within this left mouse drag area then

select all radio buttons in the Menu go to
" Edit-->Grouping-->Radiobutton Grouping-->Define and group them 
"or
"Simply right click the mouse button and Radiobuttongroup-->Define
 optinally you can assign a Function code for this radion button group 
which will trigger PAI when you select a radion button of this group

Hope with this your thread is answered

Cheerz

Ramchander Rao.K

0 Kudos

In my case, We are using Table control...

I think this problem is coming because of Table Control.. Is it....??

0 Kudos

If it is a table control, you better change the table control settings to 'select single column and single row' this will allow users to select one row and column at a time.

if not, you have to write your own logic of modifying the table control entries. read through the control/internal table and uncheck the ones by storing the current one in dummy field then assign back the currently selected field. To know, what is actually selected, you can use current field and value . read the help.

Former Member
0 Kudos

Hi,

Select the radiobuttons,right click and group them.

Then you wont need this piece of code,and at a time only one of them can be clicked.