on 03-31-2011 10:39 PM
Hello,
I have a scenario where PI needs to pull a file from a FTP site with a dynamic format of VendorYYYYMMDD.txt; A new one is placed there every day.
One posting has an example is from ASM to PI to FTP: . However mine is FTP to PI to ECC. I have thought of using a synchronous call from Sender ABAP proxy to PI to Receiver FTP adapter; However, the FTP adapter cannot poll (i.e. it only has target name).
Question: What is the best method to put a dynamic name into the Sender FTP adapter?
Regards,
John_Xi
>>Question: What is the best method to put a dynamic name into the Sender FTP adapter?
I think you can do in the file sender adapter " Run operating system command before processing" where you can specify shell script which willl create the file name dynamically you want or rename the placed file using the script as per the requirement. For further help .. check this link
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
As Bhaskar said, it is better to go with the shell script to change the name of the file.
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.