cancel
Showing results for 
Search instead for 
Did you mean: 

File 2 RFC scenario

Former Member
0 Kudos

We have a scenario, file 2 RFC, file is picked from FTP.

File is CSV file and has Invoices in it. After every invoice, there is a bapi call.

How to handle this.

Any docs or links or blogs would help me.

-Naveen.

Accepted Solutions (1)

Accepted Solutions (1)

agasthuri_doss
Active Contributor
0 Kudos

Dear Naveen,

This will help you,

Weblogs

/people/sundararamaprasad.subbaraman/blog/2005/12/09/making-csv-file-lookup-possible-in-sap-xi

Regards

Agasthuri Doss

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Naveen,

File system will not support Application Acknowledgements. It will support only System Acknowledgements. So inorder to handle this we need to have a BPM.

Your scenario can be addressed like this..

File->XI(BPM)->R/3(RFC)

Please go through these links and see if it helps....

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

Hope This is Useful.....:-)

Regards,

Abhy

moorthy
Active Contributor
0 Kudos

Hi,

You can achieve this like this - one of the option. using BPM

1) Recieve the file input

2) Map with BAPI structure (here multiple BAPI structures will be output of the mapping)

3) Introduce Loop here (Parforeach/Foreach)

4) Call the BAPi- Send Step

You can do mapping outside the BPM.

It may hit the performance, if invoice is very huge i.e one file contains more than 1000 invoices..it may be difficult.

Second option, you can try is send all the invoices into Proxy method. SO create a server ABAP proxy, and inside the Server proxy you get all the invoice records, then loop thru there, and call RFC from the Proxy.

Hope this helps,

Regards,

Moorthy