Problem in Report for Sending Email
I have created report for sending the email. When i execute, which is the transaction to chec the email outbox for cheking the email contents?
please let me know.
Actually there are couple: check SO01 and SBWP
Regards
Marcin
Similar Messages
-
Problem configurationing Agents for sending email
Hi,
Do you know how can I configurate option for add email recipients, so that I can type an email address and send agent by email ?
Nowadays the option: "add email recipients" is only enable for user administrator and I need enable for another users.
I will appreciate your help
Thankshmm
without creating user... I would suggest to change your email address to others for a ibot and revert it back when you are done.
If not create dummy users and set profiles and use.
If helps mark -
Problem in ZMETHOD for sending email in WF Step?
Hi all,
I have written a zmethod to send mail to approvers.
I am doin like this:
SWC_GET_TABLE CONTAINER 'ZPERNR' LT_PERNR.
*******fetch mail id of approver***********************
IF lt_pernr[] IS NOT INITIAL.
SELECT usrid_long FROM pa0105
INTO TABLE lt_email
FOR ALL ENTRIES IN lt_pernr
WHERE pernr = lt_pernr-pernr
AND usrty = '0010'
AND usrid_long <> '' .
ELSEIF lt_pernr[] IS INITIAL.
assign default agent...
ENDIF.
The problem is in workflow log it is showing this step in Process Step,doesnt go ahead...
But if i remove the statement IF lt_pernr[] IS NOT INITIAL, and ELSE part also this will work...
But if there is no data in LT_PERNR[] then the mail is triggering to all users....
What should i do now to make sure that lt_pernr[] has value.........and why this IF is not working.........
Regards,
ArpitaI'm sorry for the multiple posts, my computer got stuck "in process" and it just kept posting. I'll try to remove the extra posts if I can.
Duplicates removed.
- Mike
Edited by: Mike Pokraka on Sep 2, 2010 3:15 PM -
Problem in executing report for sending mail with form as attachment
Hi
i created a form in SFP and creted a report for sending it as an attachment via email.When it execute the report an error messgae is displyed saying: Unable to load form for language vector E.
Please suggest.Hi,
Do you use CL_BCS class to send your forms ?
Did you pass the forms as binary file to the mail ?
I can give you sample code where all exception are process and you can see the exact error .
Best regards. -
Hi all report that sends email shows popup window needs to be supressed
hi all
i have developed a report that sends email as an attachement, but this report pops up a window in the end ( it says 'no of objext sent') and there i have to press enter, but my report is running in the background (scheduled report) and therefore there should be no pop ups in the report.
question is how to avoid popup window in the following program.
below is my code
just enter your email id in the code and it will run anywhere.
TABLES: ekko.
*PARAMETERS: p_email TYPE somlreci1-receiver
DEFAULT '[email protected]'.
TYPES: BEGIN OF t_ekpo,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
END OF t_ekpo.
DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
wa_ekpo TYPE t_ekpo.
TYPES: BEGIN OF t_charekpo,
ebeln(10) TYPE c,
ebelp(5) TYPE c,
aedat(8) TYPE c,
matnr(18) TYPE c,
END OF t_charekpo.
DATA: wa_charekpo TYPE t_charekpo.
DATA: it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
WITH HEADER LINE.
DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c,
w_doc_data LIKE sodocchgi1,
gd_error TYPE sy-subrc,
gd_reciever TYPE sy-subrc.
*START_OF_SELECTION
START-OF-SELECTION.
Retrieve sample data from table ekpo
PERFORM data_retrieval.
Populate table with detaisl to be entered into .xls file
PERFORM build_xls_data_table.
*END-OF-SELECTION
END-OF-SELECTION.
Populate message body text
perform populate_email_message_body.
Send file by email as .xls speadsheet
PERFORM send_file_as_email_attachment
tables it_message
it_attach
using " p_email
'Example .xls documnet attachment'
'XLS'
'filename'
changing gd_error
gd_reciever.
Instructs mail send program for SAPCONNECT to send email(rsconn01)
PERFORM initiate_mail_execute_program.
*& Form DATA_RETRIEVAL
Retrieve data form EKPO table and populate itab it_ekko
FORM data_retrieval.
SELECT ebeln ebelp aedat matnr
UP TO 1 ROWS
FROM ekpo
INTO TABLE it_ekpo.
ENDFORM. " DATA_RETRIEVAL
*& Form BUILD_XLS_DATA_TABLE
Build data table for .xls document
FORM build_xls_data_table.
CONSTANTS: con_cret TYPE x VALUE '0D', "OK for non Unicode
con_tab TYPE x VALUE '09'. "OK for non Unicode
*If you have Unicode check active in program attributes thnen you will
*need to declare constants as follows
class cl_abap_char_utilities definition load.
constants:
con_tab type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
con_cret type c value cl_abap_char_utilities=>CR_LF.
CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
LOOP AT it_ekpo INTO wa_charekpo.
CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
wa_charekpo-aedat wa_charekpo-matnr
INTO it_attach SEPARATED BY con_tab.
CONCATENATE con_cret it_attach INTO it_attach.
APPEND it_attach.
ENDLOOP.
ENDFORM. " BUILD_XLS_DATA_TABLE
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
FORM send_file_as_email_attachment tables pit_message
pit_attach
using "p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
DATA: ld_error TYPE sy-subrc,
ld_reciever TYPE sy-subrc,
ld_mtitle LIKE sodocchgi1-obj_descr,
ld_email LIKE somlreci1-receiver value '[email protected]',
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des ,
ld_sender_address LIKE soextreci1-receiver,
ld_sender_address_type LIKE soextreci1-adr_typ,
ld_receiver LIKE sy-subrc.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
CLEAR t_attachment.
REFRESH t_attachment.
t_attachment[] = pit_attach[].
Describe the body of the message
CLEAR t_packing_list.
REFRESH t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
DESCRIBE TABLE it_message LINES t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
APPEND t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
APPEND t_packing_list.
Add the recipients email address
CLEAR t_receivers.
REFRESH t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
APPEND t_receivers.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_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.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
LOOP AT t_receivers.
ld_receiver = t_receivers-retrn_code.
ENDLOOP.
ENDFORM.
*& Form INITIATE_MAIL_EXECUTE_PROGRAM
Instructs mail send program for SAPCONNECT to send email.
FORM initiate_mail_execute_program.
WAIT UP TO 2 SECONDS.
SUBMIT rsconn01 WITH mode = 'INT'
WITH output = 'X'.
AND RETURN.
ENDFORM. " INITIATE_MAIL_EXECUTE_PROGRAM
*& Form POPULATE_EMAIL_MESSAGE_BODY
Populate message body text
form populate_email_message_body.
REFRESH it_message.
it_message = 'Please find attached a list test ekpo records'.
APPEND it_message.
thanx
rockyhi rocky,
pls comment the submit program form INITIATE_MAIL_EXECUTE_PROGRAM by default the email runs in background and there is no need to submit 'rsconn01' it again to that program where u actually get the pop-up...
try it
hope this helps
regards,
karthik -
I receive a pop-up from ICal saying the server does not recognize my user name and password for my me.com email address. This started yesterday and occurs about every 5 minutes or so. There are no problems with receiving or sending email through Mail. I did change me email password several days ago but have no problems sending/receiving since then.
I fixed the problem. I opened Preferences in ICal and entered my new password. No more pop-ups
-
ABAP program for sending emails
Hello SAP developers,
I need ABAP program for sending emails to my internet adress in background - just some simple header with no body and no attachement. Recipient should be specified due the parameter etc... Does program like this exist or i have to create it? I am not familiar with ABAP. I am basis admin so I am little bit lost in this. I have tried program code from this page ->
http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
But anyway it does not work - there is an exception "no message send". SCOT is configured, mails are working fine from transaction SBWP.
Thanks in advace
JMI have already solved my issue through CCMS agents and RZ20 central autoreaction (sms) in Solution Manager.
Regards
JM -
Standard report for employee email ids(I T105)
Hi All,
Any standard report for employee email ids(I T105)
Thanks
SDHi..
There is no standard report program but.. you can use Function module HR_READ_INFOTYPE to retrieve email address giving a Personnel number.
OR, It is better to go directly to PA0105 and fetch mail ID's
SELECT USRID_LONG FROM PA0105 INTO LT_EMAIL_ID WHERE PERNR = PERNR
Hope this will solve your problem..
Regards,
Jhings -
Servlet for sending email error
i working for send email using servlet and html. when i run i got this error..
what cause this problem.
please someone help me. urgent!!!
thank you in advance
servlet error........
ENCOUNTERED EXCEPTION: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at EmailSMSServlet.doPost(EmailSMSServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:494)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:594)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:392)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:565)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)here is my code...actually my program send email from SMS. i parser SMS to email format. My SMS part is working but when i combine it,i got error as above. I tried run without servlet (using command prompt) it working properly and i can send email.
public class EmailSMSServlet extends HttpServlet
CService srv;
int status;
LinkedList msgList;
public void init(ServletConfig config) throws ServletException {
super.init(config);
srv = new CService("com4", 9600);
msgList = new LinkedList();
srv.initialize();
srv.setCacheDir(".\\");
public void doPost(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException
PrintWriter writer = response.getWriter();
response.setContentType("text/html");
writer.println("<html>");
writer.println("<head>");
writer.println("<title>SMS TO EMAIL</title>");
writer.println("</head>");
writer.println("<body bgcolor=\"blue\">");
writer.println("test");
try
status = srv.connect();
if (status == CService.ERR_OK)
srv.setOperationMode(CService.MODE_PDU);
if(srv.readMessages(msgList,CIncomingMessage.CLASS_ALL)==CService.ERR_OK)
for (int i = 0; i < msgList.size(); i ++)
CIncomingMessage msg =(CIncomingMessage)msgList.get(i);
String s=msg.getText();
String from1=msg.getOriginator()+"@mysite.bla.bla";
writer.println(s);
writer.println("<p>");
writer.println(from1);
writer.println("<p>");
// parser sms to email ...
String delim = "#";
StringTokenizer st= new StringTokenizer(s,delim);
String str[] = new String[st.countTokens()];
int j=0;
while (st.hasMoreTokens())
str[j++] = st.nextToken();
writer.println("<p>");
writer.println("Kepada:");
writer.println(str[0]);
for(int k = 0; k < str.length; k++)
writer.println(str[k]);
// Send mail using javamail.....
Properties props=new Properties();
props.put("mail.transport.default",blah");
props.put("mail.smtp.host","blah");
try{
Properties props=new Properties();
props.put("mail.transport.default","smtp");
props.put("mail.smtp.host","host");
Session mailSession=Session.getInstance(props,null);
Message mssg=new MimeMessage(mailSession);
mssg.setSubject(str[1]);
mssg.setContent(str[2],"text/plain");
Address to =new InternetAddress(str[0]);
mssg.setRecipient(Message.RecipientType.TO,to);
Address from=new InternetAddress(from1);
mssg.setFrom(from);
Transport.send(mssg);
writer.println("Succes");
} catch (Throwable t) {
writer.println("<font color=\"red\">");
writer.println("ENCOUNTERED EXCEPTION: " + t);
writer.println("<pre>");
t.printStackTrace(writer);
writer.println("</pre>");
writer.println("</font>");
srv.disconnect();
else
writer.println("Connection to mobile failed, error: " + status);
catch (Exception e)
e.printStackTrace();
writer.println("<br><br>");
writer.println("</body>");
writer.println("</html>");
thanks -
An advanced solution for sending email from Solution Manager (or CRM)
Hi all,
did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
<a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
I´ve got some problems:
I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
I´ve got some errors:
In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
- method string_to_soli does not exist. There is a method xstring_to_solix.
When I change to method xstring_to_solix
- "L_STRING" is not type-compatibly to "IP_XSTRING".
In method ZSM_ATTACH_PHIO_DOCU:
- field DOCUMENT is unknown
Regadrs
AndyHi all,
did anyone use blog "An advanced solution for sending email from Solution Manager (or CRM)"
<a href="/people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm:///people/emmanuele.prudenzano/blog/2006/08/03/an-advanced-solution-for-sending-email-from-solution-manager-or-crm
I´ve got some problems:
I tried to implement your solution in our SAP system. I´m new to ABAP and so it´s a little bit try and error for me.
I´ve got some errors:
In method EXEC_SMART_FORM_WITH_TEXT (from note 935670) :
- method string_to_soli does not exist. There is a method xstring_to_solix.
When I change to method xstring_to_solix
- "L_STRING" is not type-compatibly to "IP_XSTRING".
In method ZSM_ATTACH_PHIO_DOCU:
- field DOCUMENT is unknown
Regadrs
Andy -
Function module for sending email
Hi all,
Can I know list of function modules for sending emails.
Other than "SO_DOCUMENT_SEND_API1"
pls let me knowHi Praveen,
Below is the sample code to send the external mail.
&**********Reward Points if helpful**********&
DATA: ld_mtitle LIKE sodocchgi1-obj_descr,
ld_format TYPE so_obj_tp ,
ld_attdescription TYPE so_obj_nam ,
ld_attfilename TYPE so_obj_des .
ld_receiver LIKE sy-subrc.
DATA: it_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
it_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
it_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
w_cnt TYPE i,
w_sent_all(1) TYPE c, "#EC NEEDED
w_doc_data LIKE sodocchgi1.
REFRESH it_receivers . CLEAR it_receivers .
IF v_trip_send = 'X'.
it_receivers-receiver = it_trip_dload-approver_email .
ELSE .
it_receivers-receiver = it_adv_dload-approver_email .
ENDIF.
it_receivers-rec_type = c_u .
APPEND it_receivers. CLEAR it_receivers.
it_receivers-receiver = " ------> pass your reciever email id.
IF v_trip_send = 'X' .
it_receivers-receiver = it_trip_dload-requester_email .
ELSE .
it_receivers-receiver = it_adv_dload-requester_email .
ENDIF .
it_receivers-rec_type = c_u .
it_receivers-copy = 'X' .
APPEND it_receivers. CLEAR it_receivers.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = c_saprpt.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
CLEAR w_doc_data.
READ TABLE it_attach INDEX w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = c_saprpt.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = c_f.
CLEAR it_attachment.
REFRESH it_attachment.
it_attachment[] = it_attach[].
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 = c_raw.
APPEND it_packing_list.
Create attachment notification
it_packing_list-transf_bin = c_x.
it_packing_list-head_start = 1.
it_packing_list-head_num = 1.
it_packing_list-body_start = 1.
DESCRIBE TABLE it_attachment LINES it_packing_list-body_num.
it_packing_list-doc_type = ld_format.
it_packing_list-obj_descr = ld_attdescription.
it_packing_list-obj_name = ld_attfilename.
it_packing_list-doc_size = it_packing_list-body_num * 255.
APPEND it_packing_list.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = c_x
commit_work = c_x
IMPORTING
sent_to_all = w_sent_all
TABLES
packing_list = it_packing_list
contents_bin = it_attachment
contents_txt = it_message
receivers = it_receivers. -
How to create a BO for sending emails
Hi All,
I want to create a Business Object which should have an event for sending emails.
Please guide me on this.
Thanks in Advance,
Saket.Hi Raj,
See i will explain why i want it.In the link it's done as below:
IF ZCUST_INFO-COUNTRY = 'IN'.
DATA: W_OBJTYPE TYPE SWETYPECOU-OBJTYPE,
W_OBJKEY TYPE SWEINSTCOU-OBJKEY,
W_EVENT TYPE SWETYPECOU-EVENT.
W_OBJTYPE = 'YH355_BO'.
W_OBJKEY = ZCUST_INFO-CUSTNO.
W_EVENT = 'SENDEMAIL'.
CALL FUNCTION 'SWE_EVENT_CREATE'
EXPORTING
objtype = W_OBJTYPE
objkey = W_OBJKEY
event = W_EVENT
COMMIT WORK.
ENDIF.
But here w_objtype is a custom BO and also w_event = 'SENDEMAIL' .This event too
is a custom event.
Now i want to know what code is there in this custom BO because it is this BO which triggers the email through SENDEMAIL event.
Hope i am clear here.
waiting for your reply. -
Setting default account for sending email
I have 4 accounts I use for sending email, but would like to have one be the default and can't figure how to do that. there is a check box next to the outgoing server dropdown that says use only this account. I don't think that is what I want, nor am i clear what that would do.
Is there a way to set a preferred outgoing account?
Does that require a plug in or helper app of some sort.
thanks for any suggestions.In Mail>Preferences>Composing:
Use Send new messages from: to select an account. -
SAPCONNECT guide for sending Emails from BW System to Individual Email IDs
Hello Everybody,
If somebody can send me a pdf guide for SAPCONNECT inorder to configure Information Broadcasting in SAP BW for sending Emails to user's mail Id from BW system i will reward points to the helper for same if the help found useful as iam struggling for a pdf guide since long but couldnot find one ,not even over google,i dont need help site links ,i have tried them already ,they dont lay the exact procedure ,but a pdf guide ,my email id is [email protected] .
Regards,
SaumyaHello Vikash,
Plz check i have rewarded you points for this forum under very helpful answers.Kindly now plz help me with this matter:
I got ur document ,it was very helpful.Actually though i have already done most of these steps but i did all these steps all over again.Have u already made configuration for BW Information Broadcasting on your side because although i have done all these steps but wt happens is that the mails get collected in the SOST transaction and iam still not able to send mails and the error displayed is as :
Message cannot be transferred to node SMTP due to Connection Error .
Kindly please revert back to this error at earliest.
Regards,
saumya -
Settings on Microsoft Exchange Server for sending Email from BW to emailid
Hello Everybody,
I wanted to know that for sending Email from SAP System (that is via Information broadcasting feature of BW )to Email IDS of individuals do we need to make any configurations on Exchange Server as well or some RFC between Microsoft Exchange Server and BW .I have made all settings for SMTP through SCOT transaction but still not able to send mails.From our Exchange Server,the connector is removed ,do we need to reconnect it for this purpose.kindly please tell me wt all configurations do i need to make on Mail server for sending Emails as iam not able to do the same now.If somebody can send a PDF/Word document in support for the same on my email Id [email protected] ,i shall be highly obliged.Your help shall be appreciated ,kindly revert at earliest.
Regards,
saumyaHi Somya,
Looks like you are deep into Information Broadcasting. I am sure you must have seen this, still sharing with you -
SAP Notes -
875136 - Node ID is missing in the status message for RFC connection
455140 - Configuration E-mail, fax, paging/SMS via SMTP
regards
Vikash
Maybe you are looking for
-
Macbook Air (mid-2013) Black Screen Upon Opening Screen
Hi Everyone, I have a mid-2013 Macbook Air (bought in August) that I updated to OS X 10.9 a few weeks ago. Recently I've been noticing that when I flip the screen up it'll work fine, but if I do so consecutively for two times (ie. opening it once,
-
HT204053 I had a mobile me account and now i have two apple id's how do i make it just one?
When I signed up for icloud I was told that i could just use my mobile me account. The problem was that my mobile me account creates an address for me and now that address is my icloud id. In addition to that my itunes store address is different but
-
The flash player box will not go from the screen
When trying to watch a TV episode the flash player box appears on the screen right in the middle of the screen, it can do be moved and no matter what I do it won't go away. I have downloading the latest adove flash.
-
I can't restore my ipod?
everytime i open itunes i get this message "Itunes has detected an ipod in recovery mode. you must restore this ipod befored it can be used by itunes" everytime i tried to restore i always get an error...so how am i suppose to connect it? and i cant
-
My ipod wont charge, all it does is show the dead battery signal
I can't get my ipod touch to charge and it is out of warrenty where can i go to get it fixed or is there a simple soultion i can do do get it to work.