Auto Send an Email from SAP BPC 10.0
Hi Experts,
My requirement is : There is an EPM report for which i have to take a snapshot and save those snaps of all sheets in a PPT file.
I am able to create a file with the help of Macro(VB) and got it saved on desktop.
But I want that to save on Server and would like to have a feature of mailing file from that server to an email id.
Is this scenario achievable in BPC.
I have tried creating process chain for Email but didn't get any breakthrough.Is it possible from Web Admin( BPF ) ? Which I don't think so.
Sumit,
Would a pdf file be sufficient? If yes, the distribution feature can e-mail pdf files. The distribution function can also be scheduled.
Akos
Similar Messages
-
I want to send outbond email from SAP ERP to Gmail useing SBWP transaction , for that i want standered BADI or BAPI or RFC to send an outbond mail.i want to send a email from sbwp t-code in that t-code we have title text box and body text box and receipent and receipent type,after entering alll those values i want trigger my badi /bapi/rfc and also that mail goes to receipent Gmail indox and also sap user outbox in sbwp t-code
Moderator message: Welcome to SCN!
Moderator message: this is considered "spec dumping", please work yourself first on your requirement.
[Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
Edited by: Thomas Zloch on Jul 13, 2011 9:25 AMCheck note 455140 - Configuration of e-mail, fax, paging or SMS using SMTP
Markus -
Sending external email from SAP with following requirements...
Hi All,
I need to send external emails from SAP by meeting following requirements.
1) With subject line more than 100 characters.
2) No attachments, only body which has specific format (blueprint/layout) and would be amended often, hence code shouldn't be touched during amendments.
3) Should be able to know the success/failure of mail sending at program level.Hi,
The code below demonstrates how to send an email to an external email address
*& Report ZSENDEMAIL *
*& Example of sending external email via SAPCONNECT *
REPORT zsendemail .
PARAMETERS: psubject(40) type c default 'Hello',
p_email(40) type c default '[email protected]' .
data: it_packing_list like sopcklsti1 occurs 0 with header line,
it_contents like solisti1 occurs 0 with header line,
it_receivers like somlreci1 occurs 0 with header line,
it_attachment like solisti1 occurs 0 with header line,
gd_cnt type i,
gd_sent_all(1) type c,
gd_doc_data like sodocchgi1,
gd_error type sy-subrc.
data: it_message type standard table of SOLISTI1 initial size 0
with header line.
*START-OF-SELECTION.
START-OF-SELECTION.
Perform populate_message_table.
*Send email message, although is not sent from SAP until mail send
*program has been executed(rsconn01)
PERFORM send_email_message.
*Instructs mail send program for SAPCONNECT to send email(rsconn01)
perform initiate_mail_execute_program.
*& Form POPULATE_MESSAGE_TABLE
Adds text to email text table
form populate_message_table.
Append 'Email line 1' to it_message.
Append 'Email line 2' to it_message.
Append 'Email line 3' to it_message.
Append 'Email line 4' to it_message.
endform. " POPULATE_MESSAGE_TABLE
*& Form SEND_EMAIL_MESSAGE
Send email message
form send_email_message.
Fill the document data.
gd_doc_data-doc_size = 1.
Populate the subject/generic message attributes
gd_doc_data-obj_langu = sy-langu.
gd_doc_data-obj_name = 'SAPRPT'.
gd_doc_data-obj_descr = psubject.
gd_doc_data-sensitivty = 'F'.
Describe the body of the message
clear it_packing_list.
refresh it_packing_list.
it_packing_list-transf_bin = space.
it_packing_list-head_start = 1.
it_packing_list-head_num = 0.
it_packing_list-body_start = 1.
describe table it_message lines it_packing_list-body_num.
it_packing_list-doc_type = 'RAW'.
append it_packing_list.
Add the recipients email address
clear it_receivers.
refresh it_receivers.
it_receivers-receiver = p_email.
it_receivers-rec_type = 'U'.
it_receivers-com_type = 'INT'.
it_receivers-notif_del = 'X'.
it_receivers-notif_ndel = 'X'.
append it_receivers.
Call the FM to post the message to SAPMAIL
call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
exporting
document_data = gd_doc_data
put_in_outbox = 'X'
importing
sent_to_all = gd_sent_all
tables
packing_list = it_packing_list
contents_txt = it_message
receivers = it_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Store function module return code
gd_error = sy-subrc.
Get it_receivers return code
loop at it_receivers.
endloop.
endform. " SEND_EMAIL_MESSAGE
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
form initiate_mail_execute_program.
wait up to 2 seconds.
if gd_error eq 0.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
endform. " INITIATE_MAIL_EXECUTE_PROGRAM
Hope this helps.
Reward if helpful.
Regards,
Sipra -
Send emails from SAP BPC is disabled?
Hello,
I want to send emails from the SAP BPC, I have configured everything. But I have read that this part is disabled in SAP BPC 5.1.
Is that true??
Thank you very much.
Pablo Mortera.Hi Pablo,
Are you talking about any specific emails to be generated from BPC or emails in general? For example, if you are alluding to automatic generation of emails to the owners of BPF or the reviewers of BPF, then that feature is available in BPC7M (Microsoft version of BPC7.0).
Regards
Pravin -
Hello,
I want to know how can activate the parte to send emails in the SAP BPC 5.1 SP3.
Thank you very much.
Best Regards...
Pablo Mortera.Pablo,
Joost is correct. The admin interface via the web, and then in the Manage Appset Parameters via the action pane will take you to a location to enter SMTP server and specifics. Good luck, and if you have issues, please check help, support and the forum. -
Sending the Email from SAP B One through SDK
hello guys,
i have an issue that,
i have desinged the RFQ Screen through SDK, when i entered the data into the controls,when the user clicks on the Email button,
the system has to send the email to the Specified person in the screen.
so please me regarding this issue.
thanks in advance.
thanks & regards
shiva shanker.
[email protected]Couldnt you use the DI API Message service ?
-
Cannot send external emails from SAP
Hi,
I am trying to set up emails to external systems, but for some reason it is not working. I have checked the port number for the SMTP server with the administrator and it is the default one, the SMTP server name, and also in SCOT the INT portion has a * in it.
I am able to send emails to internal domain (our work email domain) but when sending it to external domains, it keeps coming back with the error message " recipient unknown".
I have some doubts but am not sure if these should / could be the problem.
1. Is there a job that need to run periodically for sending emails.
2. Should there be a * in SCOT in the INT part ? or should it be @.com or something else.
3. Is there anything else that I am missing?
Platform : ECC 6.0
Thanks,
KunalHi Adam,
Thanks for your reply. Here is what I have set up for the instructions you provided me.
1. I<b>n SCOT, menu 'Settings' --> 'Default Domain'</b> I have my work domain set up.
Assume that I work for ebay.It is set up as ebay.com. I am able to send emails to [email protected] want to be able to send emails to other domains.
Question : Should I be setting up the name of the domain that I want to send emails to ? I dont think that this is feasible. But still I might be wrong.
2. <b>Your SMTP server should have added this SAP server into its auth list.</b>
Yes. I have checked on this with my SMTP administrator. The ip of that SAP server is in the authorization list.
3.<b>A periodic job ( 2 minutes? 5 minutes? etc) should be defined for sending Emails automatically</b>
I have the following jobs running when I go to jobs in SCOT
MAILSERVERSEND INT 5min 14:46:52
SAPCONNECT INT SEND 1 INT 10min 14:55:00
Is there any other job that needs to be running for this?
4.<b>A '*' should be defined in 'SCOT' -->'INT' --> 'Internet' --> 'Address areas'</b>
Yes, There is.
Thanks,
Kunal -
hiii
<b>Is it possible to send mail from SAP to External user??????if possible does BASIS people had to do something???</b>
I want to send the email from sap to external user([email protected]).My mail will consist of some changes made in production order(CO03). for which i had created the BADI. That part is over now i want to send the mail.
<b>I got many sample programs in sdn but when i enter the email address it execute but mail is not sent.....I want to know by just executing Zprogram mail will be sent or there is some role for BASIS also..............</b>
Thanking you.
Regards.There is a transaction called SCOT that needs to be configured
http://www.sap-basis-abap.com/sapbs035.htm
http://www.sap-img.com/basis/basis-faq.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm -
Hi Experts,
I am facing some issues while sending an email from SAP GUI 720 to the external email destination.
This problem is reported by one of our customers.
Customer is trying to generate a email from SAP. As apart of body of mail he is generating the contents which
contains single/double quotes by typing it from MS word.If that content having quotes is passed as body of mail ,the email
generated from SAP is successful but the content was replaced with "#" instead of single /double quotes.
NOTE:If we use the contents that was typed from vi editor or textpad, and passing it as body of mail. Single quote
and double quotes works fine and can also view the entire body of mail .
I would like to know the following points to analyze this problem:
1. Is it the known issue? Is anyone has faced the same problem?
2.As per my understanding, when we send email for SAP UI ,the request gets queued up and then sent to the SAP gateway.
SAP gateway then sends it to the external email destination.
Is there any way to check the what is the data sent to SAP gateway?
I tried to check the Gateway traces but it does not log any data related to the email body message.
3. Whether the data will get logged in SAP log files?If yes, what is the location?
4. Whether we need to explicitely enable the SAP logs?
Looking for some inputs from experts.
Thanks,
AaratiFound it
I can see I can usr Fm SO_DOCUMENT_SEND_API1 for this
Regards
Morten Nielsen -
Cannot Send Email from SAP Business One
Hi Experts
I have configured SAP Email Services from the Mailer Service and Customer can send emails all the while,
Now I have an Issue for One User,
Iam using the Same Machine, Same Database with Manager Login, I can send Email from SAP with Attachments
But When I use another Super user the system is not delivering the Email and it Goes to the Sent box (but not delivered)
Have anyone encountered the Issue before
Please hep to solve this issue permanently
Thanks and Regards
Vinodh Kumar MohanHi Vinodh Kumar Mohan,
If the email can be found in Sent box, it must be delivered already.
The problem could be on the email recipient side. It may go to the junk mail.
Thanks,
Gordon -
Send email from SAP using SMTP-AUTH
Dear all,
I would like to send email from SAP to external SMTP server using authenticated method.
Can I set up this scenario with SAPConnect?
Or are there any other methods to set up this scenario?
Thanks, Regards,
FendhyHi,
You dont need anu authentication to be set :
Just follow below steps :
Simple steps to do the SMTP configuration :
1. Use transaction SCOT
3. Double Click on SMTP
4. You will get a window and fill in description
5. Tick the "Node in use" box
6. Enter the hostname of the email exchange server
7. Mail port will be 25
8. Click on the button next to Internet called "Set"
9. You will get another window, in the "address area" box, enter *
10. Click the green check button to exit the second window
11. Click the green check button to exit the main window
12. From top menu: Settings -> Default Domain
13. in the small box that appears enter the domain name which is the last part after the @ sign. The domain name would be company.com
14. You need to define a job to process the email, from top menu: View -> Jobs
15. From top menu: Job -> Create
16. Enter a name
17. Click on "INT" in the list then "Schedule job" button
18. Enter start date and time, then click on "Schedule Periodically" button
19. Enter something like every 10 minutes.
20. the configuration is now complete. To test it, you need to have an email defined in your user id properties. Use SU01 for that.
21. Use transaction SO00
22. Put Title, and text in the body, then enter your email address below, the recepient type would be "internet address"
23. After a maximum of 10 minutes you should get the email address.
Regards,
Nirmal.K -
How to send automatic EMail from SQL or SAP B1
hi experts as we are using SQL as DB i ned to send E-mails from sap system automatically but from SBO mailer or Scheduler is not working from my side now i was planning to send emails from SQL can any one help me how to send emails automatically from SAP business one or from SQL
Hi
In SQL under Management\Database Mail
You can configure account you use to send mails from SQL
Then you can prepare procedure that will send mail
for example
EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Hurtpol',
@recipients = '[email protected]',
@query = 'select isnull(syncherror,'''') collate polish_ci_as
from np.dbo.OITM
where U_SynchStatus=''Failed''',
--@body = @tresc,
@subject = 'synch error'
read about sp_send_dbmail -
To send an email from outlook to SAP user in SAP
Hi,
Is it possible to send an email from outlook to SAP user in SAP?
Regards,
MizanHi Mizan......
Yes off course it is possible.
Generally how we put the CC to our ionternal users like you have to put their email address while sending mail through SAP viq outlook.
The mail will go from SAP but via. outlook and user will receive the mail in Outlook Integration and not inside B1.......
If you want it in B1 then instead of sending mail you can send the same by choosing option Int......
Regards,
Rahul -
General users can not send emails from SAP themselves except sap_all user
Dear experts ,
General users can not send emails from T-CODE: SO00 themselves except the users
which Assigned SAP_ALL Authorization Profiles .
We hit SAPconnect trace Error : SO_OBJECT_MIME_GET Exception: 2 .
No MIME Document Received. Error Code: UNKNOWN .
How to can i solve the problem ?
Thanks a lot in advance .Thanks for your Reply .
I had set default domain in SCOT ,and email address in su01 .
we can send email successful only SAP_ALL users .General users can not send emails from SAP themselves
Is anybody else to help me ?
Thanks a lot in advance . -
Hi Experts,
I am sending an email from ABAP program using the function module SO_NEW_DOCUMENT_ATT_SEND_API1. But, it is in pending when we see the transaction code SOST. In that T-code if we select that particular mail and press execution button, it is sent to the email id. Do we have any function module which will trigger the mail directly to mail server or to work with the tcode SOST. Do we have any other mechanism.
Thanks and regards,
VenkatHi
After calling the function module : SO_NEW_DOCUMENT_ATT_SEND_API1
check sy-subrc.
If it's 0,the code will sent the emails from SAP.
otherwise there will be the problem.
SOST will send the mails with some delay in some cases.
Regards,
Sreeram
Maybe you are looking for
-
A week or so ago the Trackpoint on my T60P (2007-AE7), running XP SP 3, started freezing a minute or two after booting the machine or waking it up. Occasionally after a pause of a few minutes it will start working again on its own for a few seconds.
-
Oracle 11g - Solaris 10 on cisco UCS server
I would like to know if anyone has experience with installing Oracle databases on cisco UCS servers. I recently took over a dba shop and my client has purchased a cisco UCS server and is planning on migrating some databases currently on dedicated se
-
Airport Express Signal very weak
I have added an additional express to help boost my signal which weakens dramatically as I leave my office. We have a linksys system that my sister brought from her old apartment - that gives a great signal - but 2 Express and almost no signal. The u
-
Having trouble opening flash help/f1 in cs6
This is so stupid I can't get any help I need from any one I don't know what I am even doing here. I have tried to contact adobe but all they want you to do is join or become a member of their boards and that is it. I am having trouble opening flash
-
does hrms org structure inclunde business entity? if yes, what is definition of business entity? what is the difference between business entity and operating unit?