Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Batch Number Assignment

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

replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question