cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping problem.

Former Member
0 Kudos

Hi experts,

I am working on a scenario, where we need to replace one value of XML file with the value exists in a text file on the server.

For example : the xml is like :

<?xml version="1.0" encoding="UTF-8"?>

<ns0:sender_test no="1" name="test" xmlns:ns0="urn:
test.com"/>

I need to change the value of "test" with "ABCD". The value of ABCD is maintained in one text file against test. I need to use that text file during Mapping.

How it is possible ?

Please help .

Regards,

Study SAP

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can maintain these values in a table at R/3 side or in Xi itself and use RFC lookup using this Blog

/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups

Regards

Seshagiri

former_member859847
Active Contributor
0 Kudos

Hi,

If you have limited number of code conversions,

it's better to go for Valu mapping concept.

otherwise, you have develope a java maaping pgm

to do conversion dynamically via test file.

regarding valu mapping, please check the below blogs.

/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt

/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication

/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions

/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool

warm regards

mahesh.