on 10-21-2010 10:18 AM
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
Search SDN, basic question. Locked!
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Dynamic configuration-
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
conf.put(key, docnum);
return docnum;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Can you please elaborate your question ? I am not getting , do you wish to have the file name as Idoc number ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.