cancel
Showing results for 
Search instead for 
Did you mean: 

Two number ranges in a group

Former Member
0 Kudos

Hello,

I am trying to add a second number range into a group, but i can't do!

Here is my problem in detail:

i have number range 490000 - 719999 for material type 2000, and

number range 420000 - 449999 for material type 3000, in the corresponding groups.

I want to add the range 500000 - 509999 into the group with material type 3000.

So i have to brake the first one in two ranges :

1st : 490000 - 499999

2nd: 510000 - 719999.

Is this possible ?

and what steps should i follow to make this change ?

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

thanks

JL23
Active Contributor
0 Kudos

one group can only have one internal and one external number range.

You can reduce the number range for group 2000 to 490000 - 499999

and you can add an interval 500000 - 509999 for group 3000.

But you cannot add the interval 510000 - 719999 to your group 2000, you have to wait until your 490000 - 499999 is exceeded and can then replace the 490000 - 499999 with 510000 - 719999.

Former Member
0 Kudos

Thanks for your reply.

User want this as customization ...

I thought to delete number ranges for 3100 and create a customizing table with those two ranges, which will be checked through a customer exit at material creation. Is this possible?

Or is there any other way to do this ?

Thanks a lot.

JL23
Active Contributor
0 Kudos

with an intelligent ABAPer and userexits is everything possible.

Former Member
0 Kudos

I agree.

BUT,

this is a standard SAP message

SAPLMGMM -> LMGMMI0X -> CALL FUNCTION 'READ_MATERIALTYPE'

exception when sy-subrc = 3 .

Is there any way to by pass this ?

thanks again.

JL23
Active Contributor
0 Kudos

execute SMOD, enter MGA00002 and check the documentation

Former Member
0 Kudos

Thanks,

I check the documentation and i all ready have used this customer exit. BUT if you set a breakpoint at the include ZXMG0U04 and at LMGMMI0X CALL FUNCTION 'READ_MATERIALTYPE' and then run the MM01 tcode you will notice that debugger pass the second breakpoint AFTER the first.

So, what kind of code can be written in the enhancement you told ?

Edited by: stratos_chm on Mar 22, 2011 1:29 PM