09-06-2014 12:29 PM
Hello,
I need to change the delivery quantity to 0 for certain deliveries. I am using the BAPI "BAPI_OUTB_DELIVERY_CHANGE" to do this. In the ITEM_DATA data table, I have made two entries - one for the line item and the other for the batch line item. I have also made two entries in the ITEM_CONTROL table. I have pasted screenshots of the table contents in the attachment.
I get the following error in the error table. Error - E,
Id - VL,
Message Number - 198 and no message text.
Pls refer to the attachment. Can anyone pls help me with this.
09-06-2014 12:49 PM
Have you tried to execute VL02N with the same information?
The message VL198 is "Item &: Only &2 &3 from material &4 are available"
Regards,
Felipe
09-08-2014 5:01 AM
Hello Felipe,
In vl02n, an error is thrown if I change the quantity of the line item. So what I need to do here is go to the batch split items for this product, and change the delivery quantity there. Changing the batch split quantity automatically changes the quantity in the line item for this delivery. However changing the quantity using the BAPI throws error 198.