Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Problem using var1 to identify a name of two files.

Hi people,

In my configuration part I use the %Var1% statement to assing the name of diferents files, but when I open the file in a editor text inside of it I see the name of the file to.

I only need the file name to identify it but I don't need it into the file.

How can I fix that?

P.D. I use this link to make that: /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii

Thanks for the help.

Former Member replied


you can delete the file name from the payload with the help of Cut parameter in the File Receiver Content Conversion.

For this , you need to have , your file name as a separate node with your other data.

For e.g

<COmplete Data Str>

<Data >




<File Name>

<filename>field </filename>

</File Name >

</COmplete Data Str>

now you can use CUT parametert in the content conversion and you can avoid file name coming into the target file.

For more-


Hope this helps,



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question