I have implemented badi MB_MIGO_BADI for MIGO transaction for GR. I have added 3 fields to the header level. If i save it it is saving(i Have created a Ztable to store it.).
If i give the material document number its showing the contents of the fields i have added.
But we can display the same GR through ME23N also. In ME23N transaction if i click on GR document, Its going for dump. The problem with field symbol.
field-symbols <fs2> type MSEG.
assign ('(SAPLMIGO)mseg') to <fs2>.
<fs2>-zzoctno = WA_OCT_DET-OCT_NOTE.
<fs2>-zzoctdate = WA_OCT_DET-OCT_DATE.
<fs2>-zzmatdate = WA_OCT_DET-MAT_RECP_DATE.
its not asssiging ('(SAPLMIGO)mseg') to <fs2> .....when coming through ME23N.
The same statement is working fine through MIGO code.
Please let me know the solution