Skip to Content
0

AIF " Value mapping variant"

Mar 30 at 04:45 AM

27

avatar image

Dear experts,

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

It looks like mapping of two value mappings.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
David Rittinghaus Apr 03 at 11:23 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you always David!

So when the second Value mapping determined the value, where does the value will be assigned??

Best regards,

Yoko

0

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

0