Generating outbound idoc - During Oubound delivery deletion using VL02(N).
There is a requirement for me to send an outbound idoc from SAP System, when a outbound delivery is deleted in SAP system using transaction VL02N. The functionality is to achieve the same using message control/output control.
When an item of the delivery is deleted then the idoc is getting generated correctly.
But when the outbound delivery itself is being deleted no idoc is getting generated in fact the output determination itself is not taking place.
Could anyone please give me some inputs on this.