Calling BAPI's one after one
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.
Valter Oliveira 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.