Skip to Content
author's profile photo Former Member
Former Member

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 24, 2008 at 03:03 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.