Application Development and Automation 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: 
Read only

DYNP_TOO_MANY_RADIOBUTTONS_ON runtime error

Former Member
0 Likes
11,873

Hi experts,

In test environment we are getting the below dump in standard prgm for t.code YJTS

kindly advice any notes .....or fix .

DYNP_TOO_MANY_RADIOBUTTONS_ON runtime error

More than one radio button is active.

In this case, the selection field in question is:

"NONE"

from screen

"SAPLZJTG" 0018 .

Another field (or multiple fields) is/are selected in the corresponding

group of radio buttons.

Application program

"SAPLZJTG"

needs to be corrected so that only one radio button is set in each

group (selected = value 'X'). Fields that are not selected have the

value SPACE.

When we click on the header button (Customer field assignments) and enter contract number,

if we click on any radio button and press enter, we end up on an ABAP Shortdump...

Please help....

Regards

Reshma

Hi experts,

In test environment we are getting the below dump in standard prgm for t.code YJTS

kindly advice any notes .....or fix .

DYNP_TOO_MANY_RADIOBUTTONS_ON runtime error

More than one radio button is active.

In this case, the selection field in question is:

"NONE"

from screen

"SAPLZJTG" 0018 .

Another field (or multiple fields) is/are selected in the corresponding

group of radio buttons.

Application program

"SAPLZJTG"

needs to be corrected so that only one radio button is set in each

group (selected = value 'X'). Fields that are not selected have the

value SPACE.

When we click on the header button (Customer field assignments) and enter contract number,

if we click on any radio button and press enter, we end up on an ABAP Shortdump...

Please help....

Regards

Reshma

7 REPLIES 7
Read only

Former Member
0 Likes
5,460

Probably in your code you set a variable associated with radiobutton to 'X', without clear the other one that was previously set to 'X'.

Look at your code: in a determinated moment you must have only one variable of a radiobutton group set to X, the others must be blank.

Regards

Andrea

Read only

Former Member
0 Likes
5,460

SAPLZJTG indicates customer function group? or is it module pool, I forget... Correct the erroneous code that is attempting to force more than one radiobutton in a group to ON.

Read only

Former Member
0 Likes
5,460

Hi Reshma,

I think in the program during during run time more than 1 radio butoon is assigned as 'X'.

Any radio button which is in a group should contain only 1 default value 'X'. in your case in the same group more than 1 radiobutton is getting default as 'X' which should not happen.

Check it once.

Thanks

Arbind

Read only

0 Likes
5,460

Hello All,

Please see the below code which is causing the error.

MODULE check_invoice_split OUTPUT.
  IF zcust_control-cust1_split EQ space AND
     zcust_control-cust2_split EQ space AND
     zcust_control-cust3_split EQ space AND
     zcust_control-cust4_split EQ space AND
     zcust_control-cust5_split EQ space AND
     zcust_control-cust6_split EQ space AND
     zcust_control-cust7_split EQ space AND
     zcust_control-cust8_split EQ space.
    none = 'X'.
  ENDIF.
ENDMODULE.

As per my understanding there is no Clear statement in the program.

What if i write "Clear none" statement after Endif statement?

Regards,

Reshma

Read only

0 Likes
5,460

Hi,

As said in the earlier post there are more then one radiobutton set .

How many radiobutton do u have ?

Have u assigned the FCODE for the radiobutton ?

And check whether u are setting the radiobutton variable 'X' , if u are setting the radiobutton then set only one radiobutton with X value

And also check in debug that when u press enter then are u setting the multiple radiobutton in ur program.

Regards,

Madhukar Shetty

Read only

0 Likes
5,460

Hi Reshma,

Below code seems to be perfect, there is no problem with that, may be reaching that module dump is getting generated.

It would be better if you kindly keep patience and debug the program and check that from any radiobutton group only one radiobutton is active.

You have to debug as it is clearly understood 2 radiobuttons are getting triggered.

Read only

0 Likes
5,460

Hello All,

This issue is resolved now.

Thank you for all your support.

Regards,

Reshma