on 10-31-2007 6:32 AM
Hi all,
can any one send the blogs of XSLT mapping.
Thanks in advance
Naveen
Hi Naveen
Steps for XSLT Mapping
<b>>Create Data Type as> Sender></b>
<?xml version="1.0" encoding="UTF-8"?>
<ns0:SENDER_SABAPEXT_MTO xmlns:ns0="http://www.xenext.com/xsltmapping">
<PERSON>
<FirstName>Ajay</FirstName>
<LastName>Kumar</LastName>
<Gender>Yadav</Gender>
<ADDRESS>
<Flat>23</Flat>
<Block>67</Block>
<Society>Space</Society>
<Area>Time</Area>
<City>Salt Lake</City>
<State>WB</State>
<Country>India</Country>
</ADDRESS>
</PERSON>
</ns0:SENDER_SABAPEXT_MTO>
<b>>Data Type as Receiver> Receiver></b>
<?xml version="1.0" encoding="utf-8"?>
<PERSON>
<Title>Yadav</Title>
<Name>Ajay Kumar</Name>
<Address>23 67</Address>
<Society>Space</Society>
<City>Salt Lake</City>
</PERSON>
<b>>create message type>interface type</b>
<b>>Create a xsl file e.g abc.xsl</b>
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="PERSON">
<PERSON>
<Title><xsl:value-of select="Gender" /></Title>
<Name><xsl:value-of select="concat(FirstName,' ',LastName)" /></Name>
<Address><xsl:value-of select="concat(ADDRESS/Flat,' ',ADDRESS/Block)" /></Address>
<Society><xsl:value-of select="ADDRESS/Society"/></Society>
<City><xsl:value-of select="ADDRESS/City"/></City>
</PERSON>
</xsl:template>
</xsl:stylesheet>
<b>>create zip file of abc.xsl as abc.zip</b>
<b>>go imported archive> create a file> import that abc.zip file</b>
<b>>go to>Interface mapping>create interface mapping by selecting sender and</b> <b>receiver interface</b>
<b>>in the same window down the line go to Mapping Program section</b>
><b>in drop down select type = XSL then select abc.xsl</b>
<b>> now test the program</b>
<b>***Reward points if it helps u****</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi naveen
Check this /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
Look in to these Blogs
/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]
/people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping
**Reward if helpfull**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
xslt mapping
http://help.sap.com/saphelp_nw04/helpdata/en/83/2200cb50d345c793336d9a1683163e/frameset.htm
Go through these
Some scenarios
/people/sap.user72/blog/2005/03/15/using-xslt-mapping-in-a-ccbpm-scenario
/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.