Application Development and Automation 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: 
Read only

BDC

Former Member
0 Likes
283

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

1 REPLY 1
Read only

abapdeveloper20
Contributor
0 Likes
255

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