Send mail as follow-up action in reporting agent

I need to send a mail with the exceptions flaoting from a query. I tried to use the follow-up action of 'send mail' in the reporting agent. that didnt work because in our SAP we're not using the exchange connector and mails cannot be sent in the regular way.
I have an external command of sending mail.
Does anyone has a way of solving this problem, meaning, using my external command of sending mail in order to send the mail with the exceptions (this command works just fine in process chains, for example, for notification of process progress)
Thank You,
Yoav.

Hello Nili,
I think you can edit content and Subject etc.
http://help.sap.com/saphelp_nw2004s/helpdata/en/21/35783b82ee5d31e10000000a114084/content.htm
Hope this helps.
San.

Similar Messages

  • Send mail from follow up actions for tasks in service notifications!

    Dear All,
    I want to send mail to the user from a follow up action in the task assigned to a service notification.
    In customizing which function module I should select for follow up actions for tasks?
    Thanks and Regards,
    Satyajit P

    Hi,
    You can use function module QM06_FM_TASK_SEND_PAPER or QM06_FM_TASK_SEND_PAPER_ATTACH.The document is sent only after the associated notification is saved.You need to enter the function module "QM06_SEND_REPLY_STEP2" in Customizing of the action box as "FM when saving".

  • Mine is Yahoo where POP is used .TB is IMAP . i can receive and send mails , but when making action on TB (Del or send) no reflection on main server

    Hello there,
    My e-mail is Yahoo, and Yahoo by default is POP user .
    I understood from your help file that synchronization is compatible only with IMAP mail provider
    I can receive and send mails from TB , but when making action on TB (Del or send) no reflection on main server, same when make the action on the main server (Del or send), no change on TB
    from yahoo help I managed to find configuration for IMAP , but could not apply them on TB , as TB have already Yahoo as POP in the configuration list
    please your help on this
    best regards
    Mohamad

    You cannot convert an existing account, but you can set up your Yahoo account as IMAP in parallel to the existing POP account. See
    http://kb.mozillazine.org/Convert_a_POP_account_to_a_IMAP_account

  • How to send mail with out attachment in a report using oops concept

    Hi Abap Experts,
                     My requirement is i have to send a mail with out attaching any documents this is a report using oops conceopt how can i acheive it .

    Hi Saeed,
    Please search SDN before posting. There are so may threads for the same.
    Check out the standard reports--
    bcs_example_1, bcs_example_2, .. bcs_example_7
    Howard

  • Send mail from reporting agent - Exception

    Hello,
    I am trying to send a mail as follow-up action in the reporting agent.(Version 3.0)
    I am interested only in the alert details information and I mark only this flag.
    I get the following mail:
           message
           123
           Details
           Breakdown Status :
           New Exception
           Non-critical ( Green ) :    1
           : 3,302 CTN
           Use the following link to go to the online       
           This message was sent from BW system
    I still would like to edit the content of the mail. Is the only way is to change class CL_RSRA_ER_FOLLOW_UP_MAIL?
    Thank you!!!

    Hello Nili,
    I think you can edit content and Subject etc.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/21/35783b82ee5d31e10000000a114084/content.htm
    Hope this helps.
    San.

  • How to Convert Report into Excel Sheet when Sending Mail.

    Dear Friends,
    i want to send mail to HOD of Product with an Excel Sheet .
    i want to send Pending Issue details to HOD in Excel Sheet attachment .
    here i have pending issue report now i need to send it in Excel Sheet attachment .
    i have table where i have manage Product ID and HOD OF PRODUCT.
    CREATE TABLE  "MAP_USER_PRODUCT_DTL"
       (     "ID" NUMBER NOT NULL ENABLE,
         "PRODUCT_ID"NUMBER,
         "USER_ID" VARCHAR2(5) NOT NULL ENABLE,
         "HOD_PROD" VARCHAR2(100)========================================Value is Y OR N IF HOD then Y else N
         CONSTRAINT "MAP_USER_PRODUCT_DTL_PK" PRIMARY KEY ("ID") ENABLE
    /i have one more table where all complete issue detail insert.
    CREATE TABLE  "CRM_ISSUE_PROBLEM"
       (     "ID" NUMBER,
         "SUBJECT" VARCHAR2(255) NOT NULL ENABLE,
         "CLIENT_ID" NUMBER,
         "ASSIGNED_TO_ID" VARCHAR2(100),
         "ASSIGNED_ON" DATE,
         "DESCRIPTION" VARCHAR2(4000),
         "PRODUCT_ID" NUMBER NOT NULL ENABLE,
         "STATUS_ID" NUMBER NOT NULL ENABLE,
          CONSTRAINT "CRM_ISSUE_PROBLEM_PK" PRIMARY KEY ("ID") ENABLE
    Here STATUS_ID is Like Pending ISsue,Open Issue and Close Issue .i want to send mail to HOD with Pending Issue Report convert into Excel Sheet and send to HOD?
    How can i do this.
    Thanks
    Edited by: Vedant on Oct 12, 2011 12:36 AM
    Edited by: Vedant on Oct 12, 2011 2:22 AM

    Hello Vedant,
    Would it suffice if you send a CSV file?
    If yes, then see following code.. run the code under APEX > Home > SQL Workshop > SQL Commands
    DECLARE
            ln_id NUMBER;
            lc_clob CLOB;
         lb_blob BLOB;
         li_in PLS_INTEGER := 1;
         li_out PLS_INTEGER := 1;
         li_lang PLS_INTEGER := 0;
         li_warning PLS_INTEGER := 0;
         lv_mail_rcpts VARCHAR2(2000) := '[email protected]';
         lv_mail_from VARCHAR2(100) := '[email protected]';     
           lv_clmn_separator VARCHAR2(1) := ',';
    BEGIN
         -- Build file content as CLOB
      -- Replace with your query
         FOR i IN (select object_id A, object_name B, object_type C, status D, temporary E, generated F, secondary G,namespace H from user_objects where rownum < 10)               
         LOOP
        IF lc_clob IS NULL THEN
          lc_clob := i.A||lv_clmn_separator||i.B||lv_clmn_separator||i.C||lv_clmn_separator||i.D||lv_clmn_separator||i.E||lv_clmn_separator||i.F||lv_clmn_separator||i.G||lv_clmn_separator||i.H;
        ELSE
          lc_clob := lc_clob||CHR(10)||i.A||lv_clmn_separator||i.B||lv_clmn_separator||i.C||lv_clmn_separator||i.D||lv_clmn_separator||i.E||lv_clmn_separator||i.F||lv_clmn_separator||i.G||lv_clmn_separator||i.H;
        END IF;
         END LOOP; 
         -- Convert CLOB to BLOB
         DBMS_LOB.CREATETEMPORARY(lb_blob,TRUE);
         DBMS_LOB.convertToBlob(lb_blob,lc_clob,DBMS_LOB.LOBMAXSIZE,li_in,li_out,DBMS_LOB.DEFAULT_CSID,li_lang,li_warning);
         -- Send mail
         ln_id:= APEX_MAIL.SEND(
           p_to        => lv_mail_rcpts,
                 p_from      => lv_mail_from,
                 p_subj      => 'Subject Goes here',
                 p_body      => 'Body goes here'
           -- add CSV file as attachment
         APEX_MAIL.ADD_ATTACHMENT
           p_mail_id   => ln_id,
           p_attachment => lb_blob,
           p_filename   => 'filename.csv',
           p_mime_type  => 'application/csv'
      -- push mail queue
      APEX_MAIL.PUSH_QUEUE;
         -- empty temporary space
         DBMS_LOB.FREETEMPORARY ( lob_loc =>  lb_blob);       
         COMMIT;
    END;Regards,
    Hari

  • How to attach & send mail (Excel)

    i want to attach below data in excel and send mail.
    IT_DATA-COL1 = 'Action'.
         APPEND IT_DATA.
         CLEAR IT_DATA.
         IT_DATA-COL1 =  V_DATE.
         APPEND IT_DATA.
         CLEAR IT_DATA.
         IT_DATA-COL1 =  'Execution '.
         IT_DATA-COL2 =   sy-datum.
         APPEND IT_DATA.
         IT_DATA-COL1 = 'No. of pieces = '.
         IT_DATA-COL2 = L_NUM.
         APPEND IT_DATA.
         CLEAR IT_DATA.
         APPEND IT_DATA.
         CLEAR IT_DATA.
         APPEND IT_DATA.
         APPEND IT_DATA.
         IT_DATA-COL1 = 'Number'.
         IT_DATA-COL2 = 'VIp'.
         IT_DATA-COL3 = 'Key '.
         IT_DATA-COL4 = 'Brakery'.
         IT_DATA-COL5 = 'No'.
         IT_DATA-COL6 = 'State'.
         IT_DATA-COL7 = 'Date'.
         IT_DATA-COL8 = ' Date'.
         APPEND IT_DATA.
         CLEAR IT_DATA.
         APPEND IT_DATA.
           LOOP AT IT.
             IT_DATA-COL1 = IT-PROP.
             IT_DATA-COL2 = IT-VIp.
             IT_DATA-COL3 = KEY.
             IT_DATA-COL4 = IT-PLATE..
             IT_DATA-COL5 = V_REQUESTOR.
             IT_DATA-COL6 = V_STATUS .
            IT_DATA-COL7= Date .
           IT_DATA-COL8= DATE.
               APPEND IT_DATA.
             CLEAR IT_DATA.
           ENDLOOP.
           APPEND IT_DATA.
           APPEND IT_DATA.
         ENDIF.

    Hi,
    By the following method you can send email even if the no. of charactes in a line exceeds 255.
    Here I am converting the data to HTML and later sending it in Xcel. This worked for me.
    form email_lgcytrans .
      data:    lv_document_data like sodocchgi1,
               lv_tab_lines     like sy-tabix,
               li_body          type standard table of solisti1,
               lv_body          type solisti1,
               lv_html          like line of i_html,
               li_attach        type standard table of solisti1,
               lv_attach        type solisti1.
    CONSTANTS:
      constants: lc_filetype(3)  type  c value 'XLS',
                 lc_emaildocname like sodocchgi1-obj_name
                                 value 'Legacy Trans',
                 lc_subject      like sodocchgi1-obj_descr value
                  'Discrepant Transactions',
                 lc_filename     like solisti1
                                 value 'HG-DTL DISCREPANT TRANS'.
      if i_row_head[] is initial.
        perform get_column_headers.
    Get the HTML Formatted Data
      call function 'WWW_ITAB_TO_HTML'
        exporting
          table_header = v_html_head
        tables
          html         = i_html
          fields       = i_fields
          row_header   = i_row_head
          itable       = i_dscpren.
    form get_column_headers.
      data : lv_fieldcat  type slis_fieldcat_alv,
             lv_text      type w3head-text,
             lv_tabix     type i.
      loop at i_fieldcat into lv_fieldcat.
        lv_tabix = lv_tabix + 1.
      Get Fieldname
        clear lv_text.
        lv_text = lv_fieldcat-seltext_l.
      Prepare Header Row
        call function 'WWW_ITAB_TO_HTML_HEADERS'
          exporting
            field_nr = lv_tabix
            text     = lv_text
            fgcolor  = 'black'
            bgcolor  = 'cccccc'
            font     = 'Tahoma'
          tables
            header   = i_row_head.
      endloop.
    endform.                    " GET_COLUMN_HEADERS
    form send_email tables li_attach
                           ls_ifmail
                           li_body
                    using  lc_filetype lc_subject lc_filename.
    Local Data for E-mailing
      data : lv_document type sodocchgi1,
             li_pack     type standard table of sopcklsti1,
             lv_pack     type sopcklsti1,
             li_receiver type standard table of somlreci1,
             lv_receiver type somlreci1,
            li_body     type standard table of solisti1,
            lv_body     type solisti1,
             li_objhead  type standard table of solisti1,
             lv_objhead  type solisti1,
             lv_admin    like line of s_ifmail .
      data : lv_lines     type i,
             lv_sent      type sonv-flag.
    Fill Document Data
      lv_document-obj_langu         = sy-langu.
      lv_document-obj_expdat        = sy-datum.
      lv_document-sensitivty        = 'F'.
      lv_document-no_change         = 'X'.
      lv_document-expiry_dat        = sy-datum.
      move lc_subject to lv_document-obj_descr.
      describe table li_body lines lv_lines.
      lv_document-doc_size          = lv_lines * 255.
    *-- Packing Data (for e-mail body)
      lv_pack-transf_bin            = space.
      lv_pack-head_start            = 1.
      lv_pack-head_num              = 0.
      lv_pack-body_start            = 1.
      lv_pack-body_num              = lv_lines.
      lv_pack-doc_type              = 'RAW'.
      append lv_pack to li_pack.
      describe table li_attach lines lv_lines.
    *-- Packing list for email attachment (in XLS format)
      clear lv_pack.
      lv_pack-transf_bin            = 'X'.
      lv_pack-head_start            = 1.
      lv_pack-head_num              = 1.
      lv_pack-body_start            = 1.
      lv_pack-body_num              = lv_lines.
      lv_pack-doc_type              = lc_filetype.
      lv_pack-obj_name              = 'MAIL'.
      lv_pack-doc_size              = lv_lines * 255.
      move lc_filename to lv_pack-obj_descr.
      append lv_pack to li_pack.
    *-- Attachment Header
      move space to lv_objhead-line.
      append lv_objhead to li_objhead.
    *-- Receiver list
      lv_receiver-rec_type           = 'U'.
      lv_receiver-com_type           = 'INT'.
      lv_receiver-notif_del          = 'X'.
      lv_receiver-notif_ndel         = 'X'.
      loop at ls_ifmail  into lv_admin.
        lv_receiver-receiver         = lv_admin-low.
        append lv_receiver to li_receiver.
        clear : lv_receiver-receiver,
                lv_admin.
      endloop.
    *--  E-Mail Document
      call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        exporting
          document_data              = lv_document
          commit_work                = 'X'
        importing
          sent_to_all                = lv_sent
        tables
          packing_list               = li_pack
          object_header              = li_objhead
          contents_bin               = li_attach
          contents_txt               = li_body
          receivers                  = li_receiver
        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 'I' number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      if lv_sent = 'X'.
        write : / text-t12.
        loop at s_ifmail into lv_admin.
          write : lv_admin-low.
        endloop.
        clear lv_sent.
      endif.
    endform.                    " SEND_EMAIL
    Attach the HTML content
      loop at i_html into lv_html.
        lv_attach = lv_html.
        append lv_attach to li_attach.
        clear : lv_html, lv_attach.
      endloop.  "loop at i_html
    Appending the text of boby
      lv_body-line+0(44)  = 'Please find attached Report of Discrepancies'.
      lv_body-line+45(30) = 'in Transactions'.
      append lv_body to li_body.
    Send the content i_email_input to s_dsmail
        perform send_email tables li_attach s_dsmail li_body
                           using  lc_filetype lc_subject lc_filename.
    endform.                    " EMAIL_LGCYTRANS

  • Follow-up actions via Usage Decision

    Hi,
    While I'm trying to use the follow-up action "MAIL3" in the usage decision screen, I recieve a mail from my user to my user.
    Is it possible to send the mail via follow-up action "MAIL3" to other users?
    Where can I enter those user's names?
    Thanks & Regards,
    Begü

    Hi Begum,
    Yes as Gajesh as referd the function module is "QFOA_UD_LONGTEXT_SENDING". That belongs to Mail:3.
    Mail3 is STD SAP follow up action and will have following information:
    Material document number
    Material
    Total lot quantity
    Sample quantity
    Completed number and description of stock postings
    Usage decision code
    Lot valuation
    Quality score
    Name of person who made the usage decision
    Long text (if applicable)
    [http://help.sap.com/saphelp_45b/helpdata/en/18/438976449011d189420000e829fbbd/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/24/77643c07437c7fe10000000a114084/content.htm]
    Regards,
    Shyamal

  • EEM sending mail by authenticated server

    Hi,
    we use EEM 3.2 to send email whenever interface goes down/up. But it doesnt work.
    We need to use authenticated SMTP server, so command for sending mail is following
    action 1.0 mail server "cisco:[email protected]" to "[email protected]" from
    "[email protected]" subject "something"
    But it doesnt work. Log is following
    Mar 22 12:55:34.316: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_connect_attempt: 1
    Mar 22 12:55:34.333: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 220  relay2.domain.local HE relay mail server Fri, 22 Mar 2013 13:55:34 +0100
    Mar 22 12:55:34.333: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_write HELO DP-SW1.dp.local
    Mar 22 12:55:34.752: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 250  relay2.domain.local Hello [90.185.130.170]
    Mar 22 12:55:34.752: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_write AUTH LOGIN Y2lzY28=
    Mar 22 12:55:35.298: %HA_EM-6-LOG: INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : smtp_read 503 5.5.2 Send hello first.
    Mar 22 12:55:35.298: %HA_EM-6-LOG:  INTERFACE_CHANGED_STATE : DEBUG(smtp_lib) : buffer no reply code  matched: 503 5.5.2 Send hello first.
    Mar 22 12:55:35.298: %HA_EM-3-FMPD_SMTP: Error  occurred when sending mail to SMTP server: cisco:[email protected]: error in reply from SMTP server
    Mar 22 12:55:35.298: %HA_EM-3-FMPD_ERROR: Error executing applet INTERFACE_CHANGED_STATE statement 1.0
    Do you have any idea? I changed domain names. I figured out, that when I manually connect to SMTP server and istead of HELO command I use EHLO, it works. Do you think it can be a problem? And how to solve it then?
    Any help appreciated.
    thanks
    John

    Looks like an incompatibility with your SMTP server.  If you get a sniffer trace of a working app sending email through this server what is different versus the debug output here?

  • Newbie question: how to send mails on a Solaris 10 machine?

    Good morning all,
    I am responsible of a lab, containing some Solaris machines.
    On one of those machines, a collegue would like to send mails, using following command:
    echo "something" | mailx -v -s "subject" <collegue>@<domain>.comThe mentioned e-mail address is configured on an MS Exchange server.
    On first sight this server is not accessible from the lab:
    telnet>ping -a <Exchange_Server>.<domain>.com
    ping: unknown host <Exchange_Server>.<domain>.comHowever when I try this in a DOS prompt, I get the same result:
    DOS prompt>ping -a <Exchange_Server>.<domain>.com
    Ping request could not find host <Exchange_Server>.<domain>.com=> How can I determine whether the Exchange server is accessible from the lab?
    Even more general: how can I determine whether the machines in the lab are connected to the internet:
    telnet>ping www.hotmail.com
    no answer from www.hotmail.com(94.245.116.9)
    no answer from www.hotmail.com(157.55.0.137)=> if there is no connection to the internet, how can my machine translate URLs into IP addresses?
    Can anybody give me a start?
    Thanks

    first ask your exchange team to add the Solaris server to exchange relay..then only soalris server can send mails...
    once they added..
    take the mail server ip/hostname
    configure /etc/mail/sendmail.cf
    modify DS to
    DSmailserver ----if dns server works
    else
    DS[mailserver] ---lookup through /etc/hosts

  • RSWUWFML2 sending mail to all possible agents

    I have configured RSWUWFML2 and it is sending mail to Notes fine just the wrong agents.  I am wanting to send workflow messages from tasks etc in Quality Notifications and I have created an org structure and just assigned this structure as the agent in the workflow config.  When I assign an individual in the notification to a task only that user is getting the actual workflow in SBWP, which is great,  however notes mails are being sent to all possible agents, i.e. those in the org structure.  Anybody encountered this before? and how to stop it?

    Please check in the workflow log which are the agents it is going to?
    I think it is going to all users and the user you are saying is also receiving at.
    Please make your agent assignment properly in order the workitem not being sent to all users.
    Thanks
    Arghadip

  • Send Mail on Document create

    Hi SAP Pundits,
    I am facing a tricky issue. Once document creates, mail should go. But it is not going. It is creating WI (in agentu2019s inbox assigned in activity where I have used task containing method used to send mail). I want mail to be sent once document created (done using event linkage). Not need to go to inbox and execute WI.
    Regards
    Vaibhav

    Thanks Swaminathan. But I need to create custom method as I am doing lot of calculation and sending pdf as attachment. Also, even if I use send mail step type, it needs execution from agent inbox. My concern the moment dcument creates, mail should go containing attachment. can you please nay some pointers on it?
    Regards
    Vaibhav

  • Problem with "subject" & "recipient list" of reporting agent

    Hi,
    I've created an exception in a query & assigned "E-mail notification" for this exception in reporting agent. I entered "Subject" field and assigned "distribution list" to "Recipient list" field in the e-mail notification attributes.
    After transporting, reporting agent & package, everything moved fine but subject & recipient fields are not carried over to Quality system. both the fields are blank.
    What is the problem?
    How do I make sure that these 2 fields are also transported to Quality & Production rather than manually maintaining them again in the target system.
    Appreciate any help.
    Hari Immadi
    http://immadi.com
    SEM BW Analyst
    Message was edited by: Immadi Hari

    Hari,
    Did you ever get this resolved?  We are currently experiencing the same problem.
    Thanks,
    Bill Lomeli

  • I have suddenly got the following message An (SMTP) error occurred while sending mail. The server responded: Requested action aborted: This mail account has se

    Having been on Thunderbird for some years I have suddenly got the following message when trying to send mail.
    An (SMTP) error occurred while sending mail. The server responded: Requested action aborted: This mail account has sent too many messages in a short amount of time. Please try later..
    I have checked the SMTP server settings in tools, account settings and they are as they have always been. Is there something I have missed?

    Sending through web mail is totally irrelevant to using an SMTP server. The message even says it is from the server. Why do you think this is a Thunderbird problem.
    The provider has put in place measures to keep people from spamming other email recipients using thier SMTP server. You have seen the result of those measures.

  • Follow Up Actions - Reporting Agent

    Hi BW Gurus,
    I would like to know what are following up action is available in Reporting Agent
    Thank You

    Hi Luis,
    There are 4 steps.
    1) Send Mail- alerts user by e-mail; for example you can send e-mail saying sales qty target were missed
    2) Alert Monitor entry - view results in the alert monitor; you can also give an URL for the alert monitor
    3) Export - Send Data to a work flow for follow up action
    4) RRI Interface - if an exception happens you can jump to another query for a more detailed display using Go To option
    TQ
    Kumar

Maybe you are looking for

  • Hiding field in alv

    hi, in report program using alv grid display. i want to hide some fields. i used no_out = 'x'. for that field. but it displays the data in grid display. i want to select from hidden fields then display the values in grid display. please reply me.

  • How to get sequence value?

    hi, i'm trying to store sequence's value into a variable... smth like this: create or replace function my_funct() as integer is begin return my_sequence.currval; end; and "return my_sequence.currvalue" doesn't seem to work... also i'would like to sto

  • How do I save a mp3 file?

    How can I save a free mp3 file to my iPad without using a computer to do so?

  • New block size

    <p>hi</p><p>can anyone tell me</p><p>if I add a dynamic calc member to Dense dim member(stored), what will happen to my block size ?</p><p> </p><p>thanks and regards</p><p>balu</p>

  • EAR JAR

    I am newbie. I have used to the deploytool to deploy the ejb that I have compiled. It generated a EAR. however I am using JRun, I try to deploy in it, the filter for the Beans is *.jar I don't if I have miss any steps. Can anyone help?