Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Update main workflow container from In-Progress Subworkflow


I have a requirement where I need to update a main workflow container element from a sub-workflow, while the sub-workflow is still running. (In-Progress)

I have tried using the FM SAP_WAPI_WRITE_CONTAINER in sub-workflow, but it returns an error saying "Cannot call WAPI interface 'SAP_WAPI_WRITE_CONTAINER' in this context".

I have also tried FM SWW_WI_CONTAINER_MODIFY, but it does not update at all.

I have also tried triggering an even in sub-workflow, which in turn triggers a class method, but it gives an errors saying "WF locked"

Please let me know if you have any other strategies.



Not what you were looking for? View more on this topic or Ask a question