10-06-2008 1:30 PM
Hi All,
I try to use BAPI_GOODS_MVT bapi to move goods by inbound delivery number. According to MIGO transaction, I send all necessary fields to bapi. But somehow I get error. However I know it is possible to make goods movement manually with MIGO transaction with following parameters, but when it comes to terms using bapi, i get error:
pstng_date
gm " 01
plant
move_type " 101
entry_qnt
po_number
po_item
mvt_ind " B
deliv_numb
deliv_item
Error :
Delivery quantity exceeded by XX PC : XXXXX 0001 0001
Am I missing something?
10-06-2008 1:54 PM
Check the stock in MARD
i think there is no stock in storage location
XXXXX 0001 0001 __Storage location
| |___Plant
|____Material
Check MARD-LABST value, you can post less than or equal to the qty what ever there. you can't post more than that.
check it once.
10-06-2008 1:47 PM
This is not coding error,
Check inboud delivery qty (e.g. Inbound D/o qty 5 and MIGO qty 8).
I think MIGO qty is exceeding than the inbound delivery qty.
Or there is mismatch in Plant / storage location.
Thanks
Ganesh
10-06-2008 1:54 PM
Check the stock in MARD
i think there is no stock in storage location
XXXXX 0001 0001 __Storage location
| |___Plant
|____Material
Check MARD-LABST value, you can post less than or equal to the qty what ever there. you can't post more than that.
check it once.
10-08-2008 1:53 PM
Actually I have enough stock in storage location. That's why I'm confused. I think I'm missing something, some parameter maybe.
10-23-2008 9:06 AM
Finally I found out the solution.
For those who try to move goods over Inbound Delivery number, you have to use these fields:
gmcode-gm_code = '01'.
itab-mvt_ind = 'B'.
itab-entry_qnt = AMOUNT.
itab-move_type = '101'.
itab-stck_type = temp_insmk.
itab-DELIV_NUMB_TO_SEARCH = deliv_numb.
itab-DELIV_ITEM_TO_SEARCH = deliv_item.
There's also fields named DELIV_NUMB and DELIV_ITEM. They don't work. I don't know why are they standing there.
11-12-2008 7:44 PM
Hi,
I want to craete a Goods movement Inbound delivery by Function module with delivery type as "DIG".
my warehouse is centralised. When I am using MB1B Tcode for de centralised warehouse i am getting Inbound delivery document. How to craete a Goods move ment delivery doc by using FM for centralised ware house.
Thanks in advance.
sharma