12-03-2014 8:31 AM
Hi Team,
I am using BAPI_GOODSMVT_CREATE for creating Goods Receipt in MB01 with 101 mvt type
and i need automatic posting for 543 mvt with the same input providing for the 101 mvt type .
can you please suggest how to provide the input data for posting 101 and 543 while posting at a time and also any parameters passing
l_goodsmvt_item-material = w_entity-matnr.
l_goodsmvt_item-plant = w_entity-werks.
l_goodsmvt_item-stge_loc = w_entity-lgort.
l_goodsmvt_item-move_type = w_entity-bwart. ( 101)
l_goodsmvt_item-vendor = w_entity-lifnr.
l_goodsmvt_item-entry_qnt = w_entity-menge.
l_goodsmvt_item-entry_uom = w_entity-meins.
l_goodsmvt_item-po_number = w_entity-ebeln.
l_goodsmvt_item-po_item = w_entity-ebelp.
l_goodsmvt_item-mvt_ind = 'B'.
l_goodsmvt_item-nb_slips = w_entity-wever.
l_goodsmvt_item-item_text = w_entity-item_text.
l_goodsmvt_item-batch = w_entity-batch.
and passing to Bapi ..
Thanks in advance.
12-12-2014 9:10 AM
hii spandana
after completion of 1 bapi and it it is successful u can immediately call another bapi with mvt type 543 with same input
Regards
Gaurav