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

error while using MB_CREATE_GOODS_MOVEMENT

Bharath84
Participant
0 Likes
1,553

Hi All,

Below is my output in alv list display.

likp-vbeln,

likp-lfdat,

likp-verur,

lips-charg,

mseg-vfdat,

lips-lfimg,

lips-vrkme,


The Delivery quantity is editable mode. I change the quantity and click on the Goods receipt button in application tool bar to do a goods receipt. I used the FM MB_CREATE_GOODS_MOVEMENT. When I click ongoods receipt I am getting the error as

"Required function MB_CREATE_GOODS_MOVEMENT not processed". Below is my code:

      r_imkpf-xblnr = wa_final1-vbeln.

      r_imkpf-bldat = sy-datum.

      r_imkpf-budat = sy-datum.

      r_imkpf-usnam = sy-uname.

          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 anything in passing the parameters. Please help me.

As this a lower version there is no BAPI available.

Thanks,

Hartiha

3 REPLIES 3
Read only

atul_mohanty
Active Contributor
0 Likes
831

Hi -

Did you check the BAPI - BAPI_GOODSMVT_CREATE ?

Read only

0 Likes
831

Hi,

This a 4.0B version of SAp. So the BAPI you are referring doesnot exist.

Thanks,

Haritha

Read only

0 Likes
831

4.0B! Which client company is that??