I am implementing the BADI 'MB_DCOUMENT_BADI ' for MIGO transaction.
By the time this BADI is triggered, the material doc number MBLNR is already generated.
But based on some condition, i need to cancel this GR and the document should not be posted in database tables.
Is it possible ? If so could you please suggest me how to do this..
Can i use BAPI_TRANSACTION_ROLLBACK for this purpose ?
Thanks in advance,