Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8940

BAPI parameters for movement type 532

$
0
0

Hello experts,i create a production order without material with TCODE co07,then i use BAPI 'BAPI_GOODSMVT_CREATE'  to do the by-products GR(531),it is sucessful at this point,but when i do 532 reversal,it is failed,i have set below BAPI parameters:

    ls_goodsmvt_item-material = gs_list-matnr.

    ls_goodsmvt_item-plant = gs_list-werks.

    ls_goodsmvt_item-stge_loc = gs_list-lgort.

    ls_goodsmvt_item-orderid = gs_list-aufnr.

    ls_goodsmvt_item-move_type = '532'.

    ls_goodsmvt_item-order_itno = gs_list-posnr.

    ls_goodsmvt_item-reserv_no = gs_list-rsnum.

    ls_goodsmvt_item-res_item = gs_list-rspos.

    ls_goodsmvt_item-entry_uom = gs_list-meins.

 

After i run the BAPI and commit,the posting is sucessfull, but the move type 532 would be replaced by 531 within the BAPI,pls. help me,thank you in advance.


Viewing all articles
Browse latest Browse all 8940

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>