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

F.M. CONVERSION_EXIT_MATN1_INPUT

Former Member
0 Likes
1,501

Hi all,

I am using the standard function module CONVERSION_EXIT_MATN1_INPUT. I've materials with length greater than 14 and this function module gives dump if the material is greater than 14. The data element for material has length 18. So , the f.m appends minimum of 4 zero's.

Can anyone suggest me something for this behaviour of function module.

Thanks,

Hi all,

I am using the standard function module CONVERSION_EXIT_MATN1_INPUT. I've materials with length greater than 14 and this function module gives dump if the material is greater than 14. The data element for material has length 18. So , the f.m appends minimum of 4 zero's.

Can anyone suggest me something for this behaviour of function module.

Thanks,

7 REPLIES 7
Read only

Former Member
0 Likes
1,224

This function module works perfectly even if the material number length is 14 or more. Something wrong with your code.

Read only

0 Likes
1,224

Hello Vinod,

I am working in 4.6 C and in this the function module gives an error if I try to use it for materials greater than 14

Read only

Former Member
0 Likes
1,224

HI,

If your requirement is of pading zero then use the FM CONVERSION_EXIT_ALPHA_INPUT. As you said it is giving error for more then 10 char of material.

Regards,

Madhukar Shetty

Read only

0 Likes
1,224

Thanks Madhukar,

Yes I can use this F.M. but just wanted to understand the problem with CONVERSION_EXIT_MATN1_INPUT.

Read only

0 Likes
1,224

Paste your code

Read only

0 Likes
1,224

HI,

If you check the FM then they have use one table TMCNV(Data on Material Numbers Conversion) this table is of Material conversion data , if u check in this table they have set the material lenght to 10. So it is not allowing more then 10 lenght material.

Regards,

Madhukar Shetty

Read only

0 Likes
1,224

Hello

For 4.6

Look at table TMCNV. LMATNR and LNGEFF must be 18.

If it is not so, that goto view V_TMCNV and maintain value 18.