Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

migo against outbound delivery

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

Hi Rohit ,

try to convert Material into internal Format i.e 18chars ,i'm not sure of this error, but u can try that one.

regards

Prabhu

0 Kudos

Dont hardcode the values instead take the PO no. line item and material no.

frm LIPS and LIKP table.