2010 Nov 17 10:25 AM
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,
2010 Nov 17 10:34 AM
This function module works perfectly even if the material number length is 14 or more. Something wrong with your code.
2010 Nov 17 10:51 AM
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
2010 Nov 17 10:39 AM
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
2010 Nov 17 10:54 AM
Thanks Madhukar,
Yes I can use this F.M. but just wanted to understand the problem with CONVERSION_EXIT_MATN1_INPUT.
2010 Nov 17 10:57 AM
2010 Nov 17 10:58 AM
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
2010 Nov 17 11:01 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |