cancel
Showing results for 
Search instead for 
Did you mean: 

Batch Number Assignment

Former Member
0 Kudos

Hallo, everyone,

I'm developing a solution for individual batch number assignment.

When a user creates a process order, the batch number should be generated according to following rules:

XXYY000001

XX - chararater, depends on the material master data, e.g. RL for material group 0001 (just an example).

YY- year, z.B. 08 for 2008

000001 - 6-digit number, starting from 000001 for every new year.

I have already found the userexit to define the rules. But what I'm still looking for is how to define the number range object. How can I combine the customizing of the number range object and the user exits to make the whole solution reasonable?

Best regards

Yong

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I suggest you to sit down with your abaper to create logic statement in user exit. I had the same situation last time when I need to enter batch number base on system date automatically during GR. For your case, ask abaper to take into account system date, number range and mara table.

Thanks and best regards,

Mahnansa

Answers (0)