Skip to Content

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

Variable Substitution for File Name Scheme

Hi all,

Please clarify the following issue.

I have two source field

Transfer Order number - 0000000222

Tranfer Order line item - 0001

Both i map it into one target field

The target field output is - 0000000222#0001

I need a file name which starts with ABC <TranferOrderNumber>.txt.

The problem is, when i try to use payload i get output

(ABC0000000222#0001.txt). The reason is i use the target field which has concatenated.

Please give me a solution where i would get output


Former Member


use Dynamic Configuration of Adapter-Specific Message Attributes to set the file name instead of plain Variable Substitution.

You can do it in the same mapping you use to generate target message.

Check these references on dynamic configuration:


Just make the mapping and then set your receiver file adapter to use the adapter specific attribute instead of the default name field.

In your specific case, the filename string should be something like:

String filename = "ABC" + order_number + ".xml"



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