on 05-23-2013 2:50 PM
Hi Experts,
I have the following scenario: I have to send a file using a ftp, but the receivers are 250 or more. The receivers have a different host names, so my first solution is create 250 business systems and each one with ftp receiver communication channel. This solution is very little maintainable (Do you imagine have 250 Business Systems in the Integration Directory?) furthermore these ftp receivers could be more in the future.
My question is: There are any way to get dynamically the host name for the ftp receiver communication channel?. I have tried using Variable Substitution and Java Mapping with Dynamic Configuration, but I cannot get the host name parameter of the ftp communication channel.
Thanks,
Julian
Hi All,
Thanks for your comments. Definitely the maintainability and the monitoring to the whole solution were the big reasons to develop just one communication channel.
The final solution was to develop a RFC in ABAP and this RFC sends the file via FTP using the standard function modules (HTTP_SCRAMBLE, FTP_CONNECT, FTP_R3_TO_SERVER, FTP_DISCONNECT, RFC_CONNECTION_CLOSE). This RFC get data for the FTP connection (host, user, password), these are stored in a customizing table. This RFC was called in PI instead of a FTP adapter.
Regards,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ambrish,
We have a PI with dual stack (ABAP + Java) so I developed a RFC in PI ABAP Stack. This RFC receives the business information for the external FTP system. Inside the RFC I get the information about host name, user and password FTP. These information is stored in a customizing tables in this stack. Finally this RFC sends the business information using the standard function modules (HTTP_SCRAMBLE, FTP_CONNECT, FTP_R3_TO_SERVER, FTP_DISCONNECT, RFC_CONNECTION_CLOSE).
In PI I do not use a FTP adapter for send information, otherwise I use a RFC adapter. I imported the RFC created in PI ABAP Stack into PI ESR and I use it like a inbound interface. Finally I use this inbound interface and the RFC adapter for send the information.
Regards,
Julian
Hi Julian,
From your post, it seems like you have to send the same file to these 250 file systems.
Can you convince your client if PI can send the file generated to one central file system and this system can propagate the file to other file systems in the landscape. This will be faster and sustainable.
hope it helps!
Ambrish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
Refer below link
Regards
Bhargava krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
one idea to create a dynamic solution would be using directory's API - may be triggered from a mapping program.
http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/10/12/using-pi-73-s-directory-api
Another idea is to extend the adapter by a module - to that you can take the host from payload or ASMA fields.
I agree with you that it would not be a satifying solution to create one (virtual) system having 250 Channels, but it will be nevertheless hard to maintain.
/Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.