Error in BAPI_OUTB_DELIVERY_CHANGE
I developed a program to upload serial no's for a delivery no and the serial nos data will be in a text file. by passing this file we have to upload data..
program is working fine and it is uploading data into vl02n
but for some times its througing an error like error type E class IO no 299(Batch for serial number &1 (&2) differs from document batch &3).
in a text file i have 2 item no's for each item i have batch and each batch having no of serial nos for the first item its uploading successfully and for the next item its showing the above error.
i thought that those serial no's have already uploaded for any other delivery so i checked in objk table serial number field those serial no's of second item doesnot exist..
what could be the problem???
can any one please help me???