‎2011 Dec 28 2:00 PM
Hi All,
I have to change bunch of po's . I 'm using BAPI_PO_CHANGE(Can Change 1 po at a time), but my problem if for any reason i cannot change one po , then i should roll back the changes made to any po's earluier to processing the current po.
I'm doing a test run and locking all the po's and only if i have no issues with test run and i'm not unlocking the po's until i finish the actual run.
Is there any better approach than this
Thanks in Advance
‎2011 Dec 28 2:02 PM
Call commit only if everything is processed succesfully else do not commit after loop..loop is for yourprocessing of po's one by one..
Nabheet
‎2011 Dec 28 2:07 PM
Hi ,
Is it a good idea to Call commit after the loop only when everything is ok .
So you're saying if i call Call commit once after loop then it would be good for all po's inside the loop and same is inthe case with roll back
Please confirm
Thanks
‎2011 Dec 28 2:21 PM
The idea is you commit if everything ok else no need of rollback changes will already be ineffective..
Nabheet