02-15-2019 3:07 PM
Hi All,
I want to send the report output of a simple alv list display to be displayed and also the should start a job with the output of the current report to be sent as spool.
In simple words If I am running a report in background it creates a job and spool, now I will run in foreground I want the same report output to be displayed and also a job should be started along with the spool,
I know that if there are two reports we can submit report B from Report A with job open and submit and via job name.
please suggest
02-15-2019 7:00 PM
Hello,
Did you try using the option sy-batch = ' ' and using FM's JOB-OPEN, JOB-SUBMIT and JOB-CLOSE from your program ?
Best Regards
Swanand
02-18-2019 9:27 AM
Could you reformulate, do you want to
and why?
02-19-2019 8:49 AM
Hi Giuseppi,
I want to run a custom report in foreground , the output is an alv list display.
The output of the report should be shown as spool where it should start a new job ,
02-19-2019 9:10 AM
What do you mean with "where it should start a new job"?
Once the report shows the output, do you want it starts a job? Why?
02-19-2019 9:50 AM
Hi,
Yes it should store the report output as a spool starting a new job in SM37.
thanks,
bala
02-21-2019 8:42 AM
Why? Which is your scenario?
If you have the report running online, you already have your output!
02-21-2019 10:11 AM
Hi Simone Milesi,
The report actually updates the description of a material via BAPI. So they want to keep track of the materials they had updated where they can check in JOB log spool.
Thanks,
bala
02-21-2019 3:08 PM
Then send the alv via mail or store it as file somewhere.
It's surely a better option than triggering the same report you just executed via job.
And, even more, if the report updates data, you resubmit it and...try to update again??