cancel
Showing results for 
Search instead for 
Did you mean: 

Check the length of material number

Former Member
0 Kudos

Hi.

In OMSL I have defined a material number length of 13 characters.

In MM01 if I create a material with a number longer than 13 the system send a message u201CThe material number is longer than the length setu201D.

If I create a material with a number shorter than 13 the system donu2019t send any message.

How can I do this check ?

Thanks In advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

From 000000000000000001 to ZZZZZZZZZZZZZZZZZZ

Thanks,

JL23
Active Contributor
0 Kudos

do you really want the user to enter the leading zeros?

I think you have to use the user exit in enhancement MGA00001 to do this check with this number range.

Answers (1)

Answers (1)

JL23
Active Contributor
0 Kudos

if I understand you correct, then you want only 13 digit long material numbers, not longer and not shorter.

How did you define your number range?