01-20-2010 7:24 AM
HI,
i m using SM36 to Schedule some of reports and send the output of those reports as an attachement to particular email ids.
It is working fine people are receive mails with an output of the report as an attachement , but the subject is coming like this
"Job PRODUCTION PLANING REPORT, Step 1" where "PRODUCTION PLANING REPORT" is the job name . What i want is the Subject should be only my Job Name "PRODUCTION PLANING REPORT" the Prefix Iob and the Sufix Step 1, should not appear in the subject. How can i achive this ?
Regards
Edited by: nau on Jan 20, 2010 3:31 PM
01-20-2010 10:03 AM
01-20-2010 10:03 AM
01-20-2010 10:04 AM
No directly doing through SM36.
Edited by: nau on Jan 21, 2010 11:54 AM
01-21-2010 6:46 AM
Hi
I believe u are scheduling a program to send the email.If yes then you should amend the program where you are building the email header.
Regards
Gaurav
01-21-2010 6:49 AM
You cannot send email directly through SM36. You need to assign a program to it.
01-21-2010 6:53 AM
Hi,
I have not written any code to send a email, i m just scheduling my ALV report Through SM36 and added some email address to the SPOOL RECEIPENT and it send the output of the reprt as an attachement to the receipents. What i want is that the subject should be only the job Name which i have entered and not the suffix and prefix attached to it .
01-21-2010 6:54 AM
Hi Kumar,
Yes we can send directly through SM36.
Edited by: nau on Jan 25, 2010 2:53 PM
01-25-2010 9:44 AM
Hi,
When you execute the job, It builts the subject in the formate Job <job name > step no.
If you want the message with the differnt subject line, you may need to send the same using FM.
Regards,
Judith
01-25-2010 9:52 AM
Dear Judith,
Thanks for your reply , but how can we send this with a FM ?
Edited by: nau on Jan 27, 2010 2:15 PM
01-27-2010 8:52 AM
Hi Kumar,
Yes we can send directly through SM36.
Why do we need a FM now if we can directly send it via SM36 as per you
Manas M.
Edited by: Kumar Manas Mishra on Jan 27, 2010 9:52 AM
01-27-2010 8:57 AM
Hi Manas,
What i want is the Subject should be only my Job Name "PRODUCTION PLANING REPORT" the Prefix job and the Sufix Step 1, should not appear in the subject. That's why i ask about the FM that how can we achive the subject to be only the Job name.
Edited by: nau on Jan 27, 2010 4:23 PM
01-27-2010 10:58 AM
I am so pity you Nu ,
you are looking for this answer from so long time
Sorry can't give you the wright answer...but
Is it ok if you can send mail it via ABAP report instead of SM36?
FM: SO_DOCUMENT_SEND_API1.
Sas
01-27-2010 11:01 AM
Hi Sas,
I had conveyed earlier to nau it is not possible via SM36.
We can either use some FM's.
Please suggest your views?
Manas M.
01-27-2010 11:08 AM
In SM36, under the 'General Data' area, the answer is right there. Click on the Spool list recepient button and place the e-mail recepient in the box. It looks like only one entry can be entered there so you may want to have a distribution group setup accordingly for multiple recepients
My view is as per the line i can see only .html attachment only you can send...
See Mr NA. take intitiative and tell the clients....Clearly that if we schedule thtrough SM36 then we have limited funcitonalities like you can't attach the excel version's specially and Subject issue what you are discussing...
So as of now my suggestion is Using the FM (if it is version 6.0 Ecc prefer using classes....) You can write extra funcitionality to report to send via Email
Sas
01-27-2010 11:13 AM
I hope now Mr.Nau can get out of this issue.
Thanks Sas for ypur views.
Manas M.