Ansicht
Dokumentation
UNIT_OF_MEASURE_SAP_TO_ISO - Converts an SAP measurement unit code into ISO code
Addresses (Business Address Services) TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functions
This function module converts the SAP internal measurement unit code into the internationally normed ISO measurement unit code.
If no entry is found with the specified SAP code, the exception NOT_FOUND is raised;
If the ISO code for this entry is not entered (initial), the exception NO_ISO_CODE is raised.
Example
DATA: ISO_MEASURE_UNIT LIKE T006-ISOCODE,
SAP_MEASURE_UNIT LIKE T006-MSEHI,
SAP_MEASURE_UNIT = 'ST'.
CALL FUNCTION 'UNIT_OF_MEASURE_SAP_TO_ISO'
EXPORTING SAP_CODE = SAP_MEASURE_UNIT
IMPORTING ISO_CODE = ISO_MEASURE_UNIT
EXCEPTIONS NOT_FOUND = 1
NO_ISO_CODE = 2.
After the above call, ISO_MEASURE_UNIT contains the value 'PCE' (ISO code for 'piece').
Parameters
ISO_CODESAP_CODE
Exceptions
NOT_FOUNDNO_ISO_CODE
Function Group
SCV0ROGBILLS - Synchronize billing plans General Material Data
This documentation is copyright by SAP AG.
Length: 1654 Date: 20240523 Time: 133457 sap01-206 ( 18 ms )