cancel
Showing results for 
Search instead for 
Did you mean: 

XSL Interface Mapping - Recover name of file

Former Member
0 Kudos

Good evening,

I am using XSL interface mapping to convert a file to idoc and I need to recover the name of the file to insert it in the idoc.

I have been looking for in XSL manuals for an answer and I haven't find it.

How can I recover the name of the file that I'm trying to map to idoc?

Best Regards,

Nuria

Accepted Solutions (0)

Answers (2)

Answers (2)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

right after you create an IDOC in your XSLT mapping

create another mapping - message mapping (this time IDOC to IDOC)

and put it into your interface determination

put the code from my blog:

/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

and you will have the name

Regards,

michal

henrique_pinto
Active Contributor
0 Kudos

Actually there is no need for an extra mapping program if u use XSLT with java enhancement.

Regards,

Henrique.

Former Member
0 Kudos

Thank you very much to all for your help.

bhavesh_kantilal
Active Contributor
0 Kudos

Exact requirement.

Look into this blog by Sriram,

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

Regards

Bhavesh