I have a scenario where I need to restrict posting purchase order against GR using MIGO.
In order to restrict best option is to delete the line item wih inbound delivery.
In MB_MIGO_BADI, there is a method LINE_DELETE, but I am unable to use it.
I have set debugger point in BADI's implementaion for method LINE_DELETE, but while posting it is not being called.
Can anyone suggest me usage of IF_EX_MB_MIGO_BADI~LINE_DELETE
methadology to restrict user from checking the OK checkbox in MIGO line item.
Thanking in advance.