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: 

problem with MB_CREATE_GOODS_MOVEMENT

Former Member
0 Kudos

Hi All,

In my alv report I have deliver quantity field in editable mode. I change the Delivery qty and click on push button, it should do the Goods receipt. I have used FM MB_CREATE_GOODS_MOVEMENT. When I click on the push button I am getting the below popup error :

"Required function MB_CREATE_GOODS_MOVEMENT not processed".

           call function 'MB_CREATE_GOODS_MOVEMENT'

                exporting

                     imkpf       = r_imkpf

                    xallp       = 'X'

*                 XALLB       = ' '

*                 XALLR       = ' '

                    ctcod       = 'MB0A'

*                 XQMCL       = ' '

*                 OLD_SUBRC   = ' '

*                 IPKCOM      =

*                 X_AUTHORITY = ' '

*                 XLISU       = X

               importing

                    emkpf       = r_emkpf

*                 E_LVS_TAFKZ =

                tables

                     emseg       = t_emseg

                     imseg       = t_imseg

                exceptions

                     others      = 1.

Did I missed any thing? Please help me.

This is a lower version of sap. So there is no BAPI available.

1 REPLY 1

Rodrigo-Giner
Active Contributor
0 Kudos

Use BAPI_GOODSMVT_CREATE

Check wiki for more details

How To Goods Movements with BAPI - ERP SCM - SCN Wiki

Regards