cancel
Showing results for 
Search instead for 
Did you mean: 

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

arpita_churi3
Active Participant
0 Kudos

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.

Thanks,

Arpita

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186746
Active Contributor
0 Kudos

Hi,

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

arpita_churi3
Active Participant
0 Kudos

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?

former_member186746
Active Contributor

Hi,

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