Skip to Content
0
Former Member
Mar 17, 2009 at 10:35 AM

migo against outbound delivery

17 Views

gmhead-pstng_date = sy-datum.

gmhead-doc_date = sy-datum.

gmhead-pr_uname = sy-uname.

gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order

itab-move_type = '101'.

itab-mvt_ind = 'B'.

itab-plant = 'FD11'.

itab-material = '0000900152'.

itab-entry_qnt = '1.000'.

itab-move_stloc = 'FG'.

itab-stge_loc = 'FG' .

itab-po_number = '5500004086'.

itab-DELIV_NUMB = '0171000465'.

itab-DELIV_ITEM = '10'.

itab-PO_ITEM = '10'.

call function 'BAPI_GOODSMVT_CREATE'

exporting

goodsmvt_header = gmhead

goodsmvt_code = gmcode

TESTRUN = ' '

IMPORTING

goodsmvt_headret = mthead

MATERIALDOCUMENT =

MATDOCUMENTYEAR =

tables

goodsmvt_item = itab

GOODSMVT_SERIALNUMBER =

return = errmsg

Error in function

Material document data and PO data do not match (Material)

i am getting this error

I am using this FM for migo against outbound delivery can i get

what parameters i have to pass for this FM for outbound delivery.

or any parameter is missing