Hi,
I am working with MIGO Transaction,
My requirement is that while posting the Goods recipt with outbound delivery, If Movement type is not eqaul to 861, display a msg to change movemnet type to 861.
for this requirement I am using the BADI
MB_DOCUMENT_BADI - > MB_DOCUMENT_BEFORE_UPDATE .
My Querry is that How can I Identify that the posting is for Goods reciept with outbound delivery.
thr r three importing parameter for the BADI
MSEG
MKPK
& vm07m.
I try mkpf-tcode2 field.
but for both goods recipt and cancellation , the value of this field is MIGO_GR.
Please help me regarding identification of the same.