cancel
Showing results for 
Search instead for 
Did you mean: 

Types of Mapping

Former Member
0 Kudos

Hi Masters,

I have Small Dought..

We have 4 Type of Mappings,

<b>Genera Message Mapping, JAVA Mapping, XSLP Mapping and ABAP Mapping...

</b>

<b>My Dought is ...In which Scenarios we are using this all mappings....</b>

Please give me Clear Idea...

Regards,

SReddy

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Have a look at this thread :

thanks

pooja

Former Member
0 Kudos

Hi Reddy,

In many cases you need just the message mapping (Graphical) that is very powerfull.

Java and XSLT mapping give the possibility to manipulate directly the mapping writing by yourself all the code necessary to parse the xml.

In the case when you cannot have a good result with graphical mapping use the other 2 cases.

Consider that XSLT mapping with XSLT mapping the performance are a little bit lower.

Hope this help

Francesco

Former Member
0 Kudos

Hi Reddy,

We would basically use XSLT and Java mappings when you have multiple nested structures. This would be apt for XSLT as it uses DOM parsing.

Go through these..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20...

Hope this answers your question.:)

cheers,

Prashanth

P.S Please mark helpful answers

Former Member
0 Kudos

Hi,

I thought i will start of from scratch.Mapping is basically done to convert one form of xml into another form. This can be done using either of them mentioned below.

- Graphical mapping

- XSLT mapping

- JAVA mapping

- ABAP mapping

There is no hard and fast rule for using the mapping techniques. But, I will try to put things in the right perspective for you.

Graphical Mapping is used for simple mapping cases. When, the logic for your mapping is simple and straight forward and it does not involve any complex logic.

Java and XSLT mapping are used when graphical mapping cannot help you.

When the choice is between Java And XSLT, XSLT is simpler than java mapping and easier. But, it has its drawbacks. One among them being that you cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perfrom something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT and so, when you want to use some specific Java API's you will have to go for 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.

To know more about each of them please go thru the following links. And if you ask me your which is better, it depends basically on the scenario you implementing and the complexity involved. Anyways please go thru the following links:

Graphical mapping

http://help.sap.com/saphelp_nw04/helpdata/en/6d/aadd3e6ecb1f39e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm

/people/bhanu.thirumala/blog/2006/02/02/graphical-message-mapping-150-text-preview

http://www.sapgenie.com/netweaver/xi/mapping1.htm

/people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping

XSLT mapping

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

http://www.w3.org/TR/xslt20/

JAVA mapping

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

http://java.sun.com/j2se/1.4.2/docs/api/org/w3c/dom/package-frame.html

ABAP mapping

/people/r.eijpe/blog

To know more about the value mapping tools for the SAP Exchange Infrastructure (XI), please go thru the following link:

http://www.applicon.dk/fileadmin/filer/XI_Tools/ValueMappingTool.pdf

To get an idea as to what value mapping is, please go thru the following links:

http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/f2/dfae3d47afd652e10000000a114084/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm

most of the links that I have provided also helps you get the step by step procedure of doing the same. And also involves the procedure to implement certain advanced features.

Hope this clears your doubt fully.

Regards,

Abhy