cancel
Showing results for 
Search instead for 
Did you mean: 

material number range

ying_zeng2
Explorer
0 Kudos

Hello experts,

I maintain the material number range in MMNR,

the number range of material type ZSTO is FA000000000 to FA999999999, external number range .

However I find I can assign any material number begin with FA, whatever the length, for example, I can input material FA99 , could you tell me how can I strict the material number lenghth is only 11 ?

Accepted Solutions (1)

Accepted Solutions (1)

andrea_brusarestelletti
Active Contributor
0 Kudos

Hello,

I don't know if there's a better way to do that, anyway you can use userexit EXIT_SAPLMG02_002 to influence the material number manually entered by the user, for example checking a minimum lenght and issuing an error message if it's not reached.

Hope to be useful.

Best regards,

Andrea

ying_zeng2
Explorer
0 Kudos

thank you for you help. Maybe if no better solution, abap is the best solution.

Answers (1)

Answers (1)

former_member824495
Active Contributor
0 Kudos

Hi,

You could have do that by maintaining number range as 10000 to FA99999.

As you are giving special characters or Alphabets, system accepts it, If you maintain number range as I said, in that case too, system will accept FA1 number. But when you try to maintain 9000 which is less than 10000, system won't accept it.

Regards,

Piyush

ying_zeng2
Explorer
0 Kudos

thank you for you help, but I want the material number begin with FA. How can I do it ?

ying_zeng2
Explorer
0 Kudos

I want to maintai two material type with below material number ranges:

ZMOT: FA000000000~FA999999999

ZMOB: FB000000000 ~FB999999999

So I can't use 100000000000~ FA999999999, becuase cover the FB000000000 ~FB999999999

former_member192897
Active Contributor
0 Kudos

It may be controlled through EXIT_SAPLMG02_002 Customer Exit: External Material Number Assignment

You can discuss your requirement with your technical team such that system should automatically increment +1 for the material when ever user creates new material using mm01 with that material type.

Just check it.