cancel
Showing results for 
Search instead for 
Did you mean: 

FileCommunicationChannelQuery

Former Member
0 Kudos

Hi Experts

I am doing scenario IDOC to File. the file name is of the following type XXXX_Idocnumber.xml. My query is the idoc number will be coming from the source payload and it has to be populated in the FileCC?

how to achieve this.

thanx in advance

Accepted Solutions (0)

Answers (4)

Answers (4)

prateek
Active Contributor
0 Kudos

Search SDN, basic question. Locked!

Regards,

Prateek

Former Member
0 Kudos

Use Dynamic configuration-

DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");

conf.put(key, docnum);

return docnum;

Former Member
0 Kudos

Hi,

You can use either dynamic configuration (using adapter specific messag attributes) or variable subsititution method to get the file name from the source payload in the reciever File channel.

Check this blogs for which approach to choose and how to do it-

/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name

/people/madanmohan.agrawal/blog/2009/05/20/combining-three-different-aspects-of-pi-asma-af-module-and-variable-substitution-in-one-shot

regards,

francis

former_member207622
Contributor
0 Kudos

Hi Can you please elaborate your question ? I am not getting , do you wish to have the file name as Idoc number ?