cancel
Showing results for 
Search instead for 
Did you mean: 

+*FILE to BAPI'S*+

Former Member
0 Kudos

HI EXPERTS,

I AM FRESHER IN BPM.

HERE IS A SCENARIO I HAVE TO IMPLEMENT.

A TEXT FILE(SALES) WAS RECEIVED AND IT SHOULD BE SEND TO XI(BPM) WHICH WILL BE CONNECTED TO 4 BAPI'S . HERE THE SCENARIO IS, BASED ON THE FIRST BAPI RESPONSE , SECOND BAPI REQUEST WILL BE GENERATED.

BASED ON SECOND BAPI RESPONSE, THIRD BAPI REQUEST IS GENERATED. AND FOURTH BAPI IS GENERATED BASED ON THIRD BAPI RESPONSE.

I THINK I GAVE SUFFICIENT INFORMATION.

POINTS REWARDED..........

THANKS IN ADVANCE.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Avoid using BPM for this. Create a Server Proxy and call the BAPI's inside the proxy.

Regards,

Former Member
0 Kudos

hi can u send me abt that pls......

Former Member
0 Kudos

Hi,

Once you create a server proxy and move all the data from the file via XI to ERP then all you have to do is play around with your internal table and post data to BAPI1.

If that is a success take the response and call BAPI2 and so on till BAPI4 else using Fault Messages throw an error..

Regards,

Answers (1)

Answers (1)

Former Member
0 Kudos

Create a server proxy via:

Txn SPROXY

Go to the proper node for your SWC.

Right click on Inbound Message Interface and create server proxy. Mention the package and prefix (e.g. Z_)

After the proxy gets generated activate it.

Go to the implementing Class.

If it the sych scenario you will get a skeleton of method:

EXECUTE_SYNCHRONOUS

for Asynch. case the method will be:

EXECUTE_ASYNCHRONOUS

Implement the code i.e. reading the file and calling the RFC one by one within the method. Handle error appropriately.

Former Member
0 Kudos

HI shibaji,

Can u just tell me more elaborately from implementing class. Where is implementing class available.

As i am fresher to Proxy. I need some more help from you.

I will award complete reward points, if this problem was solved.

thanks in advance.

Edited by: SAP XI on Jun 19, 2008 9:41 AM

Former Member
0 Kudos

I will give full points if solved

thanks in advance.....