cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT

Former Member
0 Kudos

Hello everyone,

I have recently Joined a Product based company as SAP PI developer,

I am comfortable with Graphical Mapping, but i have realized that i have to learn at least one more type of mapping.

As i have no previous coding background i have decided to learn XSLT mapping.

I have searched SDN but i did not get right information about like where to start from which maping tool i have to use and every thing,

Can any one please tell me which is the best XSLT mapping tool and how it works.

Regards

Chandrika

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

XSLT mapping tools are,

1. Altova XMLSpy u2013 can be used to edit XSLT files

2.Altova MapForce u2013 provides graphical interface with drag and drop tools to create XSLT mapping (just like graphical mapping editor within IR/ESR)

3.Stylus Studio u2013 Provides similar functionality as Altova MapForce

refer below blog this basic document how to start and what are nodes and tags are available in XSLT.

http://www.riyaz.net/sap/beginners-guide-to-xslt-mapping-in-sap-pi/769/

for more information you have to search in sdn.

regards,

ganesh.

Answers (3)

Answers (3)

former_member184681
Active Contributor
0 Kudos

Chandrika,

See chapter 3 in [this document|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0715b1d-68a6-2b10-9f8f-86c5b059cb18?QuickLink=index&overridelayout=true] for an analysis and comparison of different mapping methods. In general, you can always use graphical mapping as long as it meets your functional requirements (so whenever it is enough to perform all the mapping stepts you require).

Hope this helps,

Grzegorz

former_member184681
Active Contributor
0 Kudos

Hi Chandrika,

In fact, there is no dedicated GUI-editor in PI for XSLT mappings (like the one you used for graphical ones). All you need is to prepare an XSLT transformation file in any text editor, including windows' notepad or notepad++.

There are also some more complicated tools like XML Spy that can help you prepare an XSLT mapping for particular XML structures, you can find a free 30-days trial [here|http://www.altova.com/xml-editor/].

The XSLT format itself is an open standard, described by the W3C organization - find some official documentation [here|http://www.w3.org/TR/xslt].

Hope this helps,

Grzegorz

Former Member
0 Kudos
Former Member
0 Kudos

Hello Amit,

That was really helpful, but i have still got small doubt, which type of mapping do you prefer, i mean with a tool or without a tool.

Regards

Chandrika

Former Member
0 Kudos

Hi,

you can use Altova XMLSpy or Stylus Studio tools to develop XSLT code.

you can write code in xslt tool as per you reqirement and that code will be save into jar file.that jar file will be imported into ESR under imported archive and you can set xslt mapping in operation mapping.

regards,

ganesh.

Former Member
0 Kudos

>>which type of mapping do you prefer, i mean with a tool or without a tool.

I always create xslt using xslt editors (like stylus or microsoft visual studio 2008....) ...but for start up explorations u can create few examples (shown in the article) in notepad and then import it in PI ((after zipping the xsl file) and test the same

Former Member
0 Kudos

hi ganesh,

for this
>>that code will be save into jar file.that jar file will be imported into ESR under imported archive


is the jar file in ABAP stack? then i have to export from ABAP stack?