2017 Oct 18 10:25 AM
Hi all,
My requirement is to filter the PO Items to be triggered in an IDOC (ORDERS05) based on a Plant.
So, I've gone for a Routine (VOFM->Requirements->Output control->Application EF). Kindly find the piece of routine code as an attachment. cuserssyarn1desktop945.png
But the routine is triggering only once for the entire PO with has multiple line items. So I can stop the entire IDOC to be trigger based on unsatisfied Plant. Where as the requirement is to be stop only the items w.r.t Plant.
Kindly let me know the solution whether it is possible through ABAP Code or any Customization. If yes, then how?
Thank You.
With Regards,
Sudhir.
2017 Oct 18 5:56 PM
So you want to get an IDoc but only with the items that have a specific plant? Why?
You probably still need the requirement routine in case there are no eligible items at all. But to get a "reduced" IDoc data you'd have to use either an IDoc user exit or a custom output program.