Tcode SCOT

Hello!
I am about to configure the Email sending via Tcode SCOT.
How can I test (send a dummy message in order to test the Mail Server settings)?
Thank you very much!
regards!

Try this, youll have to make a few changes
*&      Form  SEND_EMAIL
      send t_output as an email to an internet address
FORM send_email.
  IF p_esend EQ 'X'.
    DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: doc_chng LIKE sodocchgi1.
    DATA: tab_lines LIKE sy-tabix.
*-- Creation of the document text/comments to be sent
    doc_chng-obj_name = 'SENDFILE'.
    doc_chng-obj_descr = 'HOF Email Notification.'.
    objtxt = 'The HOF csv file was sent on:'.
    APPEND objtxt.
    objtxt = sy-datum.
    APPEND objtxt.
    objtxt = 'at'.
    APPEND objtxt.
    objtxt = sy-uzeit.
    APPEND objtxt.
    objtxt = ' '.
    APPEND objtxt.
    objtxt = 'for the following invoices:'.
    APPEND objtxt.
    objtxt = ' '.
    APPEND objtxt.
    CLEAR wa_data.
    LOOP AT t_data INTO wa_data.
      CONCATENATE wa_data-vbeln wa_data-posnr INTO objtxt.
      APPEND objtxt.
    ENDLOOP.
    objtxt = ' '.
    APPEND objtxt.
    objtxt = 'I apologize for not personalizing this e-mail.'.
    APPEND objtxt.
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
*-- creation of the entry for the compressed document
*-- we need to to let the FM work correctly i.e. it expect an attachment
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'RAW'.
    APPEND objpack.
*-- creation of the document attachment (details)
*-- we only need this if we want to fill details into attachment
   CLEAR wa_data.
   LOOP AT t_data INTO wa_data.
     objbin = wa_data.
     APPEND objbin.
   ENDLOOP.
   DESCRIBE TABLE objbin LINES tab_lines.
   objhead = 'filename.csv'.
   APPEND objhead.
*-- creation of the entry for the compressed attachment
*-- include this if we want an attachment
   objpack-transf_bin = ' '.
   objpack-head_start = 1.
   objpack-head_num = 1.
   objpack-body_start = 1.
   objpack-body_num = tab_lines.
   objpack-doc_type = 'CSV'.
   objpack-obj_name = 'HOF'.
   objpack-obj_descr = 'filename.csv'.
   objpack-doc_size = tab_lines * 255.
   objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
   APPEND objpack.
completing the recipient list for email
    CLEAR reclist.
    reclist-receiver = p_email.
    reclist-rec_type = 'U'.
    APPEND reclist.
    reclist-receiver = p_copy.
    reclist-rec_type = 'U'.
    reclist-com_type = 'INT'.
    reclist-copy = 'X'.
    APPEND reclist.
send the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              document_data              = doc_chng
              put_in_outbox              = 'X'
         TABLES
              packing_list               = objpack
             object_header              = objhead
             contents_bin               = objbin
              contents_txt               = objtxt
              receivers                  = reclist
         EXCEPTIONS
              too_many_receivers         = 1
              document_not_sent          = 2
              operation_no_authorization = 4
              OTHERS                     = 99.
error processing
    CASE sy-subrc.
      WHEN 0.
        WRITE: / 'Result of the send process:'.
       LOOP AT reclist.
        IF reclist-retrn_code = 0.
          WRITE / .
          WRITE: 'The document was sent to: . . .'.
          WRITE: /.
          WRITE: p_email.
          WRITE: /.
          WRITE: p_copy.
        ELSE.
          WRITE 'The document could not be sent.'.
        ENDIF.
       ENDLOOP.
      WHEN 1.
      WRITE: / 'No authorization to send to that number of recipients.'.
      WHEN 2.
        WRITE: / 'Document could not be sent to any recipient.'.
      WHEN 4.
        WRITE: / 'No send authorization.'.
      WHEN OTHERS.
        WRITE: / 'Error occurred while sending.'.
    ENDCASE.
  ENDIF.
ENDFORM.                    " SEND_EMAIL

Similar Messages

  • Deleted node SMTP in TCode Scot

    hello everyone!!!
    I need help solving a problem.
    This is that while trying to configure SMTP in the "TCode SCOT" they eliminated nodes "SMTP" when trying to create a new tells me "STMP node already exists."
    It is possible to re-create the "SMTP 'or create this service under a new name.
    thanks

    I was shaping the "SMTP", the node removed by mistake!
                                                                         Duración   Duración
                             terminado  Error      en tráns.  espera     en tráns.  espera
                                                                             hh:mm      hh:mm
    BID(100)                        0          0          0          1
            FAX                      0          0          0          0       0:00       0:00
            INT                      0          0          0          1       0:00       0:00
            X40                      0          0          0          0       0:00       0:00
            RML                      0          0          0          0       0:00       0:00
            PAG                      0          0          0          0       0:00       0:00
            PRT                      0          0          0          0       0:00       0:00
    The node should be linked to INT.
    Is it possible to retrieve or create a node under another name performing the same function?

  • Configure the tcode SCOT and SMTP for the SPM module in the R/3

    Hello,
    I want to know if I have to configure the tcode SCOT and SMTP for the SPM module (SAP GRC AC 5.3 SP5) in the R/3 if I want to send information toe the owner & controller.
    Best Regards.
    Pablo Mortera.

    Pablo,
    This would normally be a basis function. Be very careful as this is not specific to GRC.
    This will impact any external notifications using email / fax etc.
    It will also depend on your version and infrastructure.
    If you have web application servers, you will be able to do a lot more than if you have standard (older) application servers.
    You need to create a node under the INT and assign the appropriate tcp / ip rfc connection to direct it to your email server.
    You will then need to define the types of communications to be sent via that method and any appropriate email domain settings.
    You also need to create and set the appropriate send jobs to run periodically which will then automatically call the rfcs to process the waiting documents.
    Simon

  • Settings reqd in TCode SCOT to configure SMTP

    Hi,
    I am in the process of configuring SMTP. I have done all the ICM settings and settings in TCode SICF.
    This is an external SMTP server and to be able to use it as a smtp server there is master username and password. For this case in SCOT do I have to use the default SMTP node or create a new node of type RFC?
    Can any one please guide me further configuration steps.
    Thank you,
    sam

    Hi,
    Note 455140 - Configuration E-mail, fax, paging/SMS via SMTP
    1. System user
    In each client of an SAP system, a system user must be created to process the incoming messages. To do this, use transaction SU01 to create a user of the type "system" and assign the "S_A.SCON" profile to this user.
    2. In transaction SU01, enter the Internet mail address of a user in the "E-Mail" field under "Address".
    3. Client assignment (transaction SICF)
    a. In the Logon data (SAPconnect) Provide the client and the user created.
    b. Activate the node SAPconnect.
    4. SCOT
    a. Use the default SMTP node.
    b. check the check box (Node in use) in "General Information".
    c. Provide the Mail host in "SMTP Connection".
    d. click on internet in "Support Address types".
    e. provide a * in "Address area".
    f. For "Output Formats for SAP Documents" the following is recommended:
       SAPscript / Smart Forms       PDF
       ABAP List                            HTM
       Business Object / Link          HTM
       RAW Text                             TXT
    5. Default domain in SCOT.
    The domain of this SAP system client is defined here, for example, crm-prod.company.com. It is used for the following purposes: The SMTP plug-in logs on to the mail server with the domain as ID. The message ID of outgoing mails is compiled with this domain. If an SAP user who has not entered an Internet mail address in their user master record sends an e-mail, a sender address is generated from the SAP user name and this domain, for example [email protected].
    In Menu
    settings --> Default Domain.
    e.g crm-prod.company.com
    6. Send job
    E-mails that are sent from an SAP application are merely put into a queue. A periodically running background process, the SAPconnect send job, takes the e-mails from the queue and sends them via the Internet. This job can be scheduled from SAPconnect administration as follows:
    "View" --> "Jobs". Check whether a job is already scheduled (displayed as a calendar icon).
    Choose "Job" --> "Create", and specify a job name.
    Place the cursor on the "SAP&CONNECTALL" variant and choose "Schedule Job".
    Choose "Schedule periodically".
    Specify a time interval (for example 10 minutes) and choose "Create".
    Thanks,
    Tanuj

  • SCOT conversion rule

    Hi,
      What is the usage for the conversion rule under Tcode: SCOT.  Since, i faced a problem that the outgoing email attachment always converted to TXT file( By my ABAP program with FM SO_NEW_DOCUMENT_ATT_SEND_API1).  Could i do some changes in this area??
    Regards,
    Kit

    Hi,
    You can use printing using e-mail to send data as an attachment to an e-mail. The recipient can then display and/or print the data.
    All device types can be used to print the e-mail. However, you must ensure that the relevant display program or printer is available for the device type. We recommend that you use device type pdf1, as with pdf1, a PDF file is generated from the document, and sent as an e-mail attachment. You can then display this with a PDF display program, such as Adobe Acrobat Reader, and print it as required.
    Prerequisites
    ·        As of SAP Web Application Server 6.10, you must have activated and configured the interface to send e-mails from the SAP System in SAPconnect (transaction SCOT). For more information, see the Guidelines for SMTP Configuration. These guidelines explain, among other things, how to create an SMTP node in transaction SCOT, which can be used without special additional settings for e-mail printing.
    Up to SAP Basis 4.6D, communication is performed using an additional external communication system and, accordingly, a SAPconnect node with the corresponding RFC connection must be set up until SAP Basis 4.6D (inclusive).
    ·        So that the recipient not only receives the mail, but can also reply using the REPLY button, you must maintain the e-mail addresses for all users in the user maintenance transaction SU01.
    If you are using a default domain in transaction SCOT, the mail is sent, but the relevant user cannot reply using the reply button, as the generic sender address does not really exist.
    ·        You must have created a device definition for printing using e-mail in the SAP System.
    ·        To print using e-mail, the sender must, in addition to the usual authorization for the output device, also have authorization for the (pseudo) output device %MAI.
    With this authorization, you can easily remove the right to use devices with access method M from individual users.
    also check the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/39/4d3d3d9ba00645e10000000a114084/content.htm
    Regards,
    Nagaraj

  • Testing of SCOT settings

    Hi!
    I set up the Email settigns via tcode SCOT.
    How can I proove the settings with a test mail?
    Thank you very much!
    regards
    Thom

    Hi!
    Thank you!
    The problem is, if I try to send the mail I get the following error:
    Status for Recipient [email protected]:
    No delivery to [email protected], as recipient unknown
    I also get the following error:
    Express document "Cannot be sent: next Test" received from author "author name

  • Can't send smartform to external mail address

    Hi, everyone.
    Now, after creating some self-defined smartforms, we want to send its
    PDF copy to
    our external mail address. From this point, I had some try.
    Reference to SAP Library, I make a testing program named 'YPDF_TEST'.
    However, one exception always exists when running and error message id
    is 'XS806' - means
    "No delivery to &, invalid recipient address"
    I filled the address with following fields.
    [ dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'. ]
    I just can't understand the real reason why it doesn't work.
    Through debugging, I found the error occurs when handling the following
    codes
    in function "SX_ADDRESS_TO_DEVTYPE".
    [ swc_create_object o_recipient 'RECIPIENT' recipient_id-objkey.
    swc_get_property o_recipient 'CommunicationType' m_recipient-type.
    get_property_longvalue o_recipient m_recipient-address. ]
    On the current situation, if can't come over this problem,
    we may not build the connection and don't provide information in time.
    Failed to send, I yet try another function - added the tail but on earthdidn't get it ~~~
    Would you give me some hints or advice ?
    Any help is appreciated.
    ====================
    <i>REPORT ypdf_test .
    DATA: fm_name TYPE rs38l_fnam.
    DATA: my_control_pars TYPE ssfctrlop. "for CONTROL_PARAMETERS
    DATA: my_output_info TYPE ssfcrescl. "for JOB_OUTPUT_INFO
    DATA: output_options TYPE ssfcompop.
    DATA: e_devtype TYPE rspoptype.
    DATA: gw_lcprint TYPE ziebsflc001.
    DATA: bin_file TYPE xstring,
    bin_filesize TYPE i,
    ndiv TYPE i, offset TYPE i,
    nmod TYPE i.
    DATA: BEGIN OF bin_table OCCURS 0,
    x TYPE xstring,
    END OF bin_table.
    DATA: lines LIKE tline OCCURS 0.
    DATA: dev_mail_sender LIKE swotobjid, "B20K061818
    dev_mail_recipient LIKE swotobjid.
    DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    DATA: param LIKE itcpp.
    my_control_pars-no_dialog = 'X'.
    my_control_pars-getotf = 'X'.
    Get genereated function name of Smartform
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
    formname = 'ZDEMO_SMART_FORM_PPF'
    IMPORTING
    fm_name = fm_name
    EXCEPTIONS
    no_form = 1
    no_function_module = 2
    OTHERS = 3.
    IF sy-subrc <> 0.
    ENDIF.
    Get Device type
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
    EXPORTING
    i_language = sy-langu
    I_APPLICATION = 'SAPDEFAULT'
    IMPORTING
    e_devtype = e_devtype
    EXCEPTIONS
    no_language = 1
    language_not_installed = 2
    no_devtype_found = 3
    system_error = 4
    OTHERS = 5 .
    IF sy-subrc <> 0.
    ENDIF.
    output_options-tdprinter = e_devtype.
    set needed mail option
    my_control_pars-device = 'MAIL'.
    dev_mail_sender-logsys = 'CLNT600'.
    dev_mail_sender-objtype = 'RECIPIENT'.
    dev_mail_sender-objkey = 'CHI_DEV03'.
    dev_mail_recipient-logsys = 'CLNT600'.
    dev_mail_recipient-objtype = 'RECIPIENT'.
    dev_mail_recipient-objkey = '[email protected]'.
    CALL FUNCTION fm_name
    EXPORTING
    control_parameters = my_control_pars
    mail_recipient = dev_mail_recipient
    mail_sender = dev_mail_sender
    output_options = output_options
    ip_carrid = 'ID'
    ip_connid = '8290'
    ip_fldate = sy-datum
    ip_bookid = '12345678'
    ip_customid = '09876521'
    ip_luggweight = 90
    ip_wunit = 'KG'
    ip_smoker = 'X'
    IMPORTING
    job_output_info = my_output_info
    EXCEPTIONS
    formatting_error = 1
    internal_error = 2
    send_error = 3
    user_canceled = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Another try ***
    *DATA: param LIKE itcpp.
    *DATA: BEGIN OF off_obj.
    INCLUDE STRUCTURE soodk.
    *DATA: END OF off_obj,
    ok TYPE c,
    msgid TYPE symsgid,
    msgno TYPE symsgno,
    msgv1 TYPE symsgv,
    msgv2 TYPE symsgv,
    msgv3 TYPE symsgv,
    msgv4 TYPE symsgv.
    *DATA: dev_mail_applobj_tab LIKE swotobjid OCCURS 10 WITH HEADER LINE.
    *CALL FUNCTION 'CONVERT_OTF_AND_MAIL'
    EXPORTING
    mailoptions = param
    mail_sender = dev_mail_sender
    mail_recipient = dev_mail_recipient
    IMPORTING
    office_objid = off_obj
    mail_ok = ok
    msgno = msgno
    msgid = msgid
    msgv1 = msgv1
    msgv2 = msgv2
    msgv3 = msgv3
    msgv4 = msgv4
    TABLES
    mail_application_object_ids = dev_mail_applobj_tab
    otf = my_output_info-otfdata.</i>

    Hi,
    You can follow a different approach. Send the output of the Smartform to the spool.
    You have a Function Module to read the spool and convert it to PDF . Then there is one more function module to attach the PDF and send it as a mail.
    You need to configure SMTP in Tcode : SCOT.
    Search the forum with emailpdfattachment
    You have umpteen postings available.
    Pls reward if useful.
    Regards,
    Laxman Nayak

  • Sending from Business workplace to External mail ID

    Hi,
    Please Some help me on this issue am getting below error  when am trying to send mail from Business Workplace to External Mail
    Cannot process message , no route from SAPUSER TO abc123 at gmail dot com
    I done configuration by refereeing below.
    Please follow these steps:
    1.) tcode = SCOT
    2.) double click SMTP
    3.) under "SMTP Connection" section, fill in your mail host IP(ex: webmail.sap.com) and the port number(25) and code page = No conversion.
    4.) under "Supported address types", make sure Internet is checked, and click on "Set". The Address area has to be *
    5.) To test route,
    SCOT -->Utilities --> Routing test
    RecipientAddr.type = INT
    Recipient addr. = abc.xyz at sap dot com
    6.) You also need to set the Default Domain.
    SCOT --> Settings --> Default Domains (webmail.sap.com)
    7.)Now go to tcode SBWP,compose a mail and in the recipient address,enter abc.xyz at sap dot com and send.
    8.) Come back to SCOT and click on Utilities-->Start send process(CtrlF7) and execute.+
    Thanks,
    GAL

    Hi
    Same problem with me.
    Mails are not sending to external mail id.
    Pls help me out!
    Regards.

  • Send Vendor Balance confirmations report output (F.18) to External email ID

    Dear Friends.
    I have following requirement
    Our Client requirement is to send Vendor Balance confirmations report output (Tcode F.18) to external email ID of vendor.
    So please guide accordingly.
    I have done BASIS Settings for SMTP (Tcode SCOT, RZ10) and Through SAP office using BASIS consultant and i can able to send sample test mail to external email ID through SAP Office (tcode SO00)
    I will be thankful if anyone gives me exact solution.
    Thanks & Regards
    Suyog

    Hi,
    You can craete Background Job and send Mail.
    e.g.
    Goto->SM36->JOBWIZARD ( Create the Job and specify the Spool List Recipients ).
    After Creating the job.
    Again SM36->Start Condition ( You can create here when to send the mail ).
    And Release it.
    Be sure that your BASIS guy has done the required settings for Outgoing Mail.
    Please check in SCOT.
    Affable
    Arbind
    Edited by: Arbind Prasad on Jan 23, 2010 3:07 PM

  • Reg Mail Server Setup

    Hi Experts,
    I want to set-up a mail server so as to perform some email-related scenarios, so please tell me the procedure to set-up a mail server in my local desktop. Is it cumbersome to set-up a mail server for testing purposes?
    Can I use one of the options available on www.google.com? Is it reliable?
    Thanks.
    Edited by: Abhishek01 on Jul 23, 2009 12:16 PM

    Hi,
    Better to checkw with your network team for desk top mai server,  why because we need few autoorization for configuration.
    Follow below steps for mail configuration.
    1. First we need to configure basis level setp like SMTP, POP3 through Tcode SCOT then
    2. Take URL for SMTP & POP3 from your network team & basis team
    3. Follow below links for scenario configuration
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure

  • Send Mail to External Mail ID's for Multiple Users

    Hi All,
    I want to send mail from SAP to External mail ID's for multiple Users.The program is ok.
    But I want to send this to Multiple external Mail id's. Where should I assign this receivers list. Pls advise.
    What is the transaction to assign multiple receivers.?
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
          EXPORTING
            DOCUMENT_DATA              = GD_DOC_DATA
            PUT_IN_OUTBOX              = 'X'
            COMMIT_WORK                = ''
          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.
    Thank You.
    Pranitha.

    IT_RECEIVERS parameters needs to be passed as shown below.
        wa_receivers-receiver = "..........External mail id".
        wa_receivers-rec_type = 'U'.
        wa_receivers-express = 'X'.
        APPEND wa_receivers TO lt_receivers.
        CLEAR  wa_receivers.
    Once mail is triggered to the external mail id's, check the mail is transferred from SAP or not using the tcode SCOT.
    In SCOT,follow the path UTILITIES-> Overview of send orders.
    Regards,
    Satish Kanteti

  • In BCS HTML mail images are broken

    HI experts,
    I'm using the BCS calls to send out nice looking HTML which also includes one logo.
    Internally, in our LAN, the mails are looking quite nice and the image/logo is displayed correctly (MS Outlook)
    When external users using Lotus Notes try to open such an HTML mail, the image is attached correctly to the mail, but it isn't displayed, just a broken image picture. There's no chance to make the image visible inside the mail, they can just open the attached image itself, outside the mail context.
    Question is now how can I reach that the image is displayed correctly? If this is not possible at all, how can realize that the Lotus Notes users get a "Show Images" link (security restriction - add sender to safe senders)???
    Please find my current coding below, do I miss a parameter some where???
    Best regards, Steffen
    "Create Mail Document
      l_subject = 'Expiring Authorization Notification'.
      TRY.
          lr_email_body = cl_document_bcs=>create_document(
                                           i_type = 'HTM'
                                           i_text = i_mailtext
                                           i_subject = l_subject ).
        CATCH cx_document_bcs .
      ENDTRY.
      "Add attachment to mail  
      TRY.
          lr_email_body->add_attachment(
                    i_attachment_type     = 'GIF'
                    i_attachment_subject  = 'sap_logo'
                    i_att_content_hex     = pick_data ).
        CATCH cx_document_bcs .
      ENDTRY.
      "Create mail object
      TRY.
          lr_email = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Set email document
      TRY.
          lr_email->set_document( lr_email_body ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Set status attribute for read receipt
      "Read receipt should also be disabled in TCODE SCOT
      "N  No Status Is to Be Returned, suppress also in SOST
      "E  Only Error Statuses Are to Be Returned
      "A  Return All Statuses
      l_request_status  = 'N'.
      l_status_mail     = 'N'.
      "Set that you don't need a Return Status E-mail
      TRY.
          lr_email->set_status_attributes(
                  i_requested_status = l_request_status    "E=suppress read receipt N=suppress also in SOST
                  i_status_mail      = l_status_mail ).
        CATCH cx_send_req_bcs .
      ENDTRY.
        TRY.
            lr_receiver = cl_cam_address_bcs=>create_internet_address( l_mail_address ).
          CATCH cx_address_bcs .
        ENDTRY.
        TRY.
            lr_email->add_recipient( i_recipient = lr_receiver ).
          CATCH cx_send_req_bcs .
        ENDTRY.
      "If not imported create BCS sender from sy-uname
      IF i_sender IS INITIAL.
        TRY.
            l_sender = cl_sapuser_bcs=>create( sy-uname ).
          CATCH cx_address_bcs .
        ENDTRY.
      ELSE.
        l_sender = i_sender.
      ENDIF.
      "Set Sender
      TRY.
          lr_email->set_sender( l_sender ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Send email directly
      TRY.
          lr_email->set_send_immediately( 'X' ).
        CATCH cx_send_req_bcs .
      ENDTRY.
      "Now send the mail
      TRY.
          l_send_result = lr_email->send( i_with_error_screen = 'X' ).
        CATCH cx_send_req_bcs .
      ENDTRY.

    I also had this problem with the Oracle HTTP Server and mod_plsql install.
    I battled with this for a while, I manged to get the images displayed etc.. by adding the following directive in httpd.conf
    <Directory "/yourpath/Apache/Apache/apex/images/">
    allow from all
    </Directory>
    Still playing around with it - perhaps I need to dig further/security rules etc..
    But at least its something.

  • Purchase Order External Send with email body text

    hi guru,
    i saw lot of threads but i didn't get coreect answer
    i did below process
    Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. 1800004202.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470
    mail subject is going ,but mail text is not coming.
    some people  suggest this sap note
    Note 786847 - E-mail purchase order w/ e-mail text and several attachments
    i did not get this note.
    give the solution for email body text ,i read some thread,it will solve through abap development .
    please  give solution
    regards
    vijay

    Hi
    1. GO to tcode SCOT.
    2. Double click on SMTP
    3. Click on the set button next to internet
    4. In this screen for SAP Script/ Forms select TXT.
    Regards
    Girish
    Edited by: Girish Bettaiah on Aug 8, 2011 3:11 PM

  • Configuration to send mail from SAP R/3 to SMTP ; Pls help

    Hi All,
                Could any one please send me the steps to configure the MAIL setup in SAP R/3 to SMTP (Third Party).
    Thanks in Advance,
    Sunil
    [email protected]

    HI Suni,
    Please follow the link below very helpful...
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=email&cat=sdn_media
    1. tcode SCOT
    2. double click SMTP>> check mark "Node in use" >> Mail Host : "mail.yourdomain.com">> click "internet set"  if you want all email in/out, add * under address area. save/green check mark.
    3. go back to SCOT >> Settings >> Default Domain,: it should be "yourdomain.com" >> SAVE.
    4. View >> Jobs: Click Create button >> name it 'SENDMAIL'. green check marK >> click preodic, run every 5 min or 3 minz depending on your situation or load.
    That's it. very simple.
    Thanks,

  • Connection to R/3 with SAP Router

    Hello,
    I want a connecton from XI 3.0 to R/3 with SAP Router.
    But if i want to import the RFCs i become no connection.
    I Edit Software Component Version, but there is it not possible to set any Sap Router String.
    For Connection Data you can only set System, Client, Message Server and
    Group.
    I have also test to write the Router String before the Message Server IP without any sucess. Not enough Place to write the holfe Path in the Field.
    I become no connection to the R/3 to import the RFCs.
    Regards,
    Robin

    pls check correct port number..
    basis will give u this information. or u use tcode SCOT.

Maybe you are looking for

  • Exceção de ICMS funciona para alíquota e base mas não para texto fiscal

    Olá pessoal! Estou com uma situação curiosa em um cenário de venda. Trata-se de uma venda de sucata onde existe uma exceção de ICMS para zerar o imposto e alterar o direito fiscal do mesmo. Foi utilizado o grupo de impostos 65, que usa como parâmetro

  • Installation Problem in SAP NETWEAVER 7.0 SR3 ON RHEL5.4

    Hi Everyone,       I am installing the SAP NET WEAVER 7.0 SR3 with ORACLE 10.G on RHEL 5.4 Operating System. I complete the java 1.4.2 and oracle installation sucessfully. when i am running the sapinst i got the error in the " IMPORT ABAP" phase. Ple

  • AJA IOLA and fire wire

    I'm confused. I am setting up a FCP system on a brand new G5 dual 2.7 gHz with a 375 GB hard drive. I am using an AJA IO LD for input. From what I read, I can't digitize to the internal hard drive if the AJA is also using this hard drive (which sort

  • I cant find the top bar that has tools, history, view, etc. where is it?

    Usually on the top of the screen their is a bar that says "view tools history etc." I accidentally deleted it and I don't know how to get it back! Please help! Thanks!

  • Unable to view OCR FONT in PDF preview

    Hi, I am working on XML Publisher report. I have developed an RTF, in which i have number whose font is OCRA. When i preview the rtf as PDF, the number doesn't show the font as OCR, it displays the number in a different font. So can you please help m