Skip to Content

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

Using INVOIC01, IDOC posts invoices against POs that weren't sent to vendor

Does anyone have any suggestions on how to prevent the IDOC INVOIC01 invoices from posting against POs that were not originally sent to the vendor?? (BSART = INVO)

For example, vendor (1521) sends an electronic invoice file processed as an IDOC. Vendor 1521 includes an invoice against a PO that was sent to vendor 7549. Since the PO exists, the IDOC posts against it. I want to make this a hard error (a 51 status).

Please help,


Former Member


Use the Customer Function EXIT_SAPLIEDI_101 to check if a PO exists for an Invoice. If it doesn't have an Invoice, then use the Same Customer Function to Error out the IDoc with Status 51.

Thanks and Regards,

Venkat Phani Prasad Konduri

0 View this answer in context

Helpful Answer

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