Dear All,
I have to make bapi for 102 movement type. I have used bapi BAPI_GOODSMVT_CREATE
for 102 movement type but it is not executing because error message comes
like "Goods movement not possible with mvmt type 102"
beacuse i think 102 is not acceptable for MB1B transaction and i need to run MB31 transaction thru bapi for 102 mov.type
Now if i used BAPI_GOODSMVT_CANCEL then it is asked for parameter material document
and year etc but i dont need to cancel whole material document beacuse my requirement is to 102 has to be done
for partial qty.
So is ther any bapi for MB31 transaction or any solution for above query, Please reply to me.
Currently my paramenters are like,
GOODSMVT_CODE = '06'.
goodsmvt_item-material = hdr-matnr.
goodsmvt_item-plant = hdr-werks.
goodsmvt_item-stge_loc = hdr-lgort.
goodsmvt_item-batch = mcharg.
goodsmvt_item-move_type = '102'.
goodsmvt_item-spec_stock = 'E'.
goodsmvt_item-val_sales_ord = po_kdauf.
goodsmvt_item-val_s_ord_item = po_kdpos.
goodsmvt_item-entry_qnt = mdqty.
goodsmvt_item-ENTRY_UOM = mmeins.
goodsmvt_item-orderid = maufnr.
Regards,
Shivam Pastagia.