Skip to Content
avatar image
Former Member

AIF " Value mapping variant"

Dear experts,

Does anybody know what does "Value Mapping Variant" do?

It looks like mapping of two value mappings.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Apr 03, 2018 at 11:23 AM

    Hello Yoko,

    If you take a look at the FM /AIF/APPLY_VARIANT_VMAPPING you will get a good idea of what this concept does.

    You could Imagine it to work like a global search and replace that is applied for the given variant.

    Every entry contains 2 value mappings and if you specify it for a variant then every time the first value mapping of an entry would be used it will be replaced by the second value mapping.

    Kind Regards

    David Rittinghaus

    Add comment
    10|10000 characters needed characters exceeded

    • You are welcome :)

      That would be the field in the target structure which the first value mapping was used for.

      Lets say we have a simple interface (IF / Interface_1) with a simple target structure with only one field (Field_1)

      And in the Structure Mapping for this interface we assign a value mapping to this field (VMS / ValueMapping_1)

      If we now create a variant and specify a variant mapping ( VMS / ValueMapping_1 -> VMS / OtherMapping_1 )

      then whenever a message for this variant is processed Field_1 would be filled using VMS / OtherMapping_1

      Kind Regards

      David Rittinghaus