Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Triggering Terminating Event when BDC method fails

Hello experts,

Due to the restriction of the standard BAPI (incapable of changing qty/date of PurReq with subcontracting item), I have to use BDC in an object method. The method is defined as asynchronous and thus requires terminating events. Two such events were defined to indicate the 'success' or 'failure' of the BDC. The Pur Req's change document is used to raise the 'success' terminating event once the BDC has successfully updated the Pur Req and it seems to work in the desired way.

Now my question is: <b>what is the best approach to capture failure of the BDC</b>? I tried to use Deadline Monitoring Requested End/Process Control combination to raise the 'failure' event when the time limit exceeds. However, SAP does not recommend having a task in one branch of the fork raising an event for another branch in the same fork.

Another question is: <b>whether it is possible to pass error messages from BDC back to the task container</b>.

Thank you in advance for any help.



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question