MB_MIGO_BADI THIS BADI USED TO POSTING DATA IN MIGO
Here this badi used to how to work migo data migration and help to creating magi used to save
and validation of data
MB_DOCUMENT_UPDATE
method IF_EX_MB_MIGO_BADI~POST_DOCUMENT.
BREAK-POINT.
IF is_mkpf-budat < is_mkpf-BLDAT.
sy-ucomm = 'ENT1'.
MESSAGE 'Posting Date Should Not Be Less Than Document Date' TYPE 'E' .
SET SCREEN syst-dynnr.
LEAVE SCREEN.
ENDIF.
endmethod.
BREAK-POINT.
IF is_mkpf-budat < is_mkpf-BLDAT.
sy-ucomm = 'ENT1'.
MESSAGE 'Posting Date Should Not Be Less Than Document Date' TYPE 'E' .
SET SCREEN syst-dynnr.
LEAVE SCREEN.
ENDIF.
endmethod.
GOOD JOB DEAR
ReplyDelete