cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file name from messsage payload

Former Member
0 Kudos

Hi Friends,

My requirement is to read one .xml file , which has Purchase Order deatails and place .html file on receiver side, we are using XSLT for mapping.

The file name should be "POnumber.html " , i've gone through below but couldn't get much

http://help.sap.com/saphelp_nw04/helpdata/en/43/03612cdecc6e76e10000000a422035/content.htm

Can any one send the that code , and steps to add that code in side XSLT.

Thanks

John

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

With above links

/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1

/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2

See in the below Michal blog , how to conver the file as html , take that part only.

/people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

Regards

Chilla

arunneerolil
Contributor
0 Kudos
bhavesh_kantilal
Active Contributor
0 Kudos

Actually check this blog by Sriram.

It d4escribes exactly what you want.

/people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios

Regards

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Kumar,

In this blog, JK descrbes how to call a Java Class from XSL mapping.

/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

Check the XSLT code and the Java Class code.

Regards

Bhavesh