cancel
Showing results for 
Search instead for 
Did you mean: 

regarding different types of mappings

former_member207019
Participant
0 Kudos

Hello,

In sap XI we have different kinds of mapping techniques. At most we can perform all kind of mappings in graphical mapping only. Then specifically why do we need to go ABAP mapping or Java mapping or XSLT mappings? So far I have seen some of the blogs. In every blog some one is explaining about the how to do java mapping or Abap mapping or Xslt mapping, But not clear to why do we go for these mapping techniques. for every mapping technique there might be a reason to follow that technique. So could you please help me on this issue.

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

if more complex structure we cont be able to map using graphical mapping . so that time we go for XSLT or Java Mapping....If we need to pass a high size and more complex structure file then we can choose ABAP mappings...so the Mappings run in ABAP stack..the load also reduce...

Regards,

Prakasu

Answers (7)

Answers (7)

former_member556603
Active Contributor
0 Kudos

Hello Jyotsna,

In Real Time out 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..

Edited by: SATYA KUMAR AKKARABOYANA on Apr 16, 2008 10:02 AM

Former Member
0 Kudos

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 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 or xslt. One can also think of Java mapping as another option but it is a bit complex and required knowledge of Java

Edited by: Ashok Reddy Thatigutla on Apr 16, 2008 8:51 AM

Former Member
0 Kudos

Hi Jyotsna,

There are varois mapping which are to be used depending upon the System that you are working on....................

1) It depends on the which system you are working (if it is SAP R/3 the ABAP mapping is ideal because R/3 runs on ABAP stack)

2) if you are working J2EE system rthe it is ideal to work with Java mappings beacuse the back end systems and the platform will support only the particulat mappings

So there are varoius factors and reasons which has has to be taken care before a mapping used...................

Hope this will help you.......

Thanks

Sai

PS: kindly reward points if helpful

Former Member
0 Kudos

hi jyotsna

these are different mappings used in XI. Out of these ABAP mapping is not supported in XI

for this you have to make an entry in exchange profile

Features of different mappings are as follows

Message Mapping

1) Graphical design and tset environment

2) Queue based model allows handling of very large documents

3) Extensible via Java user defined Functions

XSLT Mapping

1)Open Standard

2)Portable

3) Extensible via Java user defined functions

4)Memory overhead for very large documents

Java Mapping

1)Flexiblity of Java programing language

2) java mapping program is responsible for parsing/rendering XML

ABAP

1)Leverage existing ABAP base

2) ABAP mapping program is responsible for parsing/rendering XML

Now depending upon the client and business requirement you have to chose the mapping

also it depends upon the availabilty of your resourecs.

Thanks

Sandeep Sharma

PS if helpful kindly reward points

Former Member
0 Kudos

Hi Jyotsna,

-


>It also depends on the expertise of resources available.

-


>Performance of Java and ABAP mapping is better than XSLT mapping.

regards,

Piyush

Former Member
0 Kudos

Hi Jyoshna,

We can acheive most of our requirements through graphical mappings only.

But we have to go for other mapping techniques in some complex situations.

Suppose if we want to get a IDOC as a text file in the target side,it wont possible to convert

using file content conversion.

Here we can add a ABAP class in the interface mapping which can convert the IDOC XML

into IDOC text file.This is ABAP mapping simplifies the requirement.

Suppose if we take one situation like we want a flat file from source system

into four levels (parent-->child->child1--->child2) in XI.

File Adapter cannot convert the flat file into this structure.

FCC can be used to convert the flat file into XML file upto 2 levels. So here we have to write a

java mapping which can convert the flat file into complex structure(4levels).

Like this...we can use the different mapping techniques depends on the situation...

Thanks,

Sekhar D

former_member207019
Participant
0 Kudos

Hello Mr.Sekhar,

As you explained this situation like,

we want a flat file from source system

into four levels (parent-->child->child1--->child2) in XI.

File Adapter cannot convert the flat file into this structure.

FCC can be used to convert the flat file into XML file upto 2 levels. So here we have to write a

java mapping which can convert the flat file into complex structure(4levels).

Can you explain how can we achieve this by using java mapping. If possible could you explain me step by step approach. So that it would be more helpful for me.

Thank you

Former Member
0 Kudos

Hi,,,

According to client requirement we have to go to that type of mapping....

for example if clent need only graphical then u have to do that in graphical mapping.....or else...