I am able to send a flat file through XI File/FTP adapter to SAP R/3 RFC function. The request is successful and trigger a commit on R/3. I can see the transaction write date into R/3 system tables. However, how can I send back the RFC response message back to File/FTP adapter so I can write the response back to a XML file on XI server?
The background of this question is that I FTP a sales order flat file to FTP server, which is also XI server. Through a File/FTP adapter the flat file is converted into XML and send to RFC adapter for Z_BAPI_SALESORDER_CREATE, which is combination of BAPI_SALESORDER_CREATEFROMDAT2 and BAPI_TRANSACTION_COMMIT.
If using SOAP adapter as sender, it is very easy to get RFC response message from R/3 back to SOAP client. However, I feel FTP is mostly one way communication, although I can attach two way synchronous interface to XI File/FTP adapter.
I have a SAP XI 3.0 server and an R/3 server -- ECC 5.0 IDES on WAS 6.40.
Thanks for suggestions and ideas.