cancel
Showing results for 
Search instead for 
Did you mean: 

How to decide which type of mapping to use?

Former Member
0 Kudos

HI all,

PLease tell me how we will decide when to use which type of mappings while designing interface i.e either to use Graphical, Java, XSLT or ABAP mapping. Is it depend on size of data to passed from interface or anything else? please clarify my doubt.

Regards

Swapnil

Accepted Solutions (1)

Accepted Solutions (1)

former_member556603
Active Contributor
0 Kudos

Hello Swapnil,

In Real Time most of our requirements through graphical mappings only.

Diffarent types of Mapping's....

1) MESSAGE MAPPING

2 ) ABAP MAPPING

3 ) JAVA MAPPING

4 ) XSLT MAPPING

Message Mapping:

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Java Mapping :

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+mapping&adv=false&sortby=cm_rn...

SAP Network Blog: Implementing a Java Mapping in SAP PI

/people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi

Java Mapping (SAP Library - Partner Connectivity Kit)

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

SAP Network Blog: XI Java Mapping Helper (DOM)

/people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom

SAP Network Blog: Testing and Debugging Java Mapping

/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio

Binary Conversion in XI - Java Mapping - Code Gallery - Wiki

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/binary%2bconversion%2bin%2bxi%2b-%2bjava...

SAP Network Blog: "JAVA MAPPING", an alternate way of reading a CSV file

/people/rahul.nawale2/blog/2006/07/18/java-mapping-an-alternate-way-of-reading-a-csv-file

ABAP mappings run on ABAP Stack and are developed in the ABAP workbench of the Integration Server.

You normally do not need to use the ABAP mappings and is preferable for someone with ABAP programming background. I should say JAVA functions would suffice any complex scenarios.

refer step by step guides for ABAP Mapping

ABAP Mapping:

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=abap+mapping&adv=false&sortby=cm_rn...

How to Use ABAP Mapping in Exchange Infrastructure 3.0 (NW2004)

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5c46ab90-0201-0010-42bd-9d030259...

SAP Network Blog: Testing ABAP Mapping

/people/sameer.shadab/blog/2005/09/29/testing-abap-mapping

SAP Network Blog: How to call XI ABAP Mapping via RFC

/people/ricardoandres.maienza/blog/2007/04/06/how-to-call-xi-abap-mapping-via-rfc

SAP Network Blog: XI: ABAP mapping logs - more standard = better visibility

/people/michal.krawczyk2/blog/2006/09/20/xi-abap-mapping-logs--more-standard-better-visibility

SAP Network Blog: Dynamically sending a mail to the PO creator using XSLT- ABAP Mapping

/people/rahul.nawale2/blog/2006/11/01/dynamically-sending-a-mail-to-the-po-creator-using-xslt-abap-mapping

You need to provide the name of your mapping program maually , you see it is an input box.

XSLT Mapping..

http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/c8/b78d406b305537e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/4c/b2ad3de2d76b3be10000000a114084/frameset.htm

Thanks,

Satya Kumar

Reward Points if it is useful..

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

Definately Data volume is a key factor while deciding the Mapping type.

but some other fators could be there

1.Performance

2.Skill set

3.Requirement.

Message Mapping is used when purpose is to do simple basic transformations.

ABAP Mapping is used when data on ABAP stack needs to be accessed to do transformation.

XSLT Mapping is used when output is a HTML format required.

JAVA Mapping is used whenever need some Parsing on data.

ABAP/JAVA mapping rquires skill set.

XSLT and Graphical Mapping are easier.

Performance wise XSLT and JAVA Mapping are good.

Regards,

Akshay.

    • Reward points if find useful.

Former Member
0 Kudos

HI

For most cases we use the Graphical Mapping as it is very simple to use and easy to understand.

there are basically four types of mapping

1)Message Mapping

2)XSLT Mapping

3)ABAP Mapping

4)JAVA Mapping

Follow the blogs for different types of mapping

Message mapping:

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

JAVA mapping:

/people/carlosivan.prietorubio/blog/2007/12/21/implementing-a-java-mapping-in-sap-pi

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

XSLT mapping:

http://help.sap.com/saphelp_nw04/helpdata/en/c8/b78d406b305537e10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.html

http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm

ABAP mapping:

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=abap+mapping&adv=false&sortby=cm_rn...

cheers

reward wtih points if found useful

Former Member
0 Kudos

Hi,

Check the Requirement, If it is simple conversions use Graphical Mapping,Incase of more conversions of the requirement use the Graphical mapping , but we need to write some User Defined Function(UDF's).

When ever write the UDF's Performance wise very low. On that time either ABAP or JAVA .

Regards,

Sateesh

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Swapnil

Comparing the runtime performance and stability of 6 kinds of mapping programms is a frequently discussed theme around Netweaver / XI.

Graphical Message Mapping

Java Mapping (DOM)

Java Mapping (SAX)

XSL Styleheet in Java stack

ABAP Mapping (DOM)

XSLT running in ABAP stack

have been tested to compare capability and robustness.

Based on this we choose our mapping. If our standard Mapping(Graphical) does not fullfill our require ment or there is huge amount of data to be handled then we go for other mapping.

Please go through Follwing Blog

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

Thanks

Abhishek Mahajan

*Please Reward Points if helpful***

Former Member
0 Kudos

HI all,

Thanks for reply, but suppose incase of file 2 file scenario how you will decide what which mapping to use. If we have here very complex mapping invloved and also large amount of data i.e File size is more then in this case how to make decision.

also incase fo file size what will be the file size to decide which mapping to use?

Swapnil

former_member556603
Active Contributor
0 Kudos

Hello Swapnil,

Go through these blogs...

In real time mainly we have to use Message Mapping only..

/people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part

Go through the Sravya's Blog: This is really helpful to you

/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

Thanks,

Satya Kumar..

Reward points if it is useful..

Edited by: SATYA KUMAR AKKARABOYANA on Apr 16, 2008 1:42 PM