‎2007 Apr 16 7:01 AM
Hi Folks
My requirement is : I have to send the script output as PDF attachment to several users.
I got the required thing but that is achieving only by hard coding the spool number as:
DATA: l_spoolno LIKE tsp01-rqident VALUE '0000024884'.
Afterwards i am converting this spool to pdf and attaching the pdf to the mail.
I need to remove this hard coding now.
Can anyone please suggest me how i can do that.
<b>Points are assured for needful answers.</b>
Regards,
Sreeram
‎2007 Apr 16 7:08 AM
Hi..,
We generally use constants in these cases..!!
like
<b>constants : c_spool type tsp01-rqident value '0000024884'.
DATA: l_spoolno LIKE tsp01-rqident VALUE c_spool.
</b>
regards,
sai ramesh
‎2007 Apr 16 7:05 AM
‎2007 Apr 16 7:08 AM
Hi..,
We generally use constants in these cases..!!
like
<b>constants : c_spool type tsp01-rqident value '0000024884'.
DATA: l_spoolno LIKE tsp01-rqident VALUE c_spool.
</b>
regards,
sai ramesh
‎2007 Apr 16 7:09 AM
Sree Ram,
assign the spool number to the variable u have declared already, L_SPOOLNO. and convert it to the PDF or whatever u want.
or else, u can go for Parameters for single spool request generation, Select-options for more spool requests.
Sujatha.
‎2007 Apr 16 7:09 AM
Hi,
You have to get the spool number, and that is: SY-SPONO.
Regads,
‎2007 Apr 16 7:10 AM
hi
if u r passing spool number as string then
<b>create a goto --> text element -->text symbol
create a text symbol</b>
use that text symbol as following
<b>DATA: l_spoolno LIKE tsp01-rqident VALUE text <text synmbol></b>
regards
ravish
<b>plz reward points if helpful</b>
‎2007 May 22 8:31 AM