cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Techniques

Former Member
0 Kudos

Hi All,

I am learning XI. Can any one give me the information about the mapping techniques

    • Rewarding the Points for the Useful Information**

- Vinod

Accepted Solutions (1)

Accepted Solutions (1)

former_member529475
Active Contributor
0 Kudos

Mapping Techniques

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

Cheers..

Vasu

Former Member
0 Kudos

Hi

what is the use of the different type of mapping? is graphical mapping not enoug?

- Vinod

former_member529475
Active Contributor
0 Kudos

<b><u>Graphical Mapping</u></b>

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.

<u><b>ABAP Mapping</b></u>

Cheers..

Vasu

A person comfortable with Object Oriented ABAP can go for ABAP mapping instead.

<u><b>Java Mapping</b></u>

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.

<u><b>XSLT Mapping</b></u>

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.

A few example cases in which an XSLT mapping can be used:-

1.When the required output is other than XML like Text, Html or XHTML (html displayed as XML)

2.When default namespace coming from graphical mapping is not required or is to be changed as per requirements.

3.When data is to be filtered based on certain fields (considering File as source)

4.When data is to be sorted based on certain field (considering File as source)

5.When data is to be grouped based on certain field (considering File as source)

former_member529475
Active Contributor
0 Kudos

<b><u>Graphical Mapping</u></b>

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.

<u><b>ABAP Mapping</b></u>

Cheers..

Vasu

A person comfortable with Object Oriented ABAP can go for ABAP mapping instead.

<u><b>Java Mapping</b></u>

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.

<u><b>XSLT Mapping</b></u>

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.

A few example cases in which an XSLT mapping can be used:-

1.When the required output is other than XML like Text, Html or XHTML (html displayed as XML)

2.When default namespace coming from graphical mapping is not required or is to be changed as per requirements.

3.When data is to be filtered based on certain fields (considering File as source)

4.When data is to be sorted based on certain field (considering File as source)

5.When data is to be grouped based on certain field (considering File as source)

Cheers..

Vasu

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos
bhavesh_kantilal
Active Contributor
0 Kudos

4 types of mappings in XI,

1. Grpahical

2 XSLT

3. Java

4. ABAP.

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

Regards

Bhavesh

MichalKrawczyk
Active Contributor
0 Kudos

hi,

have a look at this blog for description of:

Message Mapping

XSLT Mapping

ABAP Mapping

Java Mapping

Multi Mapping

/people/sravya.talanki2/blog/2006/12/26/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-ii

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>