Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

function module

Former Member
0 Likes
503

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.

4 REPLIES 4
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
463

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

Read only

Former Member
0 Likes
463

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

Read only

Former Member
0 Likes
463

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

Read only

former_member755502
Participant
0 Likes
463

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.