Symptom
When running BAPI_PO_CREATE1, you entered condition value in the parameter, but the value becomes different in the created PO.
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/4HANA
- SAP S/4HANA Cloud
Reproducing the Issue
-
Fill condition value , for example PBXX=10 together with other necessary data in BAPI_PO_CREATE1.
- Execute the BAPI and run commit work.
- Check the created PO, the condition value becomes unexpected value instead of 10.
Cause
Missing currency in the corresponding condition type in BAPI parameter.
Resolution
Maintain currency together with condition value in the BAPI.
Keywords
ECC, currency, condition, BAPI, PO, unexpected, change, value, different