Ansicht
Dokumentation
CONVERSION_EXIT_ALPHA_INPUT - Conversion exit ALPHA, external->internal
BAL Application Log Documentation TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Do not call this function module directly. If you want to use the ALPHA conversion directly from an ABAP program, use the string templates with “Format Options”. More information can be found in the ABAP keyword documentation: String Template Format Options
ALPHA conversion is often used with account numbers. In conversions from the external to the internal format, the system checks to see whether input in the INPUT field is purely numeric (that is, if this input consists only of numbers, possibly with spaces before and after them). If this is the case, then the number string is inserted right-justified in the display field OUTPUT and all spaces to the left of the value are filled with zeros ('0'). If the input is not purely numeric, it is inserted in the display field from left to right and all extra spaces are filled with blanks.
Examples: (Input field and output field are both eight characters in length)
- '1234 ' --> '00001234'
- 'ABCD ' --> 'ABCD '
-
' 1234 ' --> '00001234'
Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner. The short dump CONV_EXIT_FIELD_TOO_SHORT is raised if the reserved length of the input field does not fit in the output field.
Parameters
INPUTOUTPUT
Exceptions
Function Group
ALFABAL Application Log Documentation RFUMSV00 - Advance Return for Tax on Sales/Purchases
This documentation is copyright by SAP AG.
Length: 1607 Date: 20240523 Time: 091216 sap01-206 ( 45 ms )