12-15-2011 3:39 PM
Hi Guru,
Method below of MB_MIGO_BADI:
method IF_EX_MB_MIGO_BADI~POST_DOCUMENT
data: GRNO like mseg-MBLNR.
" Here : I want get GR number
GRNO = GR Number after Posting GR from MIGO transaction. GRNO = '100' .
Update IT_MSEG-MBLNR = GRNO. It's mean I want update PR number = 100 in table MSEG through transaction MIGO.
How to code here?
endmethod.
Thanks alot.
Edited by: abaper1712 on Dec 15, 2011 4:40 PM
12-15-2011 4:37 PM
Hi,
We cannot update the MSEG table directly as it is a cluster table.
Try with the FM 'J_1IEXGM_BADI_POST_DOCUMENT'
Thanks,
Shailaja Ainala.
12-15-2011 4:37 PM
Hi,
We cannot update the MSEG table directly as it is a cluster table.
Try with the FM 'J_1IEXGM_BADI_POST_DOCUMENT'
Thanks,
Shailaja Ainala.
12-16-2011 4:48 AM
Thank you so much.
I want update Material Document into IS_MKPF. How to do?
Thanks.
12-16-2011 7:59 AM
You can achieve this by implementing ES_SAPLMBWL enhancmenet spot it is called in MB_CREATE_GOODS_MOVEMENT function module.
Hope it helps.
Nabheet