Skip to Content

PO IDOC ORDERS05: How to filter the PO Items while triggering an IDOC based on a Plant

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 18, 2017 at 04: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.

    Add comment
    10|10000 characters needed characters exceeded