Application Development and Automation 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: 
Read only

Duplicate batch number allocation for prodction order

Former Member
0 Likes
775

Hi friend,

When production order is created a new batch is allocated to it automatically(We have maintained external number range for batch number).

But the problem is occuring when we are creating two prodction at same time. Both of the Production Order getting same batch number.

How to prevent allocating same number for both the production order ?

Regards,

Amit R

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
623

Hi Amit!

Wouldn't you use an <i>internal</i> number range? Then the numbers would be picked out of a number pool and duplicates can't happen any longer (like the document number creation for all the SAP-documents).

Sounds like you have a user-exit for the number definition. Maybe here a number range should be used to get this feature, too.

Regards,

Christian

2 REPLIES 2
Read only

christian_wohlfahrt
Active Contributor
0 Likes
624

Hi Amit!

Wouldn't you use an <i>internal</i> number range? Then the numbers would be picked out of a number pool and duplicates can't happen any longer (like the document number creation for all the SAP-documents).

Sounds like you have a user-exit for the number definition. Maybe here a number range should be used to get this feature, too.

Regards,

Christian

Read only

0 Likes
621

Hi Christian,

I managed to solve it with the help of user exits and table lock funcationality.

Regards,

Amit