Skip to Content

Auto assignment of batches after delivery creation

We have BSS working as standard on delivery create. One of our businesses has a delivery ATP check which allows them to create deliveries when there is no stock (as long as there is a process order on system).

When the batches are goods receipted from production, they need to go into VL02n and manually re-run the auto batch determination using the Batch determination button within the batch split screen.

They also have to continuously monitor deliveries to be able to do this.

Is there a standard program that will do this or even a BADI etc. that we could call within a custom program? Has anyone else tried this?


Any suggestions / comments?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Sep 29, 2014 at 02:59 PM


    Try with FM: VB_BATCH_DETERMINATION. Note that this FM is not released by SAP, so it could be a problem in a future SAP Enhancement or Release.

    Check this thread:

    Kind Regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Alain,

      You can run FM: VB_BATCH_DETERMINATION at item level.

      Note that you will be filling different tables in order to cal the function, and the delivery and item are entered here:

      I_KOMKH-VBELN = LIKP-VBELN " delivery


      So you will have to create a custom program that will fill the tables needed for FM: VB_BATCH_DETERMINATION and then it will call the function.

      Kind regards,


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.