2007 Nov 08 9:17 PM
Hi all,
I ahve a small question, I am getting an input file which has materials in it but the format of the material is not fine, so can you please tell me a function module which will change the input materials in the desired manner, for example if the material coming is in the lower case should convert it in the upper and if matrial no. is not of length 18 then it shld also do this.
Thanks
Rajeev
2007 Nov 08 9:30 PM
Hi,
For Convert to Upper case
TRANSLATE it_tab-matnr TO UPPER CASE.
and for conversion of 18 char length use following fm
CONVERSION_EXIT_MATN1_INPUT
a®
2007 Nov 08 9:27 PM
Hi Rajeev ,
CONVERSION_EXIT_ALPHA_INTPUT ,
In this FM importing parameter as type of MATNR.
Regards,
Siva
2007 Nov 08 9:29 PM
Hi,
Please use FM CONVERSION_EXIT_MATN1_INPUT.
Regards,
Ferry Lianto
2007 Nov 08 9:30 PM
Hi,
For Convert to Upper case
TRANSLATE it_tab-matnr TO UPPER CASE.
and for conversion of 18 char length use following fm
CONVERSION_EXIT_MATN1_INPUT
a®