Background job getting cancelled when using submit statement
I have a requirement where i need to extract output ST22 tcode into an excel on daily basis via a custom report.
For this i have created custom report in which i have used “SUBMIT” statement, and i am running this report daily in background to get the list of dumps for that day into an excel.
But the problem is if we have some dumps for that particular day, then background job is getting finished and output is generated.
If there are no dumps for particular day then back ground job is getting cancelled.