Skip to Content

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

Calling BAPI's one after one

Hi,

As per requirement i need to call 3 BAPI's one after one. If any error throws by any BAPI then all changes should be rollback. Could you please tell me how can i achieve that.

Because if i use transaction commit then its not possible to rollback ...so please advice me.

replied

So you mean ... only one trasaction_commit after the last BAPI ... in case if no errors found in any of the above BAPI's...

Yes, give it a try (and post here the result). Otherwise, you cannot achieve your goal.

However, if they are related to each other it won't work, like: create sales order and then create a delivery regarding that salesorder. As I said, in those cases i can only remember of workaround, not good solutions.

Regards,

Valter Oliveira.

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