cancel
Showing results for 
Search instead for 
Did you mean: 

Types of Mappings and their Use

Former Member
0 Kudos

HI All,

I have been using Graphical Mapping all these days.I want to try other mappings like Java,ABAP and XSLT. Can anyone let me know as to how to go about it and which mapping to choose depending upon the scenario.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ;

Some usefull links

Java Mapping

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii

/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii

XSLT Mapping

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

Mudit

Award Points if it helps

Answers (2)

Answers (2)

former_member529475
Active Contributor
0 Kudos

Hi Amit

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

<u><b>Graphical Mapping</b></u>

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.

<u><b>ABAP Mapping</b></u>

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

<u><b>Java Mapping</b></u>

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.

<u><b>XSLT Mapping</b></u>

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.

Cheers..

Vasu

<b>** Reward Points if found useful **</b>

former_member335553
Active Contributor
0 Kudos

Hi

Apart from graphical mapping u have XSLT java and ABAp mappings

Usage :

Message mapping: Has GUI drag and drop - ease of use and used for simple mapping cases

Java mapping : for complicated mappings

XSLT: Messages are in the form of XML documents. XSL Transformation (XSLT) is a member of the XML family of languages. It describes how an XML structure is transformed into another XML structure. We can even call external Java methods to convert XML messages

ABAP Mapping ->

This is based on ABAP OO classes

Refer this thread which speaks of all these types of mapping

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%...

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%20sam...

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%20...