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:


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.

Has anyone some coding example?

I'd appreciated it.

Best regards


Former Member
Not what you were looking for? View more on this topic or Ask a question