01-09-2007 9:14 AM
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
01-09-2007 11:44 AM
Hi PA,
first check HOW SAP is doing . I think Yiedl = LMNGA,Scrap = XMNGA in CO11N .
Regards
Prabhu
01-15-2007 10:48 AM
hi Prabhu,
thanks.
but i have already debugged tha standard SAP program but
could not find what variable value iam missing which has to be passed to
Table IMSEG in order to differenciate between scrap and yield quantity.
I need to knowin which field of table IMSEG somevalue is passed
by which the quantity for scrap or yield is confirmed.
Please help.
regards PA
03-30-2008 8:52 AM
10-18-2013 7:25 AM
Hi Parvez,
Can you provide me the sample code for the same?
Regards,
Sankar