‎2008 Apr 11 8:28 AM
hi,
when we use function module CONVERSION_EXIT_ALPHA_INPUT?
what does this function module do?
‎2008 Apr 11 8:31 AM
Hi
Conversion exit ALPHA, external->internal
ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if 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 zeroes ('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.
Example:
(Input field and output field are both eight characters in length)
1. '1234 ' --> '00001234'
2. 'ABCD ' --> 'ABCD '
3. ' 1234 ' --> '00001234'
Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.
‎2008 Apr 11 8:31 AM
Hi
Conversion exit ALPHA, external->internal
ALPHA conversion is used especially with account numbers. During conversion from the external to the internal format, the system checks to see if 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 zeroes ('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.
Example:
(Input field and output field are both eight characters in length)
1. '1234 ' --> '00001234'
2. 'ABCD ' --> 'ABCD '
3. ' 1234 ' --> '00001234'
Conversion from the internal to the external format (function module CONVERSION_EXIT_ALPHA_OUTPUT) is undertaken in exactly the opposite manner.
‎2008 Apr 11 8:39 AM
Hi,
1.Just this function module add the leading zeroes to the input value.
like:input of this function module is 45600
output is 00045600.
Regards,
If helpful reward with points(Don't forget).
‎2008 Apr 11 8:49 AM
Hi
Certain fields values in certain Tables were maintained in such a way that when you see the data in table format it appears with one value and when display that record it shows another value:
for example PARVW (partner function) field in KNVP or VBPA table has 2 values
'SP' outsideand in the table it is displayed as 'WE'.
similalry the field ATINN in the table AUSP.
when you store the value of KUNNR in table it is stored as 0000012435.
but when we use we enter just 12435.
so to convert these fields from one value to other (which are acceptable)
we use this CONVERSION_EXIT_ALPHA_INPUT/OUTPUT.
when we want 18 char material value for a value of 8 char we use this.
Regards
Kiran
‎2011 Aug 09 4:27 PM