Application Development 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: 

Material Format

Former Member
0 Kudos
135

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

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos
77

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

3 REPLIES 3

Former Member
0 Kudos
77

Hi Rajeev ,

CONVERSION_EXIT_ALPHA_INTPUT ,

In this FM importing parameter as type of MATNR.

Regards,

Siva

ferry_lianto
Active Contributor
0 Kudos
77

Hi,

Please use FM CONVERSION_EXIT_MATN1_INPUT.

Regards,

Ferry Lianto

former_member194669
Active Contributor
0 Kudos
78

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