cancel
Showing results for 
Search instead for 
Did you mean: 

Error with SAP B1 Client: cannot add row without complete selection of batch/serial numbers

former_member209954
Participant
0 Kudos

Dear SAP Community,

I have a problem and I was wondering if someone could share some light about it. In short, when using either the SAP B1 Client or SAP's DI API, I get the following error when trying to receive inventory for a particular purchase order:

"cannot add row without complete selection of batch/serial numbers".

Allow me to illustrate this problem with numbers: I'm trying to receive an item whose inventory unit of measure is ounces "ozt" but the purchased quantity unit of measure is in kilograms "kg". The purchase order line specifies that the items per unit is 32.1507.

That said, I'm trying to receive three batches: TEST01 for a total 10.75 ozt, TEST02 for a total of 10.05 ozt, and TEST03 for a total 10.9 ozt, giving a grand total of 31.7 ozt. Now, when I try to set the received quantity in the Goods Receipt PO form, when I try to enter the receiving quantity of 0.985981643 kg, SAP, both the client application and the DI API, round it to 0.986 kg, causing the error that prompted this question.

Now, I KNOW that this rounding issue is causing a 0.0007 ozt difference so, if I add the difference to one of the batches, the form will post through. However, I don't want to modify the batch quantities because that will give the impression to the customer that we need to work around an SAP drawback/issue. What I'm looking for is a way to either change the number of rounding digits of the PO Line receiving quantity, or an alternate solution.

Thanks!!! Any help is greatly appreciated!!!

Manuel

Accepted Solutions (0)

Answers (1)

Answers (1)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Refer SAP note,

2388537 - Error: "Cannot add row without complete selection of batch/serial numbers" While Updating Delivery Using DI API

Regards,

Nagarajan

former_member209954
Participant
0 Kudos

Hi Nagarajan,

Thank you very much for your feedback. Unfortunately, the SAP Note does not apply to the current scenario since the SAP note mentions that the item is modified while the delivery form is posted, which is not the case. The problem I have is that this error is present only when there is a rounding error: Most of the time things go well, but every now and then this error pops out.

After all this research, I'm inclined to believe that this is an SAP issue, and thus I have to work-around it through the magic of custom code.

Best Regards,

Manuel