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

External Batch number determination from the number range

Hi All,

During the GR in MIGO, the Batch number should be externally assigned based on the number range(The number range will be decided based on the plant). However it should be custom programmed to determine the next unused number based on the number range. When I had tried using the FM NUMBER_GET_NEXT passing the number range and the object, I discovered that this FM is used to determine only for next unused internal number and not for external numbers.

Can any one of you please help me how can i determine the next unused number based on the external number range ?

Thanks,

Sakshi.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2012 at 06:40 AM

    Hi,

    I think the only option left is to go to the corresponding table (MCHA) for the material, plant and get the highest batch.

    Then increase the number by one to get the next batch.

    Regards,

    SP.

    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.