on 07-16-2015 5:01 PM
Hi All,
I am new to XSLT and JAVA Mappings.
Any one could you please let me know the prerequisites for XSLT and JAVA mappings.
I mean what are the soft wares needed for mappings?
and
What are the starting steps in which way we need to go further?
Thanks In Advance,
Vishnu Pallamreddy.
Hi Vishnu,
The preference of the type of mapping we need to use depends on the complexity/requirement metrics during interface development. Normally, graphical mapping is the one which we go for in the first place. If we can not handle here, then we go for either of XSLT or Java mapping as our colleagues said in the above relpies.
For developing java mappings, we need to use NWDS tool.
For XSLT, there are tools available like stylus studio etc., but even we can write it in a notepad and using online tools we can test the XSLT functionality by providing sample source message before using in PI.
XSLT:
http://www.riyaz.net/sap/beginners-guide-to-xslt-mapping-in-sap-pi/769/
Java Mapping:
Beginners guide to Java mapping using DOM parser in SAP XI - Process Integration - SCN Wiki
SAPTechnical.COM - Understanding Java Mapping concepts
XI/PI: Java Mapping Demystified
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishnu,
PFB helpful links on XSLT_TOOL transaction.
http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/content.htm
http://www.blogcatalog.com/search.frame.php?term=xslt_tool&id=096661708342681b4d992797643b3efb
http://www.blogcatalog.com/search.frame.php?term=xslt_tool&id=cf702dfb6e692bcac3cf478c29cef9ce
Regards
Vishnu
Hi Vishnu,
Can you refer below blogs/links:
http://help.sap.com/saphelp_nwpi711/helpdata/EN/fd/9d7348389211d596a200a0c94260a5/frameset.htm
XSLT Mapping Steps - Process Integration - SCN Wiki
Regards
Vishnu
Hi Vishnu,
This is the standard tool for doing ABAP-XSLT mappings for PI.You can see this option available in operation mapping provided if you add below entry in exchange profile.
IntegrationBuilder ->IntegrationBuilder.Repository -> com.sap.aii.repository.mapping.additionaltypes R3_ABAP|Abapclass;R3_XSLT|XSL
Generally for writing XSLT code ,we don't prefer this many good tools available in online .I would recommend to use external tool and generate the xslt code .
Regards
Venkat
At the same time How to use XSLT_TOOL in SAP PI dual stack?
How to import structures?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just search for Java mapping and xslt mapping..
You'll find many blogs explaining the same.
Hi,
Give first preference to Graphical mapping .If you couldn't able to achieve the requirement using graphical mapping then go for either JAVA or XSLT mapping.
XSLT is simpler than java mapping and easier. But, it has its drawbacks. XSLT can lead to a bad performance if the Source XML is huge (requires more memory than mapping classes generated in Java. So should be avoided when parsing very large source XML documents).Go for this when output is other than XML like text, html or xhtml .
Java mapping is robust,you will have enormous API support .Go for this when your requirement is like you need to handle complex error handling and source payload is huge.
Regards
Venkat
>>>In which situations we are going to XSLT?
This is useful in certain cases where in you want to construct SOAP envelop and sort the entire payload based on a field value etc.
In those XSLT is preferred approach compare to graphical mapping/ Java mapping as it doesn't require much effort.
>>If we have only source structure then we go for XSLT right?
There is no specific requirement which is possible only using XSLT. You'll always have some kind of target structure right? If not then you don't even need any mapping.
If the target structure/XML is not a valid and is not possible define in PI or has to be generated dynamically that is when either you go for Java / XSLT mappings.
Hi Hareesh,
I need more clarification on XSLT_TOOL Transaction...
How we work in That transaction?
Actually My sandbox system is down. I am unable to practice that one.
In that transaction we have 2 options like simple transformation and XSLT program Right?
Could you please elaborate those things and If possible share the screen shots.
What are the next steps there?
If I have source and receiver data types then how to import or export those structures into XSLT_TOOL transaction.
Mean while I will practice If my sandbox is up...
Thanks In Advance,
Vishnu Pallamreddy.
Hi Vishnu,
I usually do in my own machine the XSD's schemas and the XSLT mapping with free tools like:
XSD
XSLT:
XSLT Transformation - Online Toolz
Later, when you have your PI up you can import the XSD and XSLT without any problem.
Regards.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.