cancel
Showing results for 
Search instead for 
Did you mean: 

convert comany code in message mapping

Former Member
0 Kudos

Hi Experts,

I am a newbie in sap pi. I am working on a xml file to rfc scenario. xml file comes from  legacy system which has comapny code 12 or 16.

If the company code is 12, then I need to convert it to sap company code 1000.

If the company code is 16, then I need to convert it to sap company code 1200.

How do I need to achieve this scenario in message mapping. Appreciate if somebody could post the screen shot on how to do this.

Appreciate your help.

Thanks,

Nani

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Nani,

For this you need to create Value mapping, in case value are frequently changing & list is big in size.

Other wise you can go for Fixed mapping.

Regards,

Ashish

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

As Ashish mentioned this can be achived by uisng Fix value mapping or Value mapping.

http://www.riyaz.net/sap/xipi-value-mapping-using-graphical-editor/382/

Former Member
0 Kudos

Thanks Ashish and Sekhar. Problem is solved. Appreciate a lot. Points rewarded.