Skip to Content
0

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

Oct 18, 2017 at 09:25 AM

28

avatar image
Former Member

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.

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

1 Answer

Jelena Perfiljeva
Oct 18, 2017 at 04:56 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded