cancel
Showing results for 
Search instead for 
Did you mean: 

CSV to RFC

Former Member
0 Kudos

Hi all,

I have created a scenario where i am using the BAPI "BAPI_COSTCENTER_CREATEMULTIPLE" I AM ABLE TO UPLOAD THE RECORDS IN TO THE TABLES SUCCESSFULLY. I want to know how to capture the BAPI return parameter.

For eg: if we craete sales orders using the BAPI. It will return all the sales order numbers that are created..How to capture these sales order numbers?

Help!!! Help!!!

Accepted Solutions (0)

Answers (2)

Answers (2)

udo_martens
Active Contributor
0 Kudos

Hi Arunkumar,

the file adapter works only asynchronous. So you cant get return parameters in a standard way.

You can build a business process like

File->BP (asynchronous)

BP<->RFC (synchronous)

BP->File (asynchronous)

to put the return, for example, into another file.

Regards,

Udo

Former Member
0 Kudos

Hi Udo,

Can you elaborate on this...Do you know any blogs which has a step by step explanation abt this..

Regards

Arun

udo_martens
Active Contributor
0 Kudos

Hi Arun,

plz check out:

<a href="/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter to process CSV data with XI file adapter</a>

<a href="/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14: The same filename from a sender to a receiver file adapter - SP14</a>

Regards,

Udo

bhavesh_kantilal
Active Contributor
0 Kudos

Use a BPM. Call the BAPI Synchronously,

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

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

Is that the only way to do it

Regards

Arun

bhavesh_kantilal
Active Contributor
0 Kudos

If SP 19 or above you can avoid BPM as pointed in this thread. If below Sp 19 you need a BPM,

https://forums.sdn.sap.com/click.jspa?searchID=3090746&messageID=3075228

Regards

Bhavesh