Hello,
I'm using the BAPI_GOODSMVT_CREATE to do "Sock Transfer" in MIGO, and i passed the following parameters:
code= '04'
ITEM:
t_saida-matnr TO t_bapiitem-material,
t_saida-werks TO t_bapiitem-plant,
t_saida-lgort TO t_bapiitem-stge_loc,
t_saida-move_type TO t_bapiitem-move_type,
t_saida-erfmg TO t_bapiitem-entry_qnt,
t_saida-meins TO t_bapiitem-entry_uom,
t_saida-ummat TO t_bapiitem-move_mat,
t_saida-umwrk TO t_bapiitem-move_plant,
t_saida-umlgo TO t_bapiitem-move_stloc,
t_saida-sgtxt TO t_bapiitem-item_text.
HEADER:
t_bapiheader-pstng_date = sy-datum.
t_bapiheader-doc_date = sy-datum.
And after the GOODSMTV, i use the BAPI_TRANSACTION_COMMIT.
I have the sucess message with the document material generated, but, when i go to MB51 or MB03, the material document does not exist !!!
Please !! Anyone help me ??
WIth Regards,
Reginaldo Borges