on 07-07-2008 6:15 PM
We have diffrent mapping types in XI like message mapping, java mapping, ABAP mapping and XSLT mapping. Can anybody explain me why these many types of mappings are required?
Hi,
Adding to my above answer
which mapping would be better in performance
Actually the four mappings are equally used for same.
But when u consider the graphical mapping,when the source structure is large then it becomes complex.But Graphical mapping and java mapping have the same performance.
Just go through this link.
Thanks
Vikranth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok.. so based on performance we can decide which mapping we can go for. Or based on the expertise you have i.e., whether the ABAP/Java you select any of the mapping.
Otherthan these two, is there any technical difference.. that in these cases this mapping should be used and in other cases other maping should be used?
Hi Radha,
For simple scenarios we will go for graphical mapping.
In some complex scenarios it may not be possible if we go with graphical mapping. In those scenarios we will check for that particular scenario which mapping will be useful......
For some situations if we go with XSLT mapping that may be easy rather than going for ABAP or JAVA mapping.
For some scenarios going with JAVA mapping is easy than going for ABAP or XSLT mapping.
That exactly depends on the requirement.
HI
Usually Java mapping is preferred when the target structure is relatively complex and the transformation cannot be accomplished by simple graphical mapping.
When to use Java mapping
1) Java mapping are used when graphical mapping cannot help you.
Advantages of Java Mapping.
1)you can use Java APIs and Classes in it.
2) file look up or a DB lookup is possible
3) DOM is easier to use with lots of classes to help you create nodes and elements.
Java mapping can be used when you have complex mapping structures.
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
Check these for JAVA Mapping
Testing and debugging
Implermenting JAVA Mapping in PI
XSLT mappings can be imported into the Integration Repository; java methods can be called from within the XSLT style sheet. Advantages of this mapping are: open standard, portable, extensible via Java user-defined functions
XSLT Mapping
XSLT MAPPING:
Generic XSLT Mapping for SAP XI,Part I
Generic XSLT Mapping for SAP XI,Part II
XSLT: Recursive Templates
Easy RFC lookup from XSLT mappings using a Java helper class
Step u2013 By u2013 Step Simple Approach for XSLT Mapping
Advantages of using XSLT mapping
XSLT program itself defines its own target structure.
XSLT programs can be imported into SAP XI. Message mapping step can be avoided. One can directly go for interface mapping once message interfaces are created and mapping is imported.
XSLT can be used in combination with graphical mapping.
Multi-mapping is also possible using xslt.
XSLT can be used with ABAP and JAVA Extensions.
Disadvantages of using XSLT mapping
Resultant XML payload can not be viewed in SXMB_MONI if not in XML format (for service packs < SP14).
Interface mapping testing does not show proper error description. So errors in XSLT programs are difficult to trace in XI but can be easily identified outside XI using browser.
XSLT mapping requires more memory than mapping classes generated in Java.
Hi,
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. A person comfortable with Object Oriented ABAP can go for ABAP mapping instead. 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.
Thanks
Virkanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.