Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to trigger an outbound PO IDoc without creating or changing a PO

Hi,

I need to send an outbound ORDERS05 IDoc for every open PO I find for a given vendor. I have configured my partner profiles OK with message control - these work fine when I create or change a PO - but how do I get an IDoc sent just as it is now i.e. without going into ME21N or ME22N?

I've found reference in the SAP KW to program RSNASTED, and that the message control sends the IDoc without the need for an additional commit work.

I've tested FM IDOC_OUTPUT_ORDERS on its own, and it populates the internal tables perfectly without creating an IDoc, albeit without numbering the segments. How do I send this data into another FM(s) to create the IDoc? I've tried to debug the saving of a PO and haven't seen it go into IDOC_OUTPUT_ORDERS so far, which is odd ...

Many thanks in advance,

Peter

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question