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

SAP Script pool and email

Former Member
0 Likes
578

Hello Friends,

I have program which is processing 3 scripts and all are included in the same spool, now my requirement is, I want to send only 1st script as email attachment. How can I seperate only this script to send it a email to customer.

Please help me.

Thanks,

Shreekant

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
552

Hi Shreekant,

IF they are the part of the single spool then I don't think you can separate them. See if you can download them into different spool.

Regards,

Atish

4 REPLIES 4
Read only

Former Member
0 Likes
553

Hi Shreekant,

IF they are the part of the single spool then I don't think you can separate them. See if you can download them into different spool.

Regards,

Atish

Read only

Former Member
0 Likes
552

Hi,

Try sending attachment having scripts in different spool. I dont think u can send a single script from a spool with has 3.

Regards,

Ramya

Read only

0 Likes
552

Hello, Thanks for your reply,

I have now seperated the spool, in one spool I have 2 scripts and in another spool I have the script which I need to send email as pdf attachment.

1. For this I used FM:GET_JOB_RUNTIME_INFO to get the spoolid.

2. I used FM:CONVERT_OTFSPOOLJOB_2_PDF for converting spool to pdf format.

3. How to send this pdf as email?

Pls. help me.. I have gone through some threads in sdn, but not able to understand properly.

Thanks,

Shreekant

Read only

0 Likes
552

Have you tried using FM SO_DOCUMENT_SEND_API1 ?

Regards.