‎2008 Jun 12 2:39 AM
Hi folks,
I am trying to execute a ALV report in background. How can we generate spool at runtime if we execute our report background...Thanks in advance,,
Ram...
‎2008 Jun 12 3:06 AM
‎2008 Jun 12 3:32 AM
Hi Nikhil,
I want the spool no for the current program, if we execute it in background...
‎2008 Jun 12 4:11 AM
Try to use the below code to get the spool number during runtime.
Ex:
concatenate repid+0(9)
uname+0(3) into lc_rq2name.
select * from tsp01 where rq2name = lc_rq2name
order by rqcretime descending.
f_rqident = tsp01-rqident.
exit.
endselect.
I guess this will help yout to close the thread.
Regards,
SaiRam
‎2008 Jun 12 10:39 AM
Hi ,
Thanks for ur answer. I checked in debuging. Spool request is able to generate at runtime. But the attachement which is coming to mail is unable to open. It says a eror message 'no pages contain'. But instead if i hardcore any spool no in the pgm..then can able to open PDF atachemtn..what might be wrong..could any one help me out ....