Skip to Content
0
Former Member
Jun 23, 2005 at 03:24 PM

MB_CREATE_GOODS_MOVEMENTS and additional quantity

527 Views

Hello,

I am pretending to use the FM 'MB_CREATE_GOODS_MOVEMENT',

as it would be used by MIGO.

I need to pass qty in KG and also additional qty in L.

When I run it manually in MIGO and debug, everything is OK, when trying to run it from the program, I got the error only when trying to pass the table t_ms2int to the FM.

Do you have any idea how to fill the table parameter: t_ms2int

and where to find any documentation about the other parameters of this FM?

Are there some other options for automatization of MIGO goods receipt.

At the moment I call

CALL FUNCTION 'MB_SET_BAPI_FLAG'

and then:

call function 'MB_CREATE_GOODS_MOVEMENT'

exporting

imkpf = s_imkpf

xallp = 'X'

xallb = ' '

xallr = 'X'

ctcod = g_tcode

oia_pass = 'X'

  • i_oib_calculate = l_oib_calculate

importing

emkpf = s_emkpf

tables

emseg = i_emseg

imseg = i_imseg

t_ms1int = i_t_ms1int

t_ms2int = i_t_ms2int.

Any tips would be appreciated!

Regards,

JOLA