cancel
Showing results for 
Search instead for 
Did you mean: 

File name

Former Member
0 Kudos

Hello All,

Scenario is File to File. My Input and outfile names are same. But the file name is dynamic.

So how can I propagate the sender file name to receiver file name?

Regards,

Naresh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Naresh,

You can make use of DynamicConfigurationBean and Variable Substitution to achieve your requirement,

Please refer to the below blog, it gives you a clear picture as how to do it.

/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean

Regards

Newa

Answers (3)

Answers (3)

Former Member
0 Kudos

Chk ASMA on both the adapters (sender and receiver file channel)

chk this(chk step1 and step2):

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

former_member200962
Active Contributor
0 Kudos

Dasika,

So how can I propagate the sender file name to receiver file name?

enable ASMA --> FIleName in both the sender and receiver channel and let the message process....nothing else required

Former Member
0 Kudos

Since its file to file scenario, select "Set adapter specific message attributes" -- Filename property in both the sender and receiver file adapters.

This will propagate your sender filename to the receiver.

Regards