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

BAPI FM??

Former Member
0 Likes
620

Hi,

What is the BAPI that updates MB31 and LT04.

Regards,

Mohan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
548

HI Mohan

Please check BAPI: <b>BAPI_GOODSMVT_CREATE</b>

Documentation of the BAPI can help you using the same.

Kind Regards

Eswar

4 REPLIES 4
Read only

Former Member
0 Likes
549

HI Mohan

Please check BAPI: <b>BAPI_GOODSMVT_CREATE</b>

Documentation of the BAPI can help you using the same.

Kind Regards

Eswar

Read only

Former Member
0 Likes
548

hi,

MB31 - 'BAPI_GOODSMVT_CREATE'

Pls find eg below :

http://sap4.com/wiki/index.php?title=BAPI_GOODSMVT_CREATE&printable=yes

Read only

graghavendra_sharma
Contributor
0 Likes
548

Hi

For MB31, check "BAPI_GOODSMVT_CREATE" or "BAPI_ACC_GOODS_MOVEMENT_POST".

For LT04. check "WS_LM_TRANSFER_ORDER_CREATE"

Read only

Former Member
0 Likes
548

hi mohan

here is the example for MB31

go through this code

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.

ENDAT.

ENDLOOP.

go through this example link

http://sap4.com/wiki/index.php?title=BAPI_GOODSMVT_CREATE&printable=yes

Regards,

GNK