I need to show an information message in MIGO putting a check on the movement type (bwart field present in mseg table).
For this I m using BAdi defination MB_DOCUMENT_BADI. This defination has the following as import
parameters -
Parameter Reference type
XMKPF TY_T_MKPF
XMSEG TY_T_MSEG
XVM07M TY_T_VM07M
For my requirement i need to first put a chk on the delivery type(lfart) field which is available
in the structure VM07M.
but the problem is tht there is no value in this field at runtime.
Can anyone please tell how can i fetch the data in this field.
Its a very urgent requirement please help.