SAP Knowledge Base Article - Preview

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


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". 



•Materials Management (MM)
•SAP ERP Central Component
•SAP enhancement package for SAP ERP
•SAP enhancement package for SAP ERP, version for SAP HANA
•SAP Fiori


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.