05-23-2006 12:19 PM
Hi,
Is thr any function module which converts the material number to 7 chars.
Regards
Saurabh
05-23-2006 12:21 PM
05-23-2006 12:21 PM
05-23-2006 12:28 PM
05-23-2006 12:43 PM
Hai Sourab
check the code
tables : mara.
*data : v_mat1 type mara-matnr value '00000000000000002N'. "Example 1
data : v_mat1 type mara-matnr value '000000000000000002', ""Example 2
v_mat2 type mara-matnr,
v_len type i.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
EXPORTING
INPUT = v_mat1
IMPORTING
OUTPUT = v_mat2 .
v_len = strlen( v_mat2 ).
write 😕 v_mat2,
v_len.
execute the above code with exact code.
next uncomment the above variable and comment the bellow variable already executed code that is V_mat1 and check it
Thanks & regards
Sreeni
07-28-2011 10:24 AM