06-29-2007 11:26 PM
Hi,
I have a vendor that i am receiving. I'd like to add the additional zeros to make it a full number.
For example, If a vendor is 111, it should be 000000111. I don't want to create a logic for it - i believe there is a function module available. Please help.
Thanks,
John
06-29-2007 11:33 PM
Hi John,
Please check the function
CONVERSION_EXIT_ALPHA_INPUT
regards
Caglar
06-29-2007 11:53 PM
Dear John,
For vendor (LIFNR) it is CONVERSION_EXIT_ALPHA_INPUT.
Go to the domain of the field that you are using. You would find the conversion exit under output characteristics in field conversion routine. Double click on the routine it would display you both input and output conversion exits.
Go to SE11
-> enter domain.
-> enter the dataelement and display -> double click on domain.
Regards,
Srilatha.
06-30-2007 2:05 AM
Hi John,
To know the FM which will convert the domain values to internal or external format just go tho the domain.
Now in your case domain and data element is LIFNR.
Now if you go to SE11 and chek the EXIT routinee for the domain you can find ALPHA there. So just double click on the same you will get the conversion FM.
In this way you can find for any domain.
Reward points if useful.
Regards,
Atish
06-30-2007 2:22 AM
Hi,
check this
data: v_matnr like mara-matnr,
c_test(10) value '1234'.
unpack c_test to v_matnr.
v_matnr now contains 000000000000001234 .
aRs