I need to run a batch report in background in SM36 when any cancellation of sales order is done in VL09.
i.e when a cancellation of sales order is done i have to run a batch report which will call an IDOC outbound generation function module that will create the IDOC.....
Please tell me how to do this.....