HI All
In our system, when we create or change any salesorder, a Purchase requisition is always created.
My requirement is to change a material in the salesorder using BAPI_SALESORDER_CHANGE, then a new purchase requisition line item is created, and using that PR i have to create purchase order .
So this is the sequence "SO change--
->PR
--->PO".
But I want to only commit, after the PO creation, not in between.If anything fails in between i want to roll back everything including sales order change.
So here comes the problem, because i am not commiting this after salesorder change, i am not getting PR and hence i will not be able to create an PO.
Please let me know if i can anyway get the PR without committing the Salesorder change, or suggest me anyother way to acheive this?
I tried to search in the Forum, but couldnt find anything related to my problem.
Regards,
Robin