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: 

String operations--conversion form Alphanumeric and Numeric

Former Member
0 Kudos

i have a matnr which is less than 18 chars

Now if its numeric I have to put leading 0s and if its alphanumeric i have to put trailing spaces and make it 18 chars

The FM CONVERSION_EXIT_ALPHA_INPUT works for only 8 characters

What can be done in this reagrd

I need a exactly same FM but with support for char 18

1 ACCEPTED SOLUTION

gopi_narendra
Active Contributor
0 Kudos

These are the conversion exits for the MATNR

CONVERSION_EXIT_MATN1_INPUT - Add leading ZERO's

CONVERSION_EXIT_MATN1_OUTPUT - Delete leading ZERO's

Regards

Gopi

5 REPLIES 5

Former Member
0 Kudos

hi

CONVERSION_EXIT_MATN1_INPUT - this is meant for material numbers

if helpful, reward

Sathish. R

gopi_narendra
Active Contributor
0 Kudos

These are the conversion exits for the MATNR

CONVERSION_EXIT_MATN1_INPUT - Add leading ZERO's

CONVERSION_EXIT_MATN1_OUTPUT - Delete leading ZERO's

Regards

Gopi

Former Member
0 Kudos

Hi,

The Function Module <b>CONVERSION_EXIT_MATN1_INPUT</b> is used for Material Number Conversion(Input).

Regards,

Padmam.

Former Member
0 Kudos

hi try this one

CONVERSION_EXIT_MATN1_INPUT - for material numbers(input).

sastry.

Former Member
0 Kudos

thnx