‎2009 Mar 02 10:38 AM
hi,
i saw CONVERSION_EXIT_ALPHA_INPUT . in that fm i found source code.
call 'CONVERSION_EXIT_ALPHA_INPUT' id 'INPUT' field input
id 'OUTPUT' field output.
but where exactly write the source code.
‎2009 Mar 02 10:45 AM
Hello Anitha,
Conversion exits basically utilise SAP Kernel calls to fetch the values. The function exists in the file sapactab.h which is basically a C source code file.
You can get the additional input by doing an F1.
Hope i am clear.
BR,
Suhas
‎2009 Mar 02 10:48 AM
Hello ,
U r question is not clear.
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = v_val
importing
output = v_val.
like this u need call a FM
Thank u
santhosh
‎2009 Mar 02 10:50 AM
Hi,
CALL 'CONVERSION_EXIT_ALPHA_INPUT' ID 'INPUT' FIELD INPUT
ID 'OUTPUT' FIELD OUTPUT.
This FM calls itself and According to the Parameter passed to the Input and Output it adds '0' before the input parameter upto its length.
Suppose input field has value '12'.
And it s length is 8.
So in output it will diaply as '00000012'.
Regards
Sandipan
‎2009 Mar 02 10:50 AM
Hi Anitha,
I have not understood your query propely. So, I may not be able to address your query accurately. About the FM CONVERSION_EXIT_ALPHA_INPUT I can say, it is normally used for formatting value before making updation/searching in databse tables. If you check in databse tables, you will often find that Data element size is often greater than the actual value being inserted. In such cases, entered value is often prefixed with ZEROS (0). This conversion is taken care by this FM. So as a developer, this FM is useful in searching and/or retrieving record from databse table. So, before searching the actual record you can format your search criteria as per actual database table entry.
I hope it will help.
Regards,
Sambaran Ray.