Application Development 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: 

CONVERSION_EXIT_ALPHA_INPUT

avijit_paul2
Member
0 Kudos

when i use the following code  


data : v_matnr1 type matnr.  

CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'    

EXPORTING      

INPUT  = v_value    

IMPORTING      

OUTPUT = v_matnr1.

for example in run time if v_value = 38 and v_matnr1 = 0000000038.

but if i'm hard code the value like write: / v_marnr1. then show only 38.

why ?

pls give the answer...

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Avijit,

if we use sap standard list output all the o/p variables of data type I, P will not display preceeding ZERO's.

If you want to see the preceeding ZERO's either you have to to go with ALV GRID or LIST Display to Display or convert the data using data types C,N,string.

--------------------------------------------------------------------------------------

warm regards,

Uday Reddy.

1 REPLY 1

Former Member
0 Kudos

Hi Avijit,

if we use sap standard list output all the o/p variables of data type I, P will not display preceeding ZERO's.

If you want to see the preceeding ZERO's either you have to to go with ALV GRID or LIST Display to Display or convert the data using data types C,N,string.

--------------------------------------------------------------------------------------

warm regards,

Uday Reddy.