Hi, Experts.
I am unable to update the MB03 price field in the invoice price net field. I'm using BAPI_GOODSMVT_CREATE, and even passing the new value in goodsmvt_item-ext_base_amount,it's always displaying the standard price of MM03.
Somebody could suggest me something?
Follows the prints for better clarification.
![image02.jpg]()
![image03.jpg]()
![IMAGE01.jpg]()
DATA: goodsmvt_header LIKE bapi2017_gm_head_01,
goodsmvt_code LIKE bapi2017_gm_code,
materialdocument TYPE bapi2017_gm_head_ret-mat_doc,
matdocumentyear TYPE bapi2017_gm_head_ret-doc_year.
DATA: BEGINOF goodsmvt_item OCCURS0.
INCLUDESTRUCTURE bapi2017_gm_item_create.
DATA: ENDOF goodsmvt_item.
goodsmvt_header-pstng_date = wa_final-budat.
goodsmvt_header-doc_date = wa_final-bldat.
goodsmvt_header-pstng_date = sy-datum.
goodsmvt_header-doc_date = sy-datum.
goodsmvt_header-pr_uname = sy-uname.
goodsmvt_header-header_txt = wa_final-xblnr.
goodsmvt_code-gm_code = '05'.
goodsmvt_header-ref_doc_no = wa_final-xblnr.
goodsmvt_item-move_type = '922'.
goodsmvt_item-material = wa_final-matnr.
goodsmvt_item-vendor = wa_final-lifnr.
goodsmvt_item-mvt_ind = ' '.
goodsmvt_item-plant = wa_final-werks.
goodsmvt_item-batch = wa_final-charg.
goodsmvt_item-stge_loc = wa_final-lgobe.
goodsmvt_item-entry_qnt = wa_final-sobra.
goodsmvt_item-ext_base_amount = wa_final-sobra * wa_final-preun.
APPEND goodsmvt_item.
CALLFUNCTION'BAPI_GOODSMVT_CREATE'
EXPORTING
goodsmvt_header = goodsmvt_header
goodsmvt_code = goodsmvt_code
IMPORTING
materialdocument = materialdocument
matdocumentyear = matdocumentyear
TABLES
goodsmvt_item = goodsmvt_item
return = return_migo.
Thanks