SAP Knowledge Base Article - Preview

3275442 - ISO unit overwritten by material base unit in Idoc or BAPI when creating Purchase Order

Symptom

You would generate a Purchase Order from an Idoc message type PORDCR1 or directly in the BAPI function BAPI_PO_CREATE1. As input, You give a Material with base Unit of measure "A" , variable order unit active and a manual input commercial or ISO unit "B". Upon running the Idoc or BAPI, you notice that instead your manual input unit "B" or even the customizing unit "Bb" the system takes the base unit "A" from the Material master data. 

Example: You have a material with base unit "KG". The Unit of Measure in the Idoc sent to SAP is in ISO Unit "Case" , "CS". In the generated STO the result is "KG" even if the expected equivalent Unit as per customizing configuration (t-code CUNI) would be "CV". 


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/4HANA

Product

SAP ERP all versions ; SAP S/4HANA all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

Keywords

ISO unit, ISO code, base unit, commercial unit, base unit of measure, BAPI_PO_CREATE1, BAPI_IDOC_INPUT, PO_UNIT, PO_UNIT_ISO, ORDERPR_UN, ORDERPR_UN_ISO, ISO code, ME23n. , KBA , MM-PUR-PO-BAPI , BAPIs - Purchase order , MM-PUR-PO , Purchase Orders , MM-PUR-GF-EDI , Electronic Data Interchange , 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.