cancel
Showing results for 
Search instead for 
Did you mean: 

Little Problem during Value Mapping (Function type--Value Mapping)

Former Member
0 Kudos

Hi,Guys!

See the senario below:

In IR I created a value mapping function which points to the value maping scheme defined in ID.Then link the source data with target data using this function.

The value mapping scheme is like below:

Flyer----


London

Creeper----


NewYork

But when trace the XML message, I found that the receiver only get the source value(Flyer) instead of target value(London).

Did I miss some key step?

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks.

Actually, I've found where the problem is but don't why.

When I create value mapping function, at the top of pop window there is an input frame titled with "Value Mapping Context" and its default value is "http://sap.com/xi/XI". Somehow I set this value empty unconsciously and the problem just appear.

So here comes the new question: what does "Value Mapping Context" mean?

Former Member
0 Kudos

Hi,

By default Value mapping context is http://sap.com/xi/XI for those created directly in Directory. So u have to give the context.

Context is something like the source form which Mappings are done.

Note that Value Mappings can also be replicated from external system via Interfaces in XI during Runtime. In such case when u want to differentiate the origin of the Mappings (recognize the external system from which u obtained the mapping), contexts will come handy.

<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm</a>

Blog for Value Mapping Replication

<a href="/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication">/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication</a>

Regards,

Sudharshan

Message was edited by:

Sudharshan Aravamudan

former_member91687
Active Contributor
0 Kudos

Hi,

Value mapping context stores information on the origin of the data.

http://sap.com/xi/XI means that the data is maintained in the Integration directory.

Regards,

Chandra

Former Member
0 Kudos

Hi Kee,

If u get the source value at the output, then it means that the correct value hasn't been looked up for the Source-Target Agency/Scheme.

Check the Source-Target Agency and Scheme in Configuration and in Message Mapping.

Regards,

Sudharshan

former_member91687
Active Contributor
0 Kudos

Hi,

Check with this blog:

<a href="/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool using the Graphical Mapping Tool</a>

Regards,

Chandra