cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Mapping ?

Former Member
0 Kudos

When do we use XSLT mapping ? When do we prefer it over ABAP or Java mapping ? Is working knowledge of Java required to do XSLT mapping ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

XSLT mapping is generally done when you cannot run a scenario using Messag mapping which is always preferable.

Some of the scenario's are:

1. 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.

XSLT works on the DOM parser and hence if the message size is high try avoiding it.

Both the scnarios can also be done by Java mapping.

No Java skills are required for XSLT mapping.

Check this document as example

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb9...

Check this SDN TV recordings

https://www.sdn.sap.com/irj/sdn/advancedsearch?query=xslt+mapping&cat=sdn_all#

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

Thanks

Gaurav

Former Member
0 Kudos

Thanks a lot Gaurav

I expected you to drop in. You said no Java skills are required so inorder to do the mapping what exactly should I know. XML ?

Ajith

Former Member
0 Kudos

Midhun Madhav is Ajith Chandran or Ajith chandran is Midhun Madhav ?

Former Member
0 Kudos

Yes you need knowledge on XML tags and structures.

To use XSLT on tips you can try doing some examples for creating XML tags using XSLT. See DTD and XSD as well. This plays a good role.

Using a custom DTD you can create a XML with XSL. These all are interdependent some way or other. Its good to have overview of all to solve complex problems.

Any how at the end of the day it all depends on your skill set Java, ABAP or XSLT and even ease to do it

Thanks

Gaurav

Former Member
0 Kudos

Hi Aamir

What was that by the way ? I didnt get the mapping here

Regards

Midhun

Answers (2)

Answers (2)

Former Member
0 Kudos

Is working knowledge of Java required to do XSLT mapping

You don't need, but you can call Java code from xslt mapping..

Former Member
0 Kudos