‎2007 Aug 09 7:41 AM
Hi Guys,
how can i write the bdc for the tcode MB31 and MB1A can any one send me the code for these two tcodes....in MB31 ihave to enter movement type order number and qty only.for one movement type there is a many no.of ordernumbers ...so how can i write the bdc ..any one give me the for this ...
thanks & Regards,
sunder
‎2007 Sep 17 7:04 AM
Hi sundar,
Use this BAPI for MB1A Transaction
CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
EXPORTING
GOODSMVT_HEADER = IHEAD
GOODSMVT_CODE = ICODE
TESTRUN = ' '
IMPORTING
MATERIALDOCUMENT = IMATNUM
MATDOCUMENTYEAR = IMATYR
TABLES
GOODSMVT_ITEM = IITEM
RETURN = IRETURN.
Reward points if useful