Symptom
For ERP systems above release 618 and SAP S/4HANA systems, the length of material number has been extended from 18 to 40 characters, but the original "MATERIAL" field in SD SALES BAPI can only accept 18 characters. Below see the BAPIs affected by this change:
- BAPI_SALESORDER_CREATEFROMDAT2
- BAPI_SALESORDER_CHANGE
- BAPI_SALESORDER_GETLIST
- BAPI_SALESORDER_SIMULATE
- BAPI_INQUIRY_CREATEFROMDATA2
- BAPI_QUOTATION_CREATEFROMDATA2
- BAPI_CUSTOMERINQUIRY_CHANGE
- BAPI_CUSTOMERQUOTATION_CHANGE
- BAPI_GOODSMVT_CREATE
- BAPI_CUSTMATINFO_GETLIST
"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
- Sales And Distribution (SD)
- Logistics Execution (LE)
- 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
Keywords
Material Field Length Extension, material, material number, material code, length, 18, 40, MARA-MATNR, MATNR, release 618, S4HANA, S/4HANA, S4 HANA, S/4 HANA, characters, characteristics, BAPI, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CHANGE, BAPI_SALESORDER_GETLIST, BAPI_SALESORDER_SIMULATE, BAPI_INQUIRY_CREATEFROMDATA2, BAPI_QUOTATION_CREATEFROMDATA2, BAPI_CUSTOMERINQUIRY_CHANGE, BAPI_CUSTOMERQUOTATION_CHANGE, BAPI_GOODSMVT_CREATE, BAPI_CUSTMATINFO_GETLIST, BAPISDITEM, BAPISDITM, MATNR18, MATNR40, MATERIAL_LONG , KBA , SD-SLS-GF-IF , Sales Documents BAPI's , SD-SLS-SO , Sales Orders , LO-MD-MM , Material Master , How To
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.