SAP Note 747422 - Replace internal units with ISO codes - modification

Component : Confirmation Goods/Services -

Solution : https://service.sap.com/sap/support/notes/747422 (SAP Service marketplace login required)

Summary :
Post implementing Note 156883 in the R/3 Backend, IDocs sent from the EBP server include goods receipt unit as an internal code, causing a posting mismatch due to a disparate unit of entry expectation (ISO code). The malfunction affects the mapping in subroutine MAPPING_GR_FOR_BACKEND, part of BBP_CF function group. The fix involves modifying this subroutine in Include LBBP_CFF60 to convert internal unit codes to ISO codes using the 'UNIT_OF_MEASURE_SAP_TO_ISO' function, and adjusting subsequent data movements to incorporate these converted units. Implementation of Note 739688 is required beforehand for compatibility.

Key words :
iso code           call function 'unit_of_measure_sap_to_iso'              exporting                sap_code = it_pd_item-unit              importing                iso_code = lv_unit_iso, delete-block begin       move  it_pd_item-unit, delete-block end         move  it_pd_item-description, insert-block begin       move lv_unit_iso, insert-block end, function module exit_sapllmde_002, function group bbp_cf, move  it_pd_item-be_refobj, move  it_pd_item-be_refobj_item+5, move  it_pd_item-be_stge_loc

Related Notes :

739688ISO code for unit of measurm. missing (correct. Note 737891)
156883IDoc WMMBXY: Units with ISO codes