on 04-08-2008 10:34 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.