on 10-28-2014 9:30 AM
Hi everyone,
Is it posisble to pass the FTP Server address to the Receiver File Adapter as an parameter (like Filename or directory for the File adapter) in SAP PI 7.31?
If not is there another way to achieve this (by the File adapter and the use the Operation System Command line after Message Processing for example)?
Thanks,
John
Hi John,
I believe that you have a requirement where the receiver(FTP server to where the file should go) would be determined dynamically based on some condition.
If you have limited list of such FTP servers then the easiest solution would be to create different communication channels under different BC and use a conditional receiver determination to route the data.
Now if you are hell bent on doing this dynamically, well then theoretically you can write a module/message mapping which uses directory API and updates the communication channel. But hey, its always better to keep things simple and I would suggest using multiple receivers if the number of receivers is limited.
Regards
Varun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varun,
You are correct with the statement that i need to determine a FTP-server dynamically. In the Idoc-data the IP-Address is available but there can be many IP-Address that can be used for the FTP-servers (here a FTP-server is a measurement device and we have over 50 or even over 100 of thoose devices and each with its own IP-Address). So to setup a CC for each of them will not be possible.
Regards,
John
Hello,
You can write ur logic of sending files to multiple servers inside AM, but just make sure that error handling is done properly.
Code is there, but u have to modify it as per ur req. - instead of passing IP address from CC u can parse ur message inside module and populate FTP credentials.
Thanks
Amit Srivastava
Hi John,
Have a look at this document for a summary of possibilities:
Regards,
Grzegorz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.