hi ,
i'm trying to create a goods issue in case of batch split and i meet some problems and errors using the bapi 'BAPI_GOODSMVT_CREATE'
![]()
please i need more details about filling the items structure of bapi
gt_goodsmvt_item-material = matnr.
gt_goodsmvt_item-plant = werks.
gt_goodsmvt_item-stge_loc = lgort.
gt_goodsmvt_item-vendor = vendor.
gt_goodsmvt_item-batch = charg.
gt_goodsmvt_item-deliv_numb_to_search = gv_delivery.
gt_goodsmvt_item-deliv_item_to_search = posnr.
gt_goodsmvt_item-move_type = '261' . "'101'
gt_goodsmvt_item-entry_qnt = 1 . "'50'.
gt_goodsmvt_item-entry_uom = 'ST'.
gt_goodsmvt_item-mvt_ind = 'L'.
gt_goodsmvt_item-ord_id = vgbel.
gt_goodsmvt_item-ord_itno = vgpos.
gt_goodsmvt_item-no_more_gr = 'X'.
is this filling is correct for the main item (0010) and also for the batch items (900001 , 900002) ??
and how to fill the batch of item 0010 ?? ( it's blank in the case of split batch )
many thanks