Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_GOODSMVT_CREATE Error Maintain serial numbers for total quantity

Hello Experts,

This question has been asked before but I can not seem to find a solution that works for me.

I am getting the error 'Maintain serial numbers for total quantity' while calling the BAPI BAPI_GOODSMVT_CREATE. I know the error has to do with the serial numbers I feed to the BAPI but I can not seem to pin down the error.

In my upload file I am using the same material, the client says they can do the same movement e.g. 561 for the same material in the same upload file.

It is worth noting that the upload file has two tabs, one with the item information and the other with the serial numbers. The two tabs are linked using a sequential serial number. So during execution, the program picks the sequential serial number and uses it to pick the appropriate serial numbers from the serials tab before calling the BAPI. See the attached images. The serial numbers for that particular item are then used to populate theĀ  goodsmvt_serialnumberĀ  table of the BAPI. The item information populates the goodsmvt_item table.

The first material entry processes ok but the second one produces the error 'Maintain serial numbers for total quantity'. The 'second item' image shows the data contained in the goodsmvt_serialnumber table when the bapi is called for the second material. I know it is the same material, client instruction.

I hope I am clear.

The links I found are the following:

items tab.png (8861 B)
second item.png (9590 B)
serials tab.png (2538 B)
Former Member
Not what you were looking for? View more on this topic or Ask a question