Fix Readme
Abstract
As described in SAP Note 2215424, in SAP S/4HANA, the maximum length of the fields that handle the material number was extended from 18 to 40 characters. To ensure compatibility with other versions and existing interfaces, existing fields in BAPIs kept their original length. A new field was added at the end of the structure to support up to 40-character material numbers.
Content
Z_BC_CREATE_PURCHASEREQ_N_BAPI
Z_BC_CREATE_PURCHORDER_BAPI
Z_BC_UPDATE_PURCHORDER_BAPI
Z_BC_CREATE_RESERVATION_BAPI
Z_BC_CREATE_GOODISSUE_BAPI
** set GOODSMVT_ITEM **********************************
…
*** begin of issue #345561
* GOODSMVT_ITEM-MATERIAL = ISSUES-MMATNR.
GOODSMVT_ITEM-MATERIAL_LONG = ISSUES-MMATNR.
*** end of issue #345561
…
Z_BC_CREATE_PURCHASEREQ_N_BAPI
** set PRITEM **********************************
…
*** begin of issue #345561
* PRITEM-MATERIAL = REQUISITIONS-MMATNR.
PRITEM-MATERIAL_LONG = REQUISITIONS-MMATNR.
*** end of issue #345561
** set PRITEMX **********************************
…
*** begin of issue #345561
* PRITEM-MATERIAL = REQUISITIONS-MMATNR.
* PRITEMX-MATERIAL = 'X'.
PRITEMX-MATERIAL_LONG = 'X'.
*** end of issue #345561
Z_BC_CREATE_PURCHORDER_BAPI
*** set ORDER_ITEM **********************************
…
*** begin of issue #345561
* POITEM-MATERIAL = ORDERS-MEMATN.
POITEM-MATERIAL_LONG = ORDERS-MEMATN.
*** end of issue #345561
*** set ORDER_ITEMX **********************************
…
*** begin of issue #345561
* POITEMX-MATERIAL = 'X'.
POITEMX-MATERIAL_LONG = 'X'.
*** end of issue #345561
Z_BC_UPDATE_PURCHORDER_BAPI
*** set ORDER_ITEM **********************************
…
*** begin of issue #345561
* POITEM-MATERIAL = ORDERS-MEMATN.
POITEM-MATERIAL_LONG = ORDERS-MEMATN.
*** end of issue #345561
*** set ORDER_ITEMX **********************************
…
*** begin of issue #345561
* POITEMX-MATERIAL = 'X'.
POITEMX-MATERIAL_LONG = 'X'.
*** end of issue #345561
Z_BC_CREATE_RESERVATION_BAPI
*** RESERVATIONITEMS Data
*** begin of issue #345561
* RESERVATIONITEMS-MATERIAL = RESERVATIONS-MMATNR.
RESERVATIONITEMS-MATERIAL_LONG = RESERVATIONS-MMATNR.
*** end of issue #345561
Was this topic helpful?
Document Information
Modified date:
31 October 2019
UID
ibm11098081