Error while running BAPI BAPI_OUTB_DELIVERY_CHANGE to change delivery quantity
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.