Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Value Mapping Replication Inbound Structure

Hi All,

I am using Value Mapping Replication to upload Value Mapping Table in runtime cache, to do this first i create value mapping manually in ID with source and target.

Source:Agency : ValCustomerNo_B

Schema : ValB

Value : xxx

Target:Agency : ValCustomerNo_J

Schema : ValJ

Value : yyy

Now try to upload 1800 record in the same value mapping table through Value Mapping Replication. Inbound structure looks like this.

<?xml version="1.0"?>

<ns1:ValueMappingReplication>

<Item>

<Operation>Insert</Operation>

<GroupID>f16372c043bd11dea79f001558c985eb</GroupID>

<Context> http://sap.com/xi/XI</Context>

<Identifier scheme=" ValB" agency="ValCustomerNo_B">3DASDIG</Identifier>

</Item>

<Item>

<Operation>Insert</Operation>

<GroupID>f16372c043bd11dea79f001558c985eb</GroupID>

<Context>http://sap.com/xi/XI</Context>

<Identifier scheme="ValJ" agency="ValCustomerNo_J">1960452622</Identifier>

</Item>

<Item>

<Operation> Insert </Operation>

<GroupID>f16372c043bd11dea79f001558c985eb</GroupID>

<Context>http://sap.com/xi/XI</Context>

<Identifier scheme=" ValB " agency="ValCustomerNo_B">4CAHRJTN</Identifier>

</Item>

<Item>

<Operation>Insert</Operation>

<GroupID>f16372c043bd11dea79f001558c985eb</GroupID>

<Context>http://sap.com/xi/XI</Context>

<Identifier scheme="ValJ" agency=" ValCustomerNo_J">1960457894</Identifier>

</Item>

I do not know is this xml structure is correct for XI adapter to create correct rows in value mapping table or not?

At runtime value mapping function in graphical mapping, for manually create record in Value mapping table is coming correctly where in case VM replication record it always map to one arbitrary number.

Even when I look into runtime cache notification, manually created record comes in pair like..

Agency : ValCustomerNo_B | Schema : ValB | Value : xxx | Group ID | Context

Agency : ValCustomerNo_J | Schema : ValJ | Value : yyy | Group ID | Context

Where as record for VM Replication comes in sequence first all ValB and then ValJ, they are not in pair

Agency : ValCustomerNo_B | Schema : ValB | Value : xxx | Group ID | Context

Agency : ValCustomerNo_B | Schema : ValB | Value : ppp | Group ID | Context

u2026u2026.

Agency : ValCustomerNo_J | Schema : ValJ | Value : yyy | Group ID | Context

Agency : ValCustomerNo_J | Schema : ValJ | Value : aaa | Group ID | Context

I suspect inbound xml structure is not correct for VM replication.

With Regards

Sunil

Edited by: Sunil Pandey on May 18, 2009 7:40 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question