Hi Experts,
I am using BBP_PD_PO_UPDATE and BBP_PD_CTR_UPDATE to change existing lines / add new lines to contracts and POs. We have activated process controlled workflow for both documents. For POs there is a approval workflow and for contracts it automatic workflow by system. The FMs work absolutely fine. When I use these FMs to change / add new items I am seeing a change version created in BBP_PD and change version is in awaiting approval. But the problem is I don't see any WF instance or workitem related to the WF. If I do simillar changes using webui I see WF instance for change version in BBP_PD. So it is cleat that there is nothing wrong with WF setup. There is some issue with the way updating / Saving is happening using these FMs.
The call stack i am following is
- BBP_PD_CTR_UPDATE with i_park = 'X' and i_save = 'X'
- BBP_PD_CTR_SAVE
- COMMIT WORK AND WAIT
same call stack as above is followed for POs as well with PO related FMs
thanks,
sankar.