on 06-30-2009 6:14 AM
Hi All,
We have requirement where ,we create a filenames dynamically ( runtime).These filenames whihc do change for every execution needs to be added in FTP communication channel.
1. How can we add the this generated file name in FTP CC Communication Channel.
2. Does this file needs to part of target structure during graphical mapping ?
3. Can we also dynamically append the Directory name to file names aswell ?
Please provide your valuable sugestions.
Thanks for your support.
Resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer this link.
/people/shabarish.vijayakumar/blog/2009/03/26/dynamic-configuration-vs-variable-substitution--the-ultimate-battle-for-the-file-name
Regards,
Madhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. How can we add the this generated file name in FTP CC Communication Channel.
3. Can we also dynamically append the Directory name to file names aswell ?
to get the FileName:
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
To get the Directory:
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
Then append:
key+key1
And then in the CC select the Directory checkbox under the ASMA properties...
2. Does this file needs to part of target structure during graphical mapping ?
The file which is sent using the CC will have the FileName as configured in the UDF of the graphical mapping....and if i am not wrong then the target structure resembles the file (if there is no FCC done)....
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please refer to the following links
https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1888. [original link is broken] [original link is broken] [original link is broken]
Regards,
Bhanu
Edited by: nanduri bhanu on Jun 30, 2009 7:26 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. How can we add the this generated file name in FTP CC Communication Channel.
Use Dynamic Configuration and check Adapter specific attributes in communication channel.
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
2. Does this file needs to part of target structure during graphical mapping ?
Not necessarily. However, if you want, it could be.
3. Can we also dynamically append the Directory name to file names aswell ?
Yes. Using the same Dynamic Configuration as said above.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.