2010 Aug 17 7:19 PM
I'm using BAPI_GOODSMVT_CREATE and it seems okay, but sometimes I got the error
"Exactly 2 serial numbers must be selected (instead of 2)"
Sometimes there a lot of messages, but the message is the same, but only the quantity that's change - but if I run the program again and again, the message disappears, so I can't debug because I don't know if the error is gone .
Anybody who knows what the problem can be?
I'm using BAPI_GOODSMVT_CREATE and it seems okay, but sometimes I got the error
"Exactly 2 serial numbers must be selected (instead of 2)"
Sometimes there a lot of messages, but the message is the same, but only the quantity that's change - but if I run the program again and again, the message disappears, so I can't debug because I don't know if the error is gone .
Anybody who knows what the problem can be?
2010 Aug 18 3:48 AM
Hi,
When you do goods movement for a serial number managed material then you should have respective number of entries in table "GOODMVT_SERIALNUMBER" of the BAPI. If the quantity is 4 then you should have 4 unique entries in the table. Put a debug point before calling this BAPI, and check entries in this table. Make sure it is equal to quantity you are trying to move. Also these serial numbers should be in the stock.
If the material is not serial number managed then it is not required.
Cheers,
2010 Aug 18 8:33 AM
The quantity is equal, so that's why I think the error is strange.
And without changing anything, the message disappears after running the program again and again and again.
2010 Aug 18 3:47 PM
Hi,
1. Check the clear and refresh of the internal table. The link between the item table and serial number table has to be established correctly.
2. Is it working for some times for serialized material also? or is it working for non-serialized parts only.
Cheers,
Sujay
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |