Conversion Exits
It should be possible to use most standard SAP conversion exits in the apps. However the following additional conversion exits will be available as part of the standard TCT package.
BESTQ
Stock Category in WM – Output only.
Convert status indicator to description, e.g. instead of ‘S’ ability to show ‘Blocked’.
BSTAR
Physical Inventory Stock Type (IM) – Output only.
Convert stock type to description, e.g., instead of ‘1’ ability to show ‘Warehouse’, or instead of ‘2’ ability to show ‘Quality inspection’.
DOMTEXT,,LINK_LGTYP
Storage Type Description – Output only.
Convert storage type to description, e.g. instead of ‘916’ ability to show ‘Shipping Area Deliveries’.
SOBKZ
Special Stock Type Description – Output only.
Convert special stock type to description, e.g. instead of ‘Q’ ability to show ‘Project Stock’.
NVERS,CHAR<NUM>
Physical Inventory Recount Version – Output only.
Pad Physical Inventory Recount Version to a numeric value based on the value entered for <NUM>, e.g. NVERS,CHAR2 would display ‘01’ instead of ‘1’.
DOMTEXT,<DATA-TYPE>,<PARAMETER>
Displays text instead of the domain value, where <DATA-TYPE> can be used to change the displayed format (if left blank, defaults to CHAR100) and <PARAMETER> is the parameter to be converted - Output only.
Converts the value to the associated standard domain text as per the conversion exit that follows.
Example entries are:
DOMTEXT,,LINK-ISTAT – Inventory Count Status – converts ‘N’ to ‘Not Counted’.
DOMTEXT,,MSEG-SHKZG – Debit/Credit Indicator – converts ‘S’ to ‘Debit’.
DOMTEXT,CHAR3,MSEG-SHKZG – Debit/Credit Indicator – converts ‘S’ to ‘Deb’.
YYMMDD
Year conversion – Input only.
Convert a value of ‘YYMMDD’ to ‘20YYMMDD’, e.g. ‘210101’ would display as, and be passed back to SAP as, ‘20210101’. This is primarily for converting scanned date barcodes in gs1 format.
MATN1, or MATN1,MATNR
Material display.
Removes the need to type / display leading zeroes in numeric materials.
MATN1 for input fields on selection screens (SELECT_OPTS) and display fields on list screens and input screens.
MATN1,MATNR for input fields on input screens.
ALPHA,<DATA-TYPE>,<PARAMETER>
Remove leading zeroes from numeric fields such as transfer order number and delivery number. If no value is entered for <DATA-TYPE> is maintained, a default entry of CHAR100 will be used. A value for parameter is optional.
Example entries are:
Transfer order number – ALPHA,TANUM
Transfer order item – ALPHA,TAPOS
Delivery number – ALPHA,VBELN
Batch – ALPHA,CHARG_D (N.B. if data element CHARG is used to display batches, no conversion exit is required.)
PDATE, IDATE, LDATE, SDATE
Converts the date displayed to the required date format.
Example entries are:
PDATE - 18.11.2020
IDATE - 18NOV2020
LDATE - 18 November 2020
SDATE - 18.NOV.2020
DEC,0,X; DEC,1,X; DEC,2,X; DEC,3,X
DEC means use the float numeric display (decimals).
The number 0, 1, 2 or 3 denotes the number of decimal places.
X (if it is optionally used) means trim off any trailing zeros.
DECIMAL; DECIMAL,,1,X ;etc.
A new conversion exit DECIMAL for use on output fields only.
Its use is different from DEC,3,X (but it does do rounding properly).
To use DECIMAL the same parameter format as for other SAP conversion exits must be followed:
The first parameter is the target data type, then parameters for use within the conversion exit FM, e.g. DECIMAL,,3,X (note the double comma because we do not want to specify a target data type).
DECIMAL
Parameter 1: Target data type
Parameter 2: Number of decimal places
Parameter 3: Trim trailing zeros
Last updated
Was this helpful?