cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping Issue in SAP XI

Former Member
0 Kudos

Hello All,

We are currently having an issue with our Value Mapping in SAP XI.

We have set up Value Mappings in Integration Builder : Configuration and for some reason, some works and some doesn't work.

For example, we have set up Value Mapping Scheme called "DDelTerm" with two Agencies "R2" and "MarketPlace".

Then we set up a message mapping with DDelTerm Value Mapping function + custom logic to basically convert the value from R2 to value for MarketPlace.

However when we test this Value Mapping, some works and some doesn't work.

The following is the test results from two separate runs.

C000

Input: <YYLIKON>C000</YYLIKON>

Output: <ShipmentTermsIdentifier>COL</ShipmentTermsIdentifier>

Y000

Input: <YYLIKON>Y000</YYLIKON>

Output: <ShipmentTermsIdentifier>00</ShipmentTermsIdentifier>

Can you think of a reason why the lookup of Y000 fails, yet C000 succeeds? We checked for trailing spaces, etc, and there aren't any. And the table has been activated.

Note: the two leading characters of the value returned from the Value Mapping are stripped, hence COL. So for Y000, we were expecting to see PPD.

Is there any configuration step we are missing here?

Thanks in advance for your help,

Jay Ko

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

What was the solution?