on 10-19-2013 12:15 PM
Dear experts,
I have a requirement where a soap call should trigger a ftp to rfc scenario. The soap call contains the file name which should then be polled from an ftp server and sent to an erp via rfc call.
Do you have any ideas how such a scenario can be implemented using sap pi 7.3?
He Peter,
You have the choice of making a SOAP -RFC scenario and to do the FTP connection in a java mapping.
Check Former Member's blog http://scn.sap.com/blogs/praveen.sutra/2012/09/10/java-mapping-code-to-connect-to-ftp-location-and-p... in order to do a FTP connection from java.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem is the polling of a specific file on request from FTP. Only idea so far is to do it completely within a java mapping. But this would be very intransparent. Do you see any other options?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Peter,
no, I don't see this option. As far as I know there is no way in PI to actively trigger a poll without using custom coding. The FTP and file adapters are built in a way that they poll automatically.
The only option besides Java mapping would be a BPM where you collect the file and only proceed when the second condition - your SOAP call - is met. But I wouldn't recommend that, since it is possible that this BPM instance would be open for hours or days, if I understand correctly. Any restart could destroy that instance, and it unnecessarily blocks space in memory.
Why can't you send the file with the SOAP call? That would be the neatest option.
Regards,
Jörg
User | Count |
---|---|
86 | |
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.