Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

report program..

Former Member
0 Likes
533

hi friends,

i am using the report program to send the email..

i am writing the report output to SAPscript...

from there i am reading the details through spool..and then the spool contents are then forwarded through the email..

The Main problem i am facing is the first mail in the spool gets appended with other mails...so that the other mails are also having the details of the first mail content ...can anyone clear this please...

1 ACCEPTED SOLUTION
Read only

guillaume-hrc
Active Contributor
0 Likes
508

Hi,

It reminded me of something...

Isn't there an option in the FM you may use that returns you a new spool ID ?

Isn't there a FM 'CLOSE_FORM' of some sort ?

Do you refresh the structure/table you are passing... ?

Best regards,

Guillaume

4 REPLIES 4
Read only

guillaume-hrc
Active Contributor
0 Likes
509

Hi,

It reminded me of something...

Isn't there an option in the FM you may use that returns you a new spool ID ?

Isn't there a FM 'CLOSE_FORM' of some sort ?

Do you refresh the structure/table you are passing... ?

Best regards,

Guillaume

Read only

0 Likes
508

ya garcia i am using close form..

Read only

sridhar_k1
Active Contributor
0 Likes
508

Set new spool request in the print parameters every time you send to spool.

Regards

Sridhar

Read only

Former Member
0 Likes
508

Hi Rajkumar,

YOu should set the new spool id indicator in the open form exporting parameters.

<b>OPTIONS-TDNEWID = 'X'.</b>

Regards,

Ravi