cancel
Showing results for 
Search instead for 
Did you mean: 

XI 3.0 Which mapping to used when ? If choice is given to me...

Former Member
0 Kudos

Hi

Out of all mappings (Graphical message mapping ,Java Mapping,XSLT mapping,

ABAP mapping).

If choice is given which mapping i need to use? What are the conditions to

go any specific mapping ?

<u>Pls...expalin me all in detail</u>

Adv thanx to all res...

Regards

Prasad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pooja

Thanks a lot...for ur valuable information

pls...help me with more inputs on this mapping

Regards,

Prasad

moorthy
Active Contributor
0 Kudos

Hi,

Lots of info on this thread-

Regards,

moorthy

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

There is no explicit answer on this question. Please check this thread:

Regards,

Wojciech

Former Member
0 Kudos

Hi Prasad,

There is no hard and fast rule for using the mapping techniques.

<b>

Graphical Mapping </b>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.

<b>

Java and XSLT mapping</b> are used when graphical mapping cannot help you and you have multilevel hierarchy structure data.

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 perform 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 exactly 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

DOM parser API

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.

And please go through this link which clearly explains the 3 types of mappings.

/people/ravikumar.allampallam/blog/2005/02/10/different-types-of-mapping-in-xi

Regards,

Pooja

Former Member
0 Kudos

Hi Pooja.,

Thanks for your good explination about mapping........

This is Ramesh....

Recently i have started learning XI. I am searching for a job on XI right now i am working as a java programmer.

Regards

Ramesh.D

Former Member
0 Kudos

Hi

Still i am not sure like when to use which mapping ?

Can any provide me some more inputs on this...

Thanks

Prasad

Shabarish_Nair
Active Contributor
0 Kudos

there are some limitations for the graphical mapping. if the mapping is complex then you will have to go for XSLT/JAVA. Graphical mapping is used mainly for simple mappings. So first you will have to check the feasibility ... in case you figure out that the mapping can be done with the graphical type then your first choice sud be that. Else go for java/xslt/abap.

Former Member
0 Kudos

Hi Prasad,

Graphical mapping can handle large amount of data with queues

Java mapping is mainly used for complex mappings

Regards,

Sai

Shabarish_Nair
Active Contributor
0 Kudos

My suggestion - first choice should be Graphical mapping.

the choice of Java ? XSLT and ABAP would be based on your comfort with any of these.

But in case of large messages Java mapping seems to stand out better

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