Skip to Content

Re trigger Purchase Order workflow for Multiple PO's For Purchase Requisition

Mar 07 at 04:48 AM


avatar image

Hi All,

The requirement is that , In Purchase Requisition workflow, IF PR price is greater

than PO price then restart PO workflow.

I am facing below issue : When PR is created with respect to multiple PO's. how to re- trigger workflow for multiple purchase orders.

I have all PO numbers into one internal table GT_PO[]-EBELN which i have selected from EKPO for purchase Requisition number (BNAFN).

I am able to re trigger PO workflow if there is single Purchase order by calling event RELEASESTEPCREATED of BOR BUS2012. How to do the same for multiple PO's.



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rob Dielemans Mar 07 at 10:58 AM


Well in that case if you retrieve the list of PO's which should be retriggered. Then create a simple subflow with a create event step and then call that subflow as a task in your workflow and bind the mutliline element container in the miscellaneous tab.

Kind regards, Rob Dielemans

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thanks Rob.

Do i need to take loop statement of workflow to pass values from multiple container one by one to the step which as releasestepcreate event?



No you don't need to do that. There are multiple examples on this space on how to do this, just search for workflow multiline element container.

Good luck!

Kind regards, Rob Dielemans