Symptom
- While using function module BAPI_QUALNOT_CREATE to create a QM notification, the production order number is added into field NOTIFHEADER-PROD_ORDER. After that function module BAPI_QUALNOT_SAVE and BAPI_TRANSACTION_COMMIT is executed in sequence. The notification is created, but the field production order (QMEL-FERTAUFNR) remains empty.
- Error QM028 - 'Enter a production order or a production version' is returned while using BAPI BAPI_QUALNOT_CREATE:
"...
Diagnosis
You have specified both a production order and a production version. You can only create a quality notification with reference to a production order or a production version.Procedure
Specify a production order or a production version."
Read more...
Environment
- SAP ERP Central Component
- SAP ERP
- SAP Enhancement package for SAP ERP
- SAP Enhancement package for SAP ERP, version for SAP HANA
- SAP S/4HANA, on-premise
Product
Keywords
QM-QN, QM-QN-NT, Qualitätsmeldung, Fertigungsauftrag, VERID, RM_MATNR18, RM_MATNR40, RM_WERKS, FERTAUFNR, MAP2I_BAPI2078NOTHDRI_RIQS5, CHECK_VIQMEL_F09, SAPLIQS0, LIQS0F09, IQS0_CREATE_NOTIFICATION, SAPLIQS0, LIQS0U01, SAPL2078, L2078U25, Fertigungsversion, Fertigungsauftrag, riqs5-fertaufnr, riqs5-verid, riqs5-rm_matnr, riqs5-rm_werks, yqm, yi, 028, L2078U41, BAPI2078_NOTHDRI-PROD_ORDER, BAPI2078_NOTHDRI-PLANT, BAPI2078_NOTHDRI-MATERIAL_PRODUCTION_LONG, BAPI2078_NOTHDRI-VERSION, BAPI2078_NOTHDRI-MATERIAL_PRODUCTION, QM 028, PROD_ORDER, PLANT, MATERIAL_PRODUCTION_LONG, MATERIAL_PRODUCTION, VERSION , KBA , QM-QN , Quality Notifications , QM-QN-NT , Creating Quality Notifications , 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