2011 Feb 21 10:15 AM
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
2011 Feb 21 10:29 AM
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
2011 Feb 21 12:38 PM
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.
2011 Feb 21 4:50 PM
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
2011 Feb 22 9:12 AM
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
2011 Feb 22 9:29 AM
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
2011 Feb 22 9:56 AM
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.
2011 Mar 09 11:09 AM
Hello All,
This issue is resolved now.
Thank you for all your support.
Regards,
Reshma
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |