SAP Knowledge Base Article - Preview

2489676 - how to use long material number in SD SALES BAPI

Symptom

For ERP systems above release 618 and S4HANA 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. Here, the BAPIs affected are:

  • BAPI_SALESORDER_CREATEFROMDAT2
  • BAPI_SALESORDER_CHANGE
  • BAPI_SALESORDER_GETLIST
  • BAPI_SALESORDER_SIMULATE
  • BAPI_INQUIRY_CREATEFROMDATA2
  • BAPI_QUOTATION_CREATEFROMDATA2
  • BAPI_CUSTOMERINQUIRY_CHANGE
  • BAPI_CUSTOMERQUOTATION_CHANGE

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

Product

SAP ERP Central Component all versions ; SAP ERP all versions ; SAP R/3 Enterprise all versions ; SAP R/3 all versions ; SAP enhancement package for SAP ERP all versions ; SAP enhancement package for SAP ERP, version for SAP HANA all versions

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 , 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 ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.