Skip to Content
0
Former Member
Mar 22, 2012 at 03:03 AM

Rolling back of Material Document Number in a BADI

85 Views

Hi folks,

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,

Shyam.