Skip to Content
0
Former Member
Jan 09, 2007 at 09:14 AM

goods movement using "MB_CREATE_GOODS_MOVEMENT"

204 Views

Hi all,

we are trying to confirm goods using the the function module

MB_CREATE_GOODS_MOVEMENT

the transcation we are using is 'CO11N'.

we are populating the values in IMSEG table.

for ex.

CALL FUNCTION 'MB_CREATE_GOODS_MOVEMENT'

EXPORTING

imkpf = s_imkpf

xallp = ' '

xallr = 'X'

ctcod = 'CO11N'

  • XQMCL = ' '

  • IPKCOM =

xlisu = 'X'

IMPORTING

emkpf = s_emkpf

TABLES

emseg = t_emseg

imseg = t_imseg

.

in CO11N transcation we need to confirm

the yield as well as scrap.

the problem we are facing is that.

In which field we populate the values so as to differenciate the yield to confirm quantity and scrap quantity.

as per current functionality the function module is posting for only yield to confirm only.

the movement types for both scarp and yield are both 261.

any suggestion or sample code might help.

thanks in advance,

PA