Skip to Content

Mapping between XML

Hi all,

I would like to use a tool to make a mapping between two XML files

(this tool has to be accessible from SAP Basis system R/3 - ABAP)

The structure of the first one could change (Client structure)

The second xml file is the target one, his structure is known

The idea is to map element by element or attributes by attributes and

if needed to indicate which conversion's function to use

very simple example :

xml source:






and with this wonderfull mapping tool the result could be depending on rules set :




<INTER:full_price>12 , 50 ?</INTER:full_price>


do you know kind of similar tool ?

thanks for your answer

best regards,


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 15, 2003 at 06:48 PM

    Hi Emmanuel,

    This sounds like a job for XSLT.

    The xml source: (I added additional info to make it valid.)

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





    The XSL program/template:

    <?xml version="1.0" ?>"


    <xsl:template match="CLIENT:*">">


    <xsl:value-of select="//CLIENT:title"/>



    <xsl:value-of select="//CLIENT:description"/>



    <xsl:value-of select="//CLIENT:price"/>





    The result XML:

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





    Please note that this is only an example of 1 way to do it in XSL.

    Please reference XSLT manuals for additional features.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Bill,

      ok, thanks for your example 😊

      in fact it is one of possible solution

      But this solution is not easy for a client to change or to add an element

      Also, as I wrote from my first post, I need some conversion (12.5 -> 12,50 ?)

      or I need to call some function modules to add for example some runtime data or new data

      I would like in fact to find a SAP tool to do this mapping user friendly.

      I know already XSLT program but I search another solution to do a mapping

      between 2 xml using a kind of UI or anything else



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.