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

Problem with Variants: Multiple Screens in one Function Group

Former Member
0 Likes
510

Hi,

i have 2 screens in one Function Group, so the "Report-name" which has to be used for the Variant save and load FMs like RS_CREATE_VARIANT do not know which screen to use.

I have to build up my Variant by my own, because it is a normal dynpro and not a selection screen. Therefore i fill the table of parameters manually. Now during debugging i see that the FM RS_CREATE_VARIANT takes the report name and gets all possible Parameter Names out of it. In my case it takes all parameters from the other screen. So he does not find any match between my manual table and the parameters table. So he stores an empty variant for all fields of the wrong screen.

Does anybody know how to fix this?

Thanks!

2 REPLIES 2
Read only

Former Member
0 Likes
377

Please show the source code ,how you are excatly calling this FM and also where you have made call screen statements..

Regards,

Mayank

Read only

Former Member
0 Likes
377

Since you are using RS_CREATE_VARIANT do fill all the parameters along with the tables parameter and specify the screen name and kind of screen in the parameter VSCREENS STRUCTURE RSDYNNR.

hope this helps

Rgds,

Mayank