Skip to Content
0
Former Member
Dec 15, 2011 at 03:39 PM

Get GR number via method BADI : MB_MIGO_BADI~POST_DOCUMENT

129 Views

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