Sending e-mail to external addresses from business activities
Hi Experts,
Im customizing CRM 5.0 and I want to send e-mails to other employees, when Im maintaining a business activity.
These employees can have no SAP user, so I need this e-mail to go to the address maintained in BP transaction (e.g. alda.lobato@enterprisessname.net).
So, I tried to customize in trx. CRMC_ACTION_CONF, the following data / conditions:
Tab Overview "Partner Determination"
- Partner Function: 00000014
- Description: Employee Responsible
- Partner Number: blank
Tab Processing Details "Details of Selected Processing" "Recipient(s)"
- Recipient Type: U Internet address
- Address: blank
- Archive Mode: 1 Mail Only
However, all the e-mails remain to being sent to the Employee Business Workplace (trx. SBWP), as we were sending the email to his SAP user.
Please advise.
Many thanks.
Alda Lobato
Hi Patrik,
First of all, thanks for your quick answer.
I maintained the Email address in Communication area (as already maintained) and in Address-Independent Communication area, but the Emails remain to being sent to Employee Business Workplace (trx. SBWP).
The Standard Address area that you indicated, only have the fields Street/House number, Postal code/City, Country, Region and Time zone - I dont have the field Email address so I figured out that you talking about the Address-Independent Communication area.
After this, I did another test, which was maintaining the Email address only in Address-Independent Communication area. When I sent the Email through the business activity, appears the error message Action could not be successfully executed.
This mean that the Email address must be maintained in Communication area but it seems that independently the Email address maintained here, the Email is always sent to Employee Business Workplace.
Please advise.
Many thanks,
Alda Lobato
Similar Messages
-
I have to send a mail to external User from Migo.
Hi All,
I have an requirement that when i press the button post in MIGO, then the details
should be emailed to the Client.
I have to Use Badi....
So pls help me out....
Its very Urgent.....Pls
Thanks in Advance.
Regards,
ShahYou can use the BADI MB_DOCUMENT_BADI, and put your code in MB_DOCUMENT_BEFORE_UPDATE method. This is called when the 101 material document is posted.
Albert -
Send mail to external address using send mail step.
Hi all,
I have one question.
In a send mail step of workflow, when the recipient type is a Organizational Object and Org Unit, the mail is only sent to workplace? I would need to send the mail to external address from all users of Org Unit. Is possible it?
Thanks
Regards,
David.Hi,
1) In the Recipient type select the E-Mail address from the drop down
2) And give the email id (in the text box)
3) Then save & test it.
4) Once it execute goto t.code SOST and see the email entry.
5) If entry not found, the SCOT settings is not done then check with Basis Team
6) If found, select it and execute.
7) And check you email
Regards,
Surjith -
Sending mail to external mailid from user exit EXIT_SAPLEBNF_005
Hai ALL,
iam facing problem with sending mail to external id from user exit exit_saplebnf_005 , this user exit for ROLE Determination of releasing of PO .
in this user exit i passed a user name for this role from one z table.
through workflow the mails are send to workplace of resposible person maintained in ztable.
now user requirement is they want some intimation in their outlook for they got mail in workplace .
can anybody help me.
Thanks .
sushmita.kthey can either define automatic forwarding in their SAP office to external e-mail OR they can set their external e-mail as preferred method of communication and they should receive mail to their external mailbox assuming that sending to external mail is supported in your system (check with BASIS folks).
-
How to send a Mail purchase order automaticaly from ME22N
How to send a Mail purchase order automaticaly from ME22N
Hi,
First create an entry via NACE with medium = 5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
I hope this helps,
You may also refer to the SAP note 191470.
Regards
Raju Chitale -
When i need to send somthing to an email address from a website, the Outlook Express pop up even i do not set it as default's email
http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox
-
Send a mail with a picture from mime repository
Hello,
I want to send a mail with a picture from mime repository.
The mail is sended OK, but the receiver hasn't the picture on the mail (don't find the picture).
Here is my syntax :
st_objtxt-line = '<IMG SRC="SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" ALIGN=RIGHT WIDTH="100" HEIGHT="80">'.
append st_objtxt to t_objtxt.
"SAPR3://005056B2002D1EE3BF8F5B5ECDCA55E1" is url of my object mime .
Have you a idea to resolve this problem ? It's the syntax OK ?
Thank for your responses.
Regards.
JCAILHave you tried storing your picture as a business document? Have a look at the class cl_bds_document_set to read your picture from the BDS.
-
How to send a mail with HTML body from Oracle
Hi Team,
Can somebody guide me how to send a mail with HTML body from oracle.
Here is the piece of code i am trying to send a mail.
procedure SEND_MAIL is
cursor c_1 is select * from table_name;
l_mail_id varchar2(40);
-- ls_mailhost VARCHAR2(64) := Mailhost;
ls_from VARCHAR2(64) := ‘[email protected]’
ls_subject VARCHAR2(200);
ls_to VARCHAR2(64);
l_mail_conn UTL_SMTP.connection;
ls_left_menu_name VARCHAR2(64);
ll_emp_num number(8);
begin
for i in c_1 loop
begin
l_mail_conn := UTL_SMTP.OPEN_CONNECTION('IP');
UTL_SMTP.HELO(l_mail_conn, 'IP');
UTL_SMTP.MAIL(l_mail_conn, LS_FROM);
UTL_SMTP.RCPT(L_mail_conn, LS_TO);
UTL_SMTP.DATA(l_mail_conn,'From: ' ||ls_from || utl_tcp.crlf ||
'To: ' ||ls_to || utl_tcp.crlf ||
'Subject: ' ||ls_subject|| utl_tcp.crlf);
UTL_SMTP.QUIT(l_mail_conn);
exception
when no_data_found then
null;
when others then
RAISE_APPLICATION_ERROR(-20000, 'Failed to send mail due to the following error: ' || sqlerrm);
end;
end loop;
end;
ThnxHi Nicolas!
Have you tried to set "Output Format" for "RAW Text" to HTM in SCOT.
If HTM is missing in your dropdown-list, you could check out table SXCONVERT2. Copy the line with category T/format TXT, and change the format from TXT to HTM. The existing function
SX_OBJECT_CONVERT__T.TXT does not need to be changed. Now you should be able to choose HTM in SCOT. You will probably need som HTML-tags in your text to make it look good.
Hope this helps!
Regards
Geir -
Sending mail to Internet address from SAP system
Hi...
My requirement is to send a mail to an internet address say ABC@companyid from SAP.
I have used a FM So_New_Document_Send_API1 for the purpose.For this I have provided
e_mailrec-receiver = w_emailid.
e_mailrec-rec_type = 'U'.
APPEND e_mailrec.
But I get an error msg in SOST, that the route from (SAP server) to (mail id) not found.
Instead of internet address when I give rec_type as B i.e. SAP USER it sends a mail to my SAP inbox.
I have also checked SAPConnect, and it is fine.
Is the above FM only for sending mails to SAP id, then wats the FM for sending mails to internet address? Its just sending a 1 line mail without attachment.
P.S: I have gone through search in sdn so please don't provide me with links to other threads.
Reply only if you can actually help and know wats this about.
Thnaks and Regards.These are the FM for sending external email :-
SO_DOCUMENT_SEND_API1
Send new document with attachments via RFC
SO_NEW_DOCUMENT_ATT_SEND_API1
(In 4.6C only, You can go to SE37 and click the documentation on how to use it. A sample program is provided there.)
Send new document with attachments via RFC
Note : If you are using FM SO_NEW_DOCUMENT_ATT_SEND_API1 then Export Parameter DOCUMENT_DATA-OBJ_DESCR contains the Subject.
SO_NEW_DOCUMENT_SEND_API1
Send new document
For Code
http://www.forum.saptechies.com/viewtopic.php?t=5562 -
Sending PDF output attachment in e-mail to external users from BSP
Hi All,
Please gothrough the below requirement details :
Requirement Details:
Need to achieve the functionality of sending a PDF attachment of invoice to an external
e-mail address from the BSP Application.
Implementation Details:
The Print out Output determination is already done in the system. We are using SAP R/3 4.7 (620)
In the Transaction VF03 in the initial screen there is a menubar "Billing document" and underneath that menu there is a menu item called "Issue". If we click the "Issue" menu item all the output that are already proposed will be visible and we can select the printout Output determination and can issue a printout.
I had created a FM to call from BSP and that function module will take the Invoice number as input and will call the "VF03" transaction using BDC and will trigger the Sapscript Printout . I see the the sapscript in the spool after I call the Function module .
But I don't know how I can get the Spool request number for that Function module call from BSP page ????
I got struck in this approach...
If I know the Spool number after calling the function module the it's very easy to call the following FM's for sending a e-mail with the Invoice PDF attachment.
CONVERT_OTFSPOOLJOB_2_PDF
QCE1_CONVERT
SO_NEW_DOCUMENT_ATT_SEND_API1
Please let me know if anyone can help me in this ...
Please reply ASAP.
Thanks,
GreetsonCheck out these weblogs.
/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp
/people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Regards
Raja -
Sending mail to external address
Hi all,
I did a configuration for set up the gateway
1- Set up RFC in SM59. I tested this connection was working fine.
2- Created a node in SCOT under INT (Internet). Allowed all formats for processing.
3- I have set up conversion rules in SCOT.
4- After above When I send an email from Workplace to an external address like [email protected] I get an error that Cannot process message in node, parameters cannot be converted.
Message class XS message 821
Now I am not sure what parameters it has not been able to convert. Has anyone encountered this problem earlier?
Thanks in advance.
ViKaS.Hai Vikas
Check the following Document
Here are the steps.
SM59 Transaction is used for Connection Establishment with Destination.
When you establish a connection to a client through a destination, the HTTP connection must first be entered in transaction SM59.
There are two types of HTTP connection in transaction SM59: Call transaction SM59 to display the different RFC destinations.
The HTTP connection to the external server (connection type G) and the HTTP connection to the R/3 system (connection type H) are different only in their logon procedures. Their technical settings are the same. To display the technical settings, double-click a connection.
You can choose from three tabs. Under Technical Settings, you can specify the following:
・ Target Host: The host to which you want to connect.
Note that if you are using HTTPS as a protocol, you have to specify the full host name (with domain).
・ Service No.: Here, you specify the port. The destination host must of course be configured in such a way that the specified port understands the corresponding protocol (HTTP or HTTPS). See Parameterizing the ICM and the ICM Server Cache.
・ Path Prefix: At the time when the connection to this destination is initiated, the system inserts this sub-path before ~request_uri.
・ HTTP Proxy Options: Here, you can configure a proxy for HTTP connections: You can determine the proxy host and service, as well as users and passwords for the HTTP connection.
The tab page Logon/Security will be different depending on whether you have selected a HTTP connection to an external server (connection type G) or a HTTP connection to an R/3 system (connection type H).
HTTP Connection to an External Server (Connection Type G)
Choose the connection you want to use. You can choose from the following logon procedures:
・ No Logon: The server program does not request a user or password.
・ Basic Authentication: The server program requests a user and password. Basic Authentication is a standard HTTP method for authenticating users. When a user logs on to the target system, he or she provides a user ID and password as authentication. This information is then sent in a header variable as a Base 64-encoded string to the server, through the HTTP connection.
・ SSL Client Certificate: If you use client certificates for authentication, the client authentication is performed through the Secure Sockets Layer (SSL) protocol. In this case, you must also select the SSL Client PSE of the SAP Web AS that contains the relevant certificate for the authentication. The target system must handle the issuer of the SAP Web AS client certificate as a trusted system.
Under Logon/Security, you can also activate SSL to ensure that HTTPS is the protocol used (if you select SSL, make sure that the correct port is entered under Technical Settings). In the security transaction STRUST you can determine which type of SSL client is used. (Getting Started with the Trust Manager, Trust Manager).
The field Authorization for Destination has been implemented as an additional level of protection. We recommend that you specify a user and password for the RFC destination.
HTTP Connection to an R/3 System (Connection Type H)
Here, you can specify more settings for authentication in the target system.
The settings under Technical Settings and Special Options are the same as for connection type G. Under Logon/Security, the connection type H has additional logon procedures. As with external servers, you can activate and deactivate SSL and specify an authorization.
Because the target system is an SAP system, you can set the client and language for the logon as well as the user name and password. If you check Current User, you have to specify the password.
The following authentication procedures are available: Basic Authentication, SAP Standard, and SAP Trusted System, and SSL Client Certificate.
・ HTTP Basic Authentication: Logon with user and password
・ SAP Standard: This procedure uses an RFC logon procedure. The RFC Single Sign-On (SSO) procedure is valid within the one system. The same SAP user (client, language, and user name) is used for logon.
・ SAP Trusted System: Trusted RFC logon to a different SAP system (see Trusted System: Maintaining Trust Relationships Between SAP Systems)).
・ SSL Client Certificate: The SSL protocol enables you to use client certificates for the logon.
Type G/H (SM59)
Timeout:
When sending a HTTP request, you can use this parameter to specify the maximum response time for the connection.
HTTP Setting:
You can use the HTTP version to specify the protocol version of the HTTP request (HTTP 1.0 or 1.1).
Regards
Sreeni -
WorkFlows:How to send mail to external address
Hi all,
I am new to workflows, I want to send mail to my outlook form workflow. I have added mail id in Tcode: SO13 in Automatic Forwarding Tab. when I excute the workflow by adding mail step. the mail is going to sap inbox but it is not going to my outlook. Can anybody please explain.
Thanks in Advance.
Edited by: Ranjith Reddy on Feb 20, 2009 11:32 AMHi,
The 'SendMail' activity is failing in my workflow if I give the Recipient type 'E-mail Address' and hard code the email id. I tried the other way of giving expression also, both have resulted in error halting the workflow.
Is there any other configuration need to be done to send mail to external system (mail server) ? Please help .
Regards,
Gowri.S -
How to send a mail to a person from after completeing bdc .
Hi Xperts,
Please send me a options how to send a mail to a person after completing a bdc or from any report program.
mailed can be a sapuser or other service provider(ex:yahoo,gmail.any thing)
Please Any one i want it now .
Thank You.FUNCTION RS_SEND_MAIL_FOR_SPOO* Email ITAB structure
DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
INCLUDE STRUCTURE SOLI.
DATA: END OF EMAIL_ITAB.
DATA: T_EMAIL LIKE SOOS1-RECEXTNAM. "EMail distribution list
CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
[email protected],[email protected].
Initialization
REFRESH EMAIL_ITAB.
Populate data
EMAIL_ITAB-LINE = Email body text 1.
APPEND EMAIL_ITAB.
EMAIL_ITAB-LINE = Email body text 2.
APPEND EMAIL_ITAB.
T_EMAIL = C_EMAIL_DISTRIBUTION.
--- EMAIL FUNCTION ---------------------------------------------------
REQUIRMENTS:
1) The user running the program needs a valid email address in their
address portion of tx SU01 under external comms -> SMTP -> internet
address.
2) A job called SAP_EMAIL is running with the following parameters:
Program: RSCONN01 Variant: INT User: XXX
This program moves mail from the outbox to the mail server using
RFC destination: SAP_INTERNET_GATEWAY_SERVER
INTERFACE:
1) APPLICATION: Anything
2) EMAILTITLE: EMail subject
3) RECEXTNAM: EMail distribution lists separated by commas
4) TEXTTAB: Internal table for lines of the email message
EXCEPTIONS:
Send OK = 0 otherwise there was a problem with the send.
CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
EXPORTING
APPLICATION = 'EMAIL'
EMAILTITLE = 'Email Subject'
RECEXTNAM = T_EMAIL
TABLES
TEXTTAB = EMAIL_ITAB
EXCEPTIONS
OTHERS = 1.
Function Z_SEND_EMAIL_ITAB
""Local interface:
*" IMPORTING
*" VALUE(APPLICATION) LIKE SOOD1-OBJNAM
*" VALUE(EMAILTITLE) LIKE SOOD1-OBJDES
*" VALUE(RECEXTNAM) LIKE SOOS1-RECEXTNAM
*" TABLES
*" TEXTTAB STRUCTURE SOLI
*- local data declaration
DATA: OHD LIKE SOOD1,
OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
DATA: BEGIN OF RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF RECEIVERS.
*- fill odh
CLEAR OHD.
OHD-OBJLA = SY-LANGU.
OHD-OBJNAM = APPLICATION.
OHD-OBJDES = EMAILTITLE.
OHD-OBJPRI = 3.
OHD-OBJSNS = 'F'.
OHD-OWNNAM = SY-UNAME.
*- send Email
CONDENSE RECEXTNAM NO-GAPS.
CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
*- for every individual recipient send an Email
(see OSS message 0120050409/0000362105/1999)
WHILE RECEXTNAM CS ','.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
ADD 1 TO SY-FDPOS.
SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDWHILE.
*- check last recipient in recipient list
IF RECEXTNAM <> SPACE.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDIF.
ENDFUNCTION.
FORM SO_OBJECT_SEND_REC *
FORM SO_OBJECT_SEND_REC
TABLES OBJCONT STRUCTURE SOLI
RECEIVERS STRUCTURE SOOS1
USING OBJECT_HD STRUCTURE SOOD1.
DATA: OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = 'X'
OBJECT_HD_CHANGE = OBJECT_HD
OBJECT_TYPE = 'RAW'
OUTBOX_FLAG = 'X'
SENDER = SY-UNAME
IMPORTING
OBJECT_ID_NEW = OID
SENT_TO_ALL = TO_ALL
OFFICE_OBJECT_KEY = OKEY
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
EXCEPTIONS
ACTIVE_USER_NOT_EXIST = 1
COMMUNICATION_FAILURE = 2
COMPONENT_NOT_AVAILABLE = 3
FOLDER_NOT_EXIST = 4
FOLDER_NO_AUTHORIZATION = 5
FORWARDER_NOT_EXIST = 6
NOTE_NOT_EXIST = 7
OBJECT_NOT_EXIST = 8
OBJECT_NOT_SENT = 9
OBJECT_NO_AUTHORIZATION = 10
OBJECT_TYPE_NOT_EXIST = 11
OPERATION_NO_AUTHORIZATION = 12
OWNER_NOT_EXIST = 13
PARAMETER_ERROR = 14
SUBSTITUTE_NOT_ACTIVE = 15
SUBSTITUTE_NOT_DEFINED = 16
SYSTEM_FAILURE = 17
TOO_MUCH_RECEIVERS = 18
USER_NOT_EXIST = 19
X_ERROR = 20
OTHERS = 21.
IF SY-SUBRC <> 0.
RAISE OTHERS.
ENDIF.
ENDFORM.
FORM INIT_REC *
FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
CLEAR RECEIVERS.
REFRESH RECEIVERS.
MOVE SY-DATUM TO RECEIVERS-RCDAT .
MOVE SY-UZEIT TO RECEIVERS-RCTIM.
MOVE '1' TO RECEIVERS-SNDPRI.
MOVE 'X' TO RECEIVERS-SNDEX.
MOVE 'U-' TO RECEIVERS-RECNAM.
MOVE 'U' TO RECEIVERS-RECESC.
MOVE 'INT' TO RECEIVERS-SNDART.
MOVE '5' TO RECEIVERS-SORTCLASS.
APPEND RECEIVERS.
ENDFORM.
2. -
How to send approval mails to external email ID
hi all
i have created a workflow for sales order approval. but now the user can approve only in sap workplace.
Now the problem is the user has to do the approval from an external mail. Can any one tell me how to do it.Hi,
Sending Mail to Outlook : U need the Following things done for this:-
1> Use the Mail Step in the WF and Choose the Receipient as the E-Mail Address and Give the E-Mail Address there.
2> Check the Configurations that need to be done in Transaction SCOT. SMTP Server Settings are done to get the Desired Results.
When the decision is approved, U can Send a mail to the Earlier Approvers Regarding the Status of the Work-Item.
To get Workitems in Outlook..for Approval and Rejection!!
https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
Problem in transferring the workitems into OUTLOOK
/people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
Workflow Items in Outlook
Let me know if u still face any issues.
Regards,
Kanika -
Send workflow mails to external mailbox
Hi guys,
How can mails that I send to SAP mailbox SBWP can be sent also to external mailbox?
It s an urgent need.
SofianeHi,
In the send mail step in the Recipient type select E-Mail Address and give the external address. Mail will go to external address instead of going to SBWP.
But the outlook has to be configured to receive mails from SAP.
Thanks.
Maybe you are looking for
-
How can I reset password in iDS5.1?
A newbie question: There is a thread as below, can some one tell me if there is a passwordMustChange value in iDS5.1? Cause I change the password in console as a diretory manager and checked on 'User must change password after reset', but there is no
-
Information from formula that returns an array is not shown on chart
Hello experts, I have a chart (combination) which should show information from a group of cells that have a formula in it and returns an array (). {=SUM((Plan1!L2:L43=L2)(Plan1!I2:I43=D3)Plan1!M2:M43)} In the spreadsheet and on the chart, while devel
-
PDFs not displaying in Safari for Windows (7)
I am not able to view PDF files from within Safari. When I click on link to a PDF file in Safari for Windosws (v 5.1), Safari just opens a blank window. The address bar shows the correct link, I have both Adobe Reader and Adobe Acrobat installed on t
-
30EA1 /2.*: Mouse-wheel scroll jumps
Hi folks, Under my XP install, my mouse-wheel jumps the default 3 lines in all programs, so it did in previous sqldev versions. Yet in 2.1 EA1, it jumps 12 lines! Can someone from the team acknowledge this behaviour, and if so, log a bug? Thanks, K.
-
How to upgrade hard drive on a compaq f700
I have a compaq presario f700 with a 80gig hd and i am try ing to upgrade to a 250 hd. I have tried several method, copying, cloning the drive, and reinstalling vista on new drive, but none work. is there a size limit for this system, has any one ha