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: 

How to create dynamic variant through report using FM RS_VARIANT_ATTR_SAVE ?

Former Member
0 Kudos

hello all,

I want to create dynamic variants mostly for date through incoming excel sheet for existing variants. Now problem is i am able to update the variants with required dynamic dates using FM RS_VARIANT_FETCH and RS_VARIANT_ATTR_SAVE but my other values in selection screen are getting replaced with blank.

Any way i can achieve both ie update dynamic date values and keep existing values also.

Thanks all for help.

2 REPLIES 2

bertrand_delvallee
Active Participant
0 Kudos

Hello,

You should try to use RS_VARIANT_COPY and/or RS_VARIANT_VALUE_SAVE before changing dynamic data.

Best regards

Bertrand

0 Kudos

thanks for reply,

i am using this mentioned FM RS_VARIANT_VALUE_SAVE, but after this FM runs the already stored values are replaced just by dynamic values.

For example i have a already existing variant that has two fields one email and one dynamic date field,and i already have some data in email field,

now once i update dynamic date value using this above FM the email field gets blank but dynamic date is getting populated .

How to achieve both things at same time ?