Skip to Content
0
Former Member
Oct 24, 2005 at 10:59 AM

Goods Issue

87 Views

Hi All,

I have written a code for posting multiple materials for goods issue for Movement type 201 (tcode MIGO_GI).

I am using FM

CALL FUNCTION 'BAPI_GOODSMVT_CREATE'

EXPORTING

GOODSMVT_HEADER = gmove_header

GOODSMVT_CODE = gmove_code

IMPORTING

GOODSMVT_HEADRET = headret

MATERIALDOCUMENT = matdoc

MATDOCUMENTYEAR = docyear

TABLES

GOODSMVT_ITEM = gmove_line

RETURN = return.

COMMIT WORK AND WAIT.

But if few materials have errors in details, other materials with correct data are not posted.

Please suggest what could be the reason.

Regards,

Pratibha