I have a requirement in which I need to execute a Z report in the background,This report will be executed by another custom report. Output of Z report is in the form of ALV grid display.When it will be executed in the background it will generate a spool. That spool has to be converted to pdf format and has to be sent as an email ..
My query is how to determine the spool number which has been generated from the output of the Z report?
Once I have the spool number, rest part can be handled easily.