Skip to Content
avatar image
Former Member

How to create dynamic variant through report using FM RS_VARIANT_ATTR_SAVE ?

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 24, 2017 at 09:08 AM


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

    Best regards


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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 ?