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

Dump when selecting Program Variant

Former Member
0 Likes
1,889

Hi,

I had a report which had 2 radio buttons in the selection screen.

1.Material Name

2.Material Number

Now I had added another radio button like shown below.

1.Ship Date

2.Material Name

3.Material Number

Now when I go to the report and select the variants created when there were 2 radio buttons the program is going to for a dump with the reaon " Two Radio buttons are active".

Is there anyway I can select the old variants without going for a dump.

The control doesnt go into the program at all. As soon as I doubl-click on the selection screen variant the dump occurs.

Please advise.

7 REPLIES 7
Read only

Former Member
0 Likes
1,117

Hi Adarsh,

Save the variant with same name now ie, with three radio butons, and then select once again, you may not get dump then.

(OR)

reason might be, there are two radio buttons active in the same group.

Regards,

Sujatha

Read only

Former Member
0 Likes
1,117

Shot in the dark.

Can you amend your program so none of the radio buttons are defaulted? Then try to retrieve the variant?

Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,117

can you debug and see where exactly it is going to dump?

use "/h" and try run the program with variant.

Read only

Former Member
0 Likes
1,117

Hi,

I wrote a sample program just like what you described and i dint get any dump when selecting the old variant. I dont think the dump is due to the addition of a new radio button. can you post the total dump description?

Read only

Former Member
0 Likes
1,117

Hi,

i Think it could be because you might have added the new radio button as default so when you are selecting the old variants which have some other radio buttom does not have inof about your third radio button to be blank so since two radio buttons would be selected and you would get a dump try to default one of the old radio buttons and then try.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,117

run the variant conversion from SE38 input the ABAP name and click on Variants - then choose display.

On the next screen enter on the menu bar choose variants -> adjust. This may be needed when selection screens data is changed.

Read only

0 Likes
1,117

Thanks a lot Cheryl. You just solved my problem too.