Good day to all. .
I am using the function module CONVERSION_EXIT_ALPHA_INPUT predefined function module if i am giving the parmeter as database filed type integer means its giving the correct out put as shown in sample program.
if i am giving the parmeter as database filed type as char its not giving the output correctly and getting the output as what i am giving as input.
data: input type Mseg-mblnr value '23', OUT(18) type C.
data: input OUT type Mseg-MAT_KDPOS value '23', OUT type Mseg-MAT_KDPOS.( for this o/p 000023)
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
INPUT = input
OUTPUT = OUT.
now its giving the output correctly
o/p: 000000000000000023 ( length is 18 so its adding 16 0's and actual value 23)
data: output type mara-matnr value '23', OUT type mara-matnr.
it giving the output as 23 but i need the output as previous
could any one please give the solution for this