cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping - Questions

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

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

Thanks,

Vijaya.

Answers (3)

Answers (3)

Former Member
0 Kudos

Check this blog

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

regards

Sameer

Former Member
0 Kudos

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

former_member194786
Active Contributor
0 Kudos

Hi Vivek,

Go thru this link. It will help.

Regards,

Sanjeev.