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

CONVERSION_EXIT_ALPHA_INPUT

avijit_paul2
Member
0 Likes
686

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
Read only

Former Member
0 Likes
600

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
Read only

Former Member
0 Likes
601

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.