Symptom
Error "M8366 - Terms of payment are incorrect" occurs when posting an invoice using BAPI_INCOMINGINVOICE_CREATE if both the payment term (field name PMNTTRMS) and the detailed payment term information (file names: DSCT_DAYS1, DSCT_DAYS2, NETTERMS, DSCT_PCT1, DSCT_PCT2) are simultaneously entered in the header structure (HEADERDATA).
DISCLAIMER: Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- Materials Management (MM)
- SAP ERP Central Component
- SAP ERP
- SAP enhancement package for SAP ERP
- SAP enhancement package for SAP ERP, version for SAP HANA
- SAP S/4 HANA
Product
Keywords
Terms of payment, Cash (Prompt Payment) Discount Days, Cash Discount Percentage 1, Cash Discount Percentage 2, Cash Discount Percentage, days1, days2, Zahlungsbedingung , KBA , MM-IV-LIV-BAPI , BAPI , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview