cancel
Showing results for 
Search instead for 
Did you mean: 

XML mapping

Former Member
0 Kudos

Hi SAP-Guru,

can u please explain me that when and how we can use XML mapping in SAP-XI.

what are the advantages of using XML mapping rather than other mappings.

Thanks & Regards

Krishna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Krishna,

You must be referring to XSLT mapping.

In XSLT, we parse XMl source message and generate outbound structure as required.

It works based on template and Xpath.

For that it would be good if you can use somne editors like Altova XML spy.

You will find many blogs on XSLT mapping.

After writing XSLT mapping , you need to zip the xsl file(XSLT file has xsl extension) then import that zip file under Imported Archives in IR.

We normally use XSLT mapping, when graphical mapping becomes more complex.

As XSLT can easily read, process XML source message which XI has received and produces target structure required by receiver application system.

We will prefer XSLT when:

Nested structure: In case of multiple nested structure especially in ccase of IDocs, we use XSLT mapping

Maintaining the sequence of the input structure: If you want to maintain the sequence of the data fromt he incoming file.

It would be good if you start doing and you will get better idea about it.

Ref:

http://www.w3schools.com/xsl/default.asp

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

H. Nested structure: In case of multiple nested structure especially in ccase of IDocs, we use XSLT mapping

2. Maintaining the sequence of the input structure: If you want to maintain the sequence of the data fromt he incoming file.

Hope this will help.

Regards,

Divyesh

Answers (3)

Answers (3)

JoelTrinidade
Active Contributor
0 Kudos

Hi Krishna,

You have opened two thread with the different subject name . Please close this one as there is no such thing as xml mapping. Your questions would be answered on the other thread.

regards

joel

Edited by: joel trinidade on Apr 14, 2009 3:15 PM

former_member200962
Active Contributor
0 Kudos

is it XSLT mapping that you are asking for??

Shabarish_Nair
Active Contributor
0 Kudos

>

> Hi SAP-Guru,

>

> can u please explain me that when and how we can use XML mapping in SAP-XI.

> what are the advantages of using XML mapping rather than other mappings.

>

>

> Thanks & Regards

> Krishna

what do you mean by XML mapping?

In XI everything (almost) is XML .. so all mappings are done over XML only.

In case you are looking at the comparison of mapping you will find multiple threads in SDN via a search on this topic.

One of them is -

let me know if this is what you are looking for.