Skip to Content
0
Feb 17, 2011 at 11:10 AM

BAPI_INCOMINGINVOICE_CREATE - a rolling back errors question

90 Views

I need to use this BAPI to create an invoice and a credit memo against the same purchase order in one 'hit'. If the second call to the BAPI fails, I want to rollback both sets of changes. IIt's been fixed in my mind for a while now that this is not possible.; that if you call this BAPI you have to complete the process by committing or rolling back the changes before calling it a second time. However, I've done a bit of testing and doing the commit / rollback after the second call seems to be working fine.

Has anyone else done this sort of thing successfully in Production? I don't want to tell them that it is possible and make them really happy and then find out that I was wrong.