Skip to Content
author's profile photo Former Member
Former Member

Mapping - Questions

Hi,

I have few basic questions regarding mappings.

1) I think we can do everything by using Graphical Mapping. Then what is the purpose for Java, XSLT and ABAP mapping? Please give me an example for this...

2) Which mapping will give better performance? Is there any comparison document available in SDN?

Appreciate your help!

Thanks,

Vivek

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:28 AM

    hi,

    Mapping Techniques

    XI provides 3 standard ways of interface mapping between source and target.

    Graphical mapping

    Java Mapping

    XSLT Mapping

    Two more additional mapping types can be activated in XI by making changes to the exchange profile. Those two mappings are

    ABAP mapping

    XSLT mapping with ABAP Extensions

    Graphical Mapping

    Graphical mapping is a common approach followed by everyone for generating desired target structure. It involves simple drag-n-drop to correlate respective nodes (fields) from source and target structure. It hardly involves coding. (Exception - User defined functions). But sometimes with graphical mapping it is difficult to produce required output. For example ... text/html output, namespace change, sorting or grouping of records etc.

    ABAP Mapping

    A person comfortable with Object Oriented ABAP can go for ABAP mapping instead.

    Java Mapping

    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.

    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.

    XSLT Mapping

    One can also think of Java mapping as another option but it is a bit complex and required knowledge of Java. In such cases, XSLT mapping can be the best approach to meet the requirements.

    check these links too..

    Mapping:

    http://help.sap.com/saphelp_nw04/helpdata/en/c8/b78d406b305537e10000000a1550b0/frameset.htm

    For Java Mapping:

    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm

    For XSLT Mapping:

    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm

    Error handling in XSLT Mapping:

    http://help.sap.com/saphelp_nw04/helpdata/en/8a/7672f7d7e444439fd7024f806221a4/frameset.htm

    You can also refer some How to guides:

    XI New Mapping Features article,

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi%203.0%20new%20mapping%20features%20article.evn

    Generic XSLT Mapping and Sample Code,

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi%20code%20samples/generic%20xslt%20mapping%20and%20sample%20code.pdf

    How to use ABAP-MApping in XI3.0,

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf

    Thanks,

    Vijaya.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 17, 2008 at 11:17 AM

    Hi Vivek,

    Go thru this link. It will help.

    Differences between the Mapping types.

    Regards,

    Sanjeev.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:20 AM

    Hi,

    Check these

    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs

    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/mapping%2btechniques

    Regards

    Seshagiri

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 11:21 AM

    Check this blog

    /people/udo.martens/blog/2006/08/23/comparing-performance-of-mapping-programs

    regards

    Sameer

    Add a comment
    10|10000 characters needed characters exceeded

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.