cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Mapping

former_member182418
Participant
0 Kudos

hi,

could any one give an idea about XSLT Mapping, i need a sample file for that scenerio.Any details regarding Exeption handling will be help on.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Ravi,

for doing xslt mapping you need to create a .xlst file containing the xslt mapping of source and target data.

U can use Altova XMLSpy for creating .xslt mapping.

Following following steps for executing this mapping.

1. Create Source Data and Target Data Type in IR.

2. Take xml representation of source data and open it into Alto XMLSpy.

3. Create .xsd file for above source xml data.

4. Repeat above two procedure for Target Data.

Now Creating .xslt file you need to Use Alto MapForce.

Steps will be:

1. Open the Alto MapForce. Import the source .xml and .xsd file in it.

2. Similarly import the target .xml and .xsd in the MapForce.

3. You will have both source and target data available in MapForce in similar fashion as you have in IR.

4. Do the graphical mapping using extensive list of functions available there.

5. Save the mapping file.

6. Click the XSLT Tab . You will have the entire .xslt logic there.

6. Copy the above content and save it as .xslt file.

7. Create a jar file for the above .xslt file.

8. Go to IR , Import the .jar file into 'Imported Archive'

7. In Message Mapping , Choose XSLT from drop down box of Message program.

8. Import the jar containing the .xslt file.

9. Test the mapping.

I hope this helps..

former_member182418
Participant
0 Kudos

Thanx,

i will try it out,

do you have an idea about exception handling errors in respect with XSLT mapping.

Former Member
0 Kudos

<i>exception handling errors in respect with XSLT mapping</i>

http://help.sap.com/saphelp_nw2004s/helpdata/en/8a/7672f7d7e444439fd7024f806221a4/content.htm

Former Member
0 Kudos

check this blogs

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

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

Some blogs on sdn on xslt mapping:

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

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

null

Former Member
0 Kudos

HI,

Hi first create the data type and message type

later export the source and target types XSD/WSDL to file into Altova mapforce.

map accordingly mapping requirement

later click on XSLT icon it will create one xslt file

create the zip for the created XSLT file.

Later com back to IR and .In IR under imported archievs iport the zip file .

Later goto Interface mapping and use the imported file.

See the below links

XSLT Mapping

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

XSLT Mapping with java enhancement

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

Regards

Chilla..

Former Member
0 Kudos

Hi,

Please go through the below links for details on XSLT Mappings..

/people/prasadbabu.nemalikanti3/blog/2006/03/30/xpath-functions-in-xslt-mapping

/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt

XSLT Mapping with java enhancement

/people/pooja.pandey/blog/2005/06/27/xslt-mapping-with-java-enhancement-for-beginners

XSLT - ABAP.

/people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping

Hope this helps..

Do get back to me for any further details

Regards

Kiran..