cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong VL-367 error while creating delivery from multiple sales orders

Former Member
0 Kudos

Hi,

We have a Z program* that runs BAPI_OUTB_DELIVERY_CREATE_SLS with multiple sales order items to create one delivery.

The program runs as a job. The problem is sometimes Bupi turns "VL367 - an item with no delivery quantity..." error for some of the items. But actually we have no availability problem, after a minute in the next job the delivery is being created for those items.

We couldnt find the the state that causes this wrong error. Have any ideas, is there any problem with the bapi ?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You should check if you got other Sales Order that might be have items with quantities confirmed. Quantities confirmed in a sales order will be appear as unrestricted stock, although is reserved, and therefore for example:

Sales Order A: item 10, quantity 10

Unrestricted stock: 10

Sales Order B: item 10 (Same material as Sales Order A), quantity 2

Creating outbound delivery for Sales Order B will generate the message, because that stock is being taken for the Sales Order A already.

Hope it helps.

Former Member
0 Kudos

Did you run this program immediately after finish creating sales order? You might need to ask your abaper to debug it.

Former Member
0 Kudos

no, we dont process the SLS items right after creating them. We will have to debug the bapi. Has anyone encountered with that problem.

Former Member
0 Kudos

Hi Subasi

Just now I got the same issue while crating outbound delivery,

solution: Please check whether the sufficient stock available in supplying plant for creating outbound delivery

Edited by: Ramesh Batta on Mar 7, 2012 3:33 PM