EMail Coniguration in transaction SCOT
Hi,
We have sceduled a job with a user(xyz) in ECC, which runs everynight and send emails to customers with sender address xyzATabc.com as expected but when a customer replys back to that email it should go to efgATabc.com instead of xyzATabc.com.
Is that a configuration somewhere in ECC or in RFC or a Batch job? please help!
Thank you.
Hi,
I am a little confused as to if you want emails to be delivered back to the SAP system or the end users? However, in general, if you want email to be delivered back to the SAP system, you should make sure that you have created a email address in su01 for the "FROM" user. Communication between the mail gateway and the SAP system is done through the 'default domain' that is setup in SCOT.
I dont belive there is "reply to" address which is different than the email address you setup for the user who's name will appear on the from tab.
If you are just looking for emails being send to a specifc group to be redirected to a different group, you have to talk to your exchange group, i'm sure they can configure that for you, pretty quickly. Then this question is not related to SAP at all. I hope this help!
Similar Messages
-
SAP email configuration u2013 transaction SCOT
Our email is hosted on the outside and I am in the middle of changing hosts. The new hosting company will not accept sending STMP mail without authentication. There does not seem to be a way to specify a user ID and logon for the SMTP authentication. How are people sending emails from SAP on the AS/400?
I am one ECC 6.0, Netweaver 7.0
Thanks
AlanHello Alan,
I have NEVER heard on a solution, that SAP can authenticate ...
SAP is more an SMTP server (and can act as client as well) - SMTP servers are even not having authentication in their protocol.
Where do you have information, that this might work ?
(I'm pretty sure, it will not)
Would it be possible, to alow just the IP of your iSeries in this new mail server to relay without user & password ? (That would be the typical solution)
Regards
Volker Gueldenpfennig, consolut international ag
http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de -
Settings of Mail Host and Mail Port in transaction: SCOT for the node: SMTP
Hi,
Could anyone please explain me the significance of Mail Host and Mail Port for the SMTP node in transaction: SCOT.
It says Mail Server to which outbound mails can be passed.
Can i specify my GMAIL ID in the field Mail Host and left blank the Mail Port so that the mail can be sent to my GMAIL Account.
Please let me know if further details are required from my side.
Thanks & Regards,
Goutham.the below are the step to configure your mail server of anhy type ....
Steps to perform in SAP:
1. Transaction SM59 Setup an RFC Destination for the execution of the email transfer
a. Name: Internet Mail Gateway
b. Connection Type: T
c. Description: Internet Mail Gateway
d. Activation Type: Start
e. Explicit host:
i. Program: c:<dir>mlunxsnd (I used c:sapmail)
ii. Target Host: <Server_Name>
f. (MENU) Destination -> Gateway Options
i. Gateway Host: < Server_Name>
ii. Gateway Service: sapgw00
iii.<OK>
g. SAVE
2. Transaction SCOT Setup a default domain for your system
a. (MENU) Settings -> Default Domain
i. <Default_domain> (i.e. [email protected], Domain company.com)
ii. This setting gives a default to any user who does not have their email address maintained in the system. <user_name>@<default_domain>
3. Transaction SCOT Setup of the Node for queuing the emails before transfer to Exchange
a. Click on INT -> Create button
b. Give Default name (I choose EXCHG, as this was the node type for the Exchange Connector)
c. Give Description
d. Assign the RFC Destination previously created (Internet Mail Gateway)
e. Node: Internet
f. Address area: *
g. Supported address Types:
i. All formats except the fllw
ii. ALI, OBJ, OTF, SCR, URL
h. Choose Ok and Save
4. Transaction SCOT Setup a job to execute the send process on the queue.
a. (MENU) View -> Jobs
i. Select the Create Button
ii. Job Name: SAPConnect
iii. Put Cursor on Variant: SAP&CONNECTINT *As you created an INT Node, you need to run the variant for all of the INT sending. You can select SAP&CONNECTALL, but if you are not using any other node types, you can run with SAP&CONNECTINT.
iv. Select: Schedule Job Button
v. Schedule job for a periodic run approx. every 15 minutes
vi. Save
5. Transaction SU01 Maintain each users email address
a. Select users who require the ability to email from SAP
b. Under the address tab, in SU01, maintain their email address.
Steps to perform on the SAP system (operating System):
1. Create a directory for the SAP programs.
a. Create directory c:sapmail (Directory can be anything)
b. Unpack the ML*.CAR file from SAPs website
c. Alternatively, copy the ML* files from /usr/sap/../run/ directory. This ensures version compatibility with your SAP instance.
2. Create the directories for your sendmail program
a. http://emailrelay.sourceforge.net/
i. Download the emailrelay program
b. Create directory c:winntspoolemailrelay
i. Unpack the contents of the emailrelay zip into this directory
c. create Directory c:reskit (Used to make the emailrelay program run as a service
i. http://www.tacktech.com/display.cfm?ttid=197
1. www.tacktech.com had some great instructions for creating a service on the NT side. (Thank you Tacktech)
2. Use SRVANY to create the services, as documented below.
d. Open command prompt
e. Follow instructions for creating a service
i. cd reskit
ii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Engine>" c:reskitsrvany.exe
1. This service is the engine
iii. execute c:reskitinstsrv.exe "<SERVICE_NAME_Send_Process>" c:reskitsrvany.exe
1. This service is the send process
iv. Modify the registry to represent the two new services
v. View instructions for Parameters and Application Creation under the services in the registry
vi. Command lines should be as follows:
1. <SERVICE_NAME_Engine> - c:winntspoolemailrelayemailrelay.exe --as-server --no-daemon
2. <SERVICE_NAME_Send_Process> - c:winntspoolemailrelayemailrelay.exe --no-daemon -hidden --forward-to (your_mailhost):SMTP --poll 5
vii. Start the services using service mgr.
f. cmd prompt cd sapmail
g. mlsomadm c:sapmailmailgw.ini (see below)
3. Create a mailgw.ini file (This file is used by the mlunxsnd program)
a. Open a command prompt
b. Change to the directory c:sapmail
c. Run command mlsomadm c:sapmailmailgw.ini
i. This creates the parameter file for the send process.
d. MAILGW.INI entries
i. System Name: [SID]
ii. Client: [000]
iii. Username: [MAILADM] no user required, as this is not being used for your connection
iv. Password: [*******] leave empty
v. Language: [E]
vi. Load Balancing: [N]
vii. Hostname: [app_server_name]
viii. System Number: [00]
ix. Gateway Hostname: [ ] you do not have to specify, it will use the default
x. Gateway Service: [ ] default will be used
xi. Use SAP Router: [N]
xii. Set Bcc Flag on Env..: [N]
xiii. Trace Level <In..>: 1
xiv. Trace file <In..> c:sapmailtracein.txt - Can be where ever you want
xv. Sendmail Command: c:winntspoolemailrelaysubmit -from <SENDER_ADDRESS>
xvi. A warning may come up that says to not use the t flag. IGNORE
xvii. Codepage: [ISO-8859-1]
xviii. Generate Notificat..: [N]
xix. Trace Level <Out..: [1]
xx. Trace File <Out..>: c:sapmailtraceout.txt - Can be where ever you want
xxi. Update File c:sapmailmailgw.ini [Y]
Steps to perform on the Microsoft Exchange System
1. Allow the SAP systems to enter on port 25 to send mails using Microsoft Exchange (SMTP Communication)
reward points ....
Girish -
Temporary email address in Transaction ME21N
Experts
I want to maintain (temporary email address in Transaction ME21N) e-mail address in the PO header details of the vendor and the system has to send the PO from the temporary email address. But it is considering from the vendor master only .How to change the e-mail settings?
Thanks
NickNick,
That is how SAP has designed the output functionality since PO information is confidential and should be transmitted only to the supplier (to the default e-mail address specified in the vendor master record) and not to any other third party e-mail address that a user can specify or change in the PO directly.
If you still wish to achieve this, then you need to set up the partner functionality for your vendor and assign a default partner (you can specify a different e-mail address for your partner record) to your PO output.
Hope this helps.
H Narayan -
Internel email - doc waiting in SCOT
Hi experts,
I have a delivery doc to be sent via internet email (SCOT - INT). The document is created and waiting in SCOT. The status text in SCOT is 'wait for communication service'. This is in QAS.
How can i make it send out ? It used to work before.
thanks
JoyceHi,
Normally, we have a job executed every 15 min. to send all the mails.
Check if the job for sending the mail in your systems is not scheduled or is there any error in execution of the job. You can send the mail from scot or sost by following process:
In case of SCOT
Expand internet node and select wait column. Then press ctrl + F7 or Start send process button.
In case of SOST.
select the individual mail entry and press execute button.
KR Jaideep, -
Hi All,
I have configured email functionality in our SAP system thru
SCOT which is based on SMTP. I have scheduled the batch job "SAPCONNECT
ALL SEND" every five minutes. But the problem is that the mails which
we are sending from that server are not delivering instantly. We can
see the mails in the waiting queue. But those are delivers after
unacceptable delay. Could you please advice.
Thanks in advance.
HarishHi Sergo,
Thanks very much for the prompt reply. I hav already scheduled this job every 5 minutes.
But the good news is that this problem has been resolved. This problem was due to different time zone (system's and user's).
Any way thanks once again for the reply.
-Harish -
Sending PAYSLIP Via Email from HRFORMS transaction
Hi All,
Can anyone explain me how to send Payslip via email froom Transaction Code: HRFORMS. I know how to send an email from a program. But i don't know how can we send it from HRFORMS. The program generated in HRFORMS is not a Zprogram. I appriciate your thoughts.
Thanks in Advance
Regards
RajHi,
Any news about how to send an hrforms via email.
Thanks and Best Regards,
Miguel -
hi,
I write some coding to send emails via the class CL_CFX_EMAIL_UTIL and its send_email method.
but then the emails didn´t arrive and were waiting with status "waiting" as I see in ta SCOT.
I send them manually but i am searching for a way to send it direktly in my abap coding after callen the send_email method.
is it possible?Hi,
Please check this thread for sending emails..
Sending emails from ABAP program
http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
Please refer to this link for function modules sending emails..
Function Module to send emails to users
Hope this would help you.
Good luck
Narin -
Need to stop Email Notification when Transaction is Saved For later
Hi Team,
We are getting mail notification when any transaction is Saved for later. We need to stop this mail notification because for every transaction we are getting mail ? is there any possiblity that we can stop this activity for mail notification only for transaction SAVED FOR LATER.
Details are:
Application : 12.1.3
Responsibility - Manager Self Service , HR Professional
Kindly reply with your valuable suggesions.
Thanks in Advance.
BasawI think u need to check ur work flow settings , where mailer will do this sending mail work
please check the set up for that , and check with any wf expert once -
Since I have yet to receive an email confirming my donation, I got nervous. I just got off the telephone with my credit card banking company just to confirm that my donation did go to Mozilla Firefox. Since I got the right answer from them confirming who it went to, I am now O.K.
I am one of the unpaid volunteers here. The link at least appears to be genuine and similar links may be seen if you click the ''Mozilla'' tab at the top of these pages.
I might have expected a confirmation email to be sent. I also note the page mentions:
''Contributions go to the Mozilla Foundation, a 501(c)(3) organization, to be used in its discretion for its charitable purposes. They are tax-deductible in the U.S. to the fullest extent permitted by law. ''
I might have expected that to indicate some sort of numbered receipt would be issued for IRS purposes. Although you say you now have no need for a receipt I will ask, because of my own interest in the procedure and the possibility that something could be going wrong but not being noticed. It may be a couple of days before I or someone else will be able to give you any further information. -
Code page to language assignment
Hello everyone
I have the following problem:
I generate email attachement in pdf format converting the smartform.
As input parameters for smartform FM I pass language.
smartform engine choose specific code page depending on language I passed?
The problem is that when I have french characters and polish characters at the same time
one of them are ## dependind on language?
Is it possible for me to have both of them displayed correctly?
Maybe it is a question of assignement code page to language but I dont know where to set this.
Thanks for every help
WojtekTry to solve the problem with your basis person.
The basis person should check if fonts install correct.
Also, when you send pdf in email check in transaction scot
see in menu:
setting->device types for format conversion
if the pdf device type define ok.
Eliram. -
Hi Gurus,
My scenario is when the customer send mail attachment with Sales order PDF document. The vendor should download that pdf forms. In that pdf forms we have an submit and cancel button. Once i submit that button that data should store in the database table. Here i am not using webdynpro. So,please give me idea how can we do this and how can i hardcode this.
Thanks
Kevin mikeon send button define a event which submits the form to a predefined email address, using transaction 'scot' configure the inbound processing.
create a class and implement the interface 'IF_INBOUND_EXIT_BCS'
now under the method tab of your class you will find the following two methods.
IF_INBOUND_EXIT_BCS~CREATE_INSTANCE
IF_INBOUND_EXIT_BCS~PROCESS_INBOUND
create a attribute named 'instance' make it as static and private and should be of the type same as your class name.
in 'create instance' method write the following code:
IF instance IS INITIAL.
CREATE OBJECT instance.
ENDIF.
Return the instance.
ro_ref = instance.
in 'PROCESS_INBOUND' method write the following code:
Get the email document that was sent.
DATA: document TYPE REF TO if_document_bcs.
document = io_sreq->get_document( ).
Get the interactive form attachment.
DATA: pdf_table TYPE bcss_dbpc.
pdf_table = document->get_body_part_content( 2 ).
Convert the pdf table into an xstring.
DATA: pdf_xstring TYPE xstring,
pdf_line TYPE solix.
CLEAR pdf_xstring.
LOOP AT pdf_table-cont_hex INTO pdf_line.
CONCATENATE pdf_xstring pdf_line-line INTO pdf_xstring
IN BYTE MODE.
ENDLOOP.
Get a reference to the form processing class.
DATA: l_fp TYPE REF TO if_fp.
l_fp = cl_fp=>get_reference( ).
Get a reference to the PDF Object class.
DATA: l_pdfobj TYPE REF TO if_fp_pdf_object.
l_pdfobj = l_fp->create_pdf_object( ).
Set the pdf in the PDF Object.
l_pdfobj->set_document( pdfdata = pdf_xstring ).
Set the PDF Object to extract data the Form data.
l_pdfobj->set_extractdata( ).
Execute call to ADS
l_pdfobj->execute( ).
Get the PDF Form data.
DATA: pdf_form_data TYPE xstring.
l_pdfobj->get_data( IMPORTING formdata = pdf_form_data ).
Convert the xstring form data to string so it can be
processed using the iXML classes.
DATA: converter TYPE REF TO cl_abap_conv_in_ce.
converter = cl_abap_conv_in_ce=>create( input = pdf_form_data ).
DATA: formxml TYPE string.
converter->read( IMPORTING data = formxml ).
CALL FUNCTION 'ECATT_CONV_XSTRING_TO_STRING'
EXPORTING
im_xstring = pdf_form_data
IMPORTING
ex_string = formxml.
TYPE-POOLS: ixml.
Get a reference to iXML object.
DATA: l_ixml TYPE REF TO if_ixml.
l_ixml = cl_ixml=>create( ).
Get iStream object from StreamFactory
DATA: streamfactory TYPE REF TO if_ixml_stream_factory.
DATA: istream TYPE REF TO if_ixml_istream.
streamfactory = l_ixml->create_stream_factory( ).
istream = streamfactory->create_istream_string( formxml ).
Create an XML Document class that will be used to process the XML
DATA: document TYPE REF TO if_ixml_document.
document1 = l_ixml->create_document( ).
Create the Parser class
DATA: parser TYPE REF TO if_ixml_parser.
parser = l_ixml->create_parser( stream_factory = streamfactory
istream = istream
document = document ).
parser->parse( ).
data: node type ref to if_ixml_node.
data: strChecked type string.
*getting form values
node = document->find_from_name( name = 'RESERVED'
strChecked = node->get_value( ).
this is how you can get the data into internal table
and eventually save it into you system.
configuring 'SCOT'
configure the inbound processing
put the name of your class and the default email address, this will do you job.
regards,
Suhail Khan -
How to use transaction SOST & SCOT for checking Email performance ?
How to use transaction SOST & SCOT for checking Email performance ?
what exactly as CRM Functional we have to do in above transaction .
Please guide me . what is significance of these transaction ?
Regards,
Anup RecheHi Anup,
Transaction SOST is used to view the status of the sent mails from SAP.
You cna filter the mails sent by a particular user, on a specified date range and time.
You can list the mails in the status Waiting, Error, Sent or Transmitted.
You can also go to the log of the mail and see its details and can also open the mail sent by the user.
You can add the filters as per your requirement.
Transaction SCOT is SAP Connect used to make connections from SAP to external applications.
You cna configure sending of external mails in SCOT by specifying the SMTP host and port to be used.
Hope this gives you a basic idea of the 2 transactions.
Regards,
Saumya -
How to configure SCOT/RFC destination to send email to external addresses
Hi,
I have an ABAP program which sends out an email to email addresses such as [email protected], i configured SCOT and entered our company exchange server address in the SMTP node, and it works just fine. Problem is the program also needs to send emails to internet mail id's such as [email protected] or [email protected], and here it doesnt work, the email request shows up in SOST as failed saying that the address is unrecognized, we are able to send receive emails from internet id's as well using our email client (outlook), i just have no idea how to get the same to work from my ABAP program, i guess i am missing some BASIS configuration, can anybody help please?Please see the following example. Make sure you are setting the recipient type correctly.
report zrich_0003 .
data: maildata type sodocchgi1.
data: mailtxt type table of solisti1 with header line.
data: mailrec type table of somlrec90 with header line.
start-of-selection.
clear: maildata, mailtxt, mailrec.
refresh: mailtxt, mailrec.
maildata-obj_name = 'TEST'.
maildata-obj_descr = 'Test'.
maildata-obj_langu = sy-langu.
mailtxt-line = 'This is a test'.
append mailtxt.
mailrec-receiver = '[email protected]'.
<b> mailrec-rec_type = 'U'.</b>
append mailrec.
call function 'SO_NEW_DOCUMENT_SEND_API1'
exporting
document_data = maildata
document_type = 'RAW'
put_in_outbox = 'X'
tables
object_header = mailtxt
object_content = mailtxt
receivers = mailrec
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.
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Regards,
Rich Heilman -
SCOT: When email status error, send email to sender
Hello everyone
I would like to know if it is possible to configure SCOT to send an email to the sender when an email ending as error.
Here is the scenario.
1. An email is sent through scot.
2. SCOT process the email and comeback with an error. Example msg 841 (message too long)
3. So, when the email status is an error, an email should be sent to the sender to advise him of the problem.
So, the sender will be able to act quickly and perform corrective action.
Any idea on how to configure this?
Regards
dstjHello Volkoale
Sorry, it is in project plan at the moment. I didn't have time to do it.
Here is some speudo code:
Select all record from SOST table where MSGTY = 'E' " Message type Error
and entry_date = sy-datlo
and entry_time is between now and 15 minutes ago.
select al record from SOOS where corresponding to SOST.
field SOOS-sndnam correspond to the sender of the message.
The table SOOD contain the title of the email (Field "OBJDES" )
When you have all those records.
you can send an email to the sender.
I hope that can help you.
Maybe you are looking for
-
My MacBook Pro 15-inch crashes upon startup.
Hey guys. I'm having huge problems!!!! Please prepaid to me ASAP!! I need this computer to work otherwise I'm screwed for middle schools ( it needs to be fixed by Monday this week ) My Mac wont boot. Every time it boots it will crash. This is the boo
-
My built-in iSight is not being recognized by my MBP?
All of a sudden my MBP Processor 2.66 GHz Intel Core i7 is no longer recognizing the camera. Any idea why, or what I need to do to get it working? Thanks.
-
Reinstalling Photoshop CS4 invalid serial number
I have had this software since 2008. It has been running on the same PC for the last five years, now I have finally upgraded the PC, my serial number is invalid and wont activate. Customer service chat says its an incorrect number and could I provi
-
Set up time and date is not working, since I changed settings from Saudi Arabia to USA...want time and date from USA?!
-
Does anyone know what ppqryErrorList is used for in EssOtlQueryMembersEx?
Given a calcscript, I'm wondering if I can get a list of errors back it has multiple errors (e.g. member not found, syntax error etc.) when I run EssOtlQueryMembersEx. I've looked at the documentation (http://download.oracle.com/docs/cd/E10530_01/doc