Ansicht
Dokumentation
OIUHS_OIUCM_KOSTL - This function is used for mapping all OIUCM_KOSTL cost centers.
General Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
Functionality
This function module maps the cost center columns that are defined by the OIUCM_KOSTL data element (domain = OICM_KOSTL). If the input Production and Revenue Accounting (PRA) cost center is numeric (the first 2 bytes will be zeros), then the 2 left-most bytes must be truncated. If the input PRA cost center is alpha, then the 2 right-most bytes must be truncated (the last 2 bytes will be spaces).
There is a conversion exit (that was coded by Hubert Jung) tied to the OICM_KOSTL domain that limits the user to input an 8-character cost center string; however, a full 10-character string is saved to the database.
If the cost center input by the user is numeric, first check that the numeric value is between 1 and 99999999 (i.e. < 100000000). If this is true, then the 2 left-most bytes are zeros. In this case, truncate these leading zeros. If the cost center input by the user is alpha, first shift the input string to the left and then verify that the 2 right-most bytes are spaces. In this case, truncate the padding spaces.
Example
Notes
Further information
Parameters
E_CHV_RPT_CDI_COST_CENTER
Exceptions
INVALIDDATAFunction Group
OIUHS_INTEGRATION_EPRZ_EXTCPI1466 during Backup Vendor Master (General Section)
This documentation is copyright by SAP AG.
Length: 1405 Date: 20240523 Time: 144601 sap01-206 ( 39 ms )