cancel
Showing results for 
Search instead for 
Did you mean: 

How to resend a file with some prerfix to the filename

Former Member
0 Kudos

Hi all,

We have a scenario where SAP is sening data to external system.. we are generating the file name dynamically in XI

The requirement is that SAP wants to resend the file in case of some kind of errors

In that case we will have to prefix the fiel name with "R_"

How can this be done, can any one give me the detailed steps to perform this operation.

Thanks..

younus

Accepted Solutions (0)

Answers (1)

Answers (1)

moorthy
Active Contributor
0 Kudos

Hi,

Use the Variable Substitution Parameter in the Receiver File channel so that you can done with this requirement.

To achieve this, you can create the logic in Mapping to come up with File Name with R_

So you are going to use Variable Substitution from payload option so that you can do this.

E.g:

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

/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12

Rgds, Moorthy