cancel
Showing results for 
Search instead for 
Did you mean: 

SOA/BPM: Can this be acheived in SAP?

Former Member
0 Kudos

We want to create/update a Customer Master data. So we we send a message (IDOC) via the Websphere Message Broker to SAP/3.

Now in a pure EAI approach there is no process for escalation of errors in the in creation/update of Customer Account data becasue when the data is sent to SAP, a code will be returned to indicate if this was successful and there after the actual create/update process is internal to SAP. In other words, it is invisible to the business process. Basically all we can know is that the SAP team have to do something, they may have done it. However, we have no way of being certain that it has been done.

From SOA/BPM approach (if it were possible in SAP), an error in the customer account create/update would be escalated via the process as a human task, or perhaps automated recovery can be used. We would not expect SAP to take any further responsibility. This is better for business process exceptions (as opposed to transient technical ones) as lets face it, the problem then is most likely in the process and/or data rather than SAP.

So is there a way of implementing a true BPM scenario when integrating with SAP? Basically, data is sent to SAP, SAP processes it immediately and sends back a status code synchronously to indicate whether the IDOC was processed successfully or not, preferably.

If this possible, how would one put a solution like this into place?

Accepted Solutions (0)

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>Basically, data is sent to SAP, SAP processes it immediately and sends back a status code synchronously to indicate whether the IDOC was processed successfully or not, preferably

sure there are many ways to implement it in SAP

1. you can use a BAPI instead of IDOC to create customer:

BAPI_CUSTOMER_CREATEFROMDATA1

you call it in a sync way and get teh response immediately

2. if you want to use IDOC, IDOCs in ERP can start w workflow

which can send in an async way a response to anywhere

about what did the idoc do (error, success)

so sure it's possible

Regards,

Michal Krawczyk