Intent_driven Interaction: Sending E-Mail when the Service Request is saved

Hi,
I would like to send automatically an E-mail when the Service Request is saved. I created a new policy within context "Intent Driven Interaction" . I chose the IC event "OrderSaved" and the relevant Business Roles.  In my rule I chose the condition "If current Event equals  Order was saved"  and  the action "Send out going E-Mail Using Mail Form".  I created an interaction profile that is assigned to the Service Manager Profile "IDI Default".
It does not work.  Any idea ? Is there a way to test this type of rule ?
Thanks a lot !!!

Thanks a lot for your fast response, unfortunately this is not what i was looking for.
Kind regards
Hannes
If your question is solved, please mark as answered.
Edited by: Hannes Wegehenkel on Sep 22, 2010 2:38 PM

Similar Messages

  • Exchange 2010 - Method to send e-mail when the WAN IP is dynamic

    Hello,
    I am writing due to the fact that I cannot send e-mail from my Exchange 2010 Server to my Yahoo! address for testing. When trying to do so, I get the following error message:
    mta1106.mail.gq1.yahoo.com gave this error:
    Mail from xxx.xxx.xxx.xxx not allowed - 5.7.1 [BL21] Connections not accepted from IP addresses on Spamhaus PBL; see
    http://postmaster.yahoo.com/errors/550-bl21.html [550]
    As one can see, because my IP address is residential, I cannot send e-mail to all addresses on the web. I really would like to use this as my primary contact, and thought of using a proxy. Can someone recommend a good proxy, or workaround for this? I am
    sorry for posting in Exchange 2013, but I couldn't find the 2010 forum. Thank you to all who reply.
    Mike

    Thank you for your reply,
    I have set up DynDNS, and I am currently using my own domain name. The problem was I needed to configure a smart SMTP host, or relay server on my send connector. I decided to go with SMTP2GO, as they are cheap, and allow you to send 20 e-mails a day for
    free. When the money is right, I plan to upgrade.
    Thank you for your help.
    Mike

  • Need to send Automatic mails when the report successful or Fail.

    Hello Experts,
    Created one report for reconciliation to check BW and R/3 figures.
    There are exceptions designed using reporting Agent settings on the same report.
    (When the values from R/3 to BW are matching it shows Green color and if the values are not matching report shows red color in the columns.)
    There are some mandatory variables for Company code, Period and Currency Type.
    Selections for  Company code and Period are fixed but We have three currency types (00,10,30)
    Reports needs to be executed for three currency types.
    Requirement is that
    when the report is executed for One currency type  (Ex u2013 00)
    If the key figure column shows Green color , Immediately mail has to be sent to necessary mail IDs saying the status successful.
    If the key figure column shows Red color , Immediately mail has to be sent to necessary mail IDs saying the status Failed.
    Like this the same report has to be executed for other two currency types and send the the same status as above phenomenon.
    Sending mails can be taken care by BASIS people with SMTP configuration.
    I want to know the development needs to be done from BW side.
    Are there are any settings in BW to send the message as Successful  when the report shows green color and message as failed when red color appears in the report.
    Regards,
    Siva.

    Hi,
    As i understand you need to set up an alert framework.
    Please check :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b6d59590-0201-0010-5f9d-adb9f6b14d80?quicklink=index&overridelayout=true
    This can also be achieved using BEx broadcaster
    Please check :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/efdbd593-0e01-0010-4eb1-a09ffedd550a?quicklink=index&overridelayout=true
    Hope this helps.
    -Vikram

  • How to send a mail to the user when a job gets canceled?

    Hi experts,
                      I need to send a mail when a job gets canceled to the user.I know the FM for sending mail and i can find if a job is canceled from tbtco,but i want to know how to send the mail from the same program ,once it got canceled ?
    thanks in advance,
    helpful answers will be awarded with points
    regards,
    ashwin

    Hi Ashwin
    Use the below peace of code:
    REPORT ZBCJOBMONITOR .
    TABLES: SOMLREC90,
            TBTCO.
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: I_TBTCO    LIKE TBTCO OCCURS 0 WITH HEADER LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001 .
    SELECT-OPTIONS: S_JOB FOR TBTCO-JOBNAME.
    SELECT-OPTIONS: S_JOBC FOR TBTCO-JOBClass.
    SELECT-OPTIONS: S_REC FOR SOMLREC90-RECEIVER.
    SELECTION-SCREEN END OF BLOCK B1.
    START-OF-SELECTION.
      CLEAR:    MAILDATA, MAILTXT, MAILREC, I_TBTCO.
      REFRESH:  MAILTXT, MAILREC, I_TBTCO.
      PERFORM GET_ABENDED_JOBS.
      PERFORM BUILD_RECEIVERS.
      LOOP AT I_TBTCO.
        PERFORM BUILD_TEXT_MESSAGE.
        PERFORM SEND_MAIL_NODIALOG..
      ENDLOOP.
         Form  BUILD_TEXT_MESSAGE
    FORM GET_ABENDED_JOBS.
      SELECT * FROM TBTCO
              INTO CORRESPONDING FIELDS OF TABLE I_TBTCO
                         WHERE JOBNAME IN S_JOB
                           AND STATUS = 'A'
                           AND JOBCLASS IN S_JOBC
                           AND SDLSTRTDT = SY-DATUM.
    ENDFORM.
         Form  BUILD_TEXT_MESSAGE
    FORM BUILD_TEXT_MESSAGE.
      DATA: DATE(10) TYPE C.
      DATA: TIME(10) TYPE C.
      MAILDATA-OBJ_NAME = 'MONITOR'.
      MAILDATA-OBJ_DESCR = 'Batch Job Monitor'.
      MAILDATA-OBJ_LANGU = SY-LANGU.
      CONCATENATE 'Job Name:' I_TBTCO-JOBNAME
                  INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      PERFORM FORMAT_DATE USING I_TBTCO-SDLSTRTDT
                                DATE.
      CONCATENATE I_TBTCO-SDLSTRTTM+0(2) ':'
                  I_TBTCO-SDLSTRTTM+2(2) ':'
                  I_TBTCO-SDLSTRTTM+4(2)
                     INTO TIME.
      CONCATENATE 'Start Date/Time:' DATE TIME
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      CONCATENATE 'Job Class:' I_TBTCO-JOBCLASS
                INTO MAILTXT-LINE SEPARATED BY SPACE.
      APPEND MAILTXT.
      MAILTXT-LINE = 'Job has terminated abnormally'.
      APPEND MAILTXT.
    ENDFORM.
         Form  BUILD_RECEIVERS
    FORM BUILD_RECEIVERS.
      LOOP AT S_REC.
        CLEAR MAILREC.
        MAILREC-RECEIVER = S_REC-LOW.
        MAILREC-REC_TYPE  = 'U'.
        APPEND MAILREC.
      ENDLOOP.
    ENDFORM.
         Form  SEND_MAIL_NODIALOG
    FORM SEND_MAIL_NODIALOG.
      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.
    ENDFORM.
         Form FORMAT_DATE
    FORM FORMAT_DATE USING IN
                           OUT.
      CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
           EXPORTING
                DATE_INTERNAL            = IN
           IMPORTING
                DATE_EXTERNAL            = OUT
           EXCEPTIONS
                DATE_INTERNAL_IS_INVALID = 1
                OTHERS                   = 2.
    ENDFORM.
    Regards,
    Sree

  • Send a mail to the customer when their order of type Residential Credit is booked

    Hi,
    We need to send a mail to the customer when their order of type Residential Credit is booked.
    I followed the below steps, but i could not write the code for sending email, can you please send me a sample code.
    Step1:
    =======
    Setup Processing Constraint on Order Header/Line for order booking
    *(Navigation : Setup --> Rules --> Security --> Processing Constraints)*
    a) Set Application : Order Management, Entity : Order Header
    b) Under constraints --> set Operation : Create, user Action : Raise Integration event, and make it enabled
    c) Condition --> Set Scope : Any, Validation Entity : Order header, record Set : Order, Validation Template : Booked and make it enabled too.
    Step2:
    ========
    Profile Option: Set "OM: Electronic Message Integration Event Sources" to be set to All
    Step3:
    ========
    Develop a code(Package) /workflow as per business requirement. e.g sending mail to customer when order is booked.
    Step 4:
    =======
    Open business event *"oracle.apps.ont.oi.xml_int.status"* through workflow Administrator responsibility. Include code/workflow in the subscription section of Business event.
    Navigation : WF Administrator Web application ---> Administrator Workflow --> Business Events
    Search Name : oracle.apps.ont.oi.xml_int.status, it will return 1 record, click on subcription...
    In this page include the function e.g CLN_CH_EVENT_SUBSCRIPTION_PKG.ADD_COLLABORATION_EVENT_SUB, if you are using WF, mention (e.g) wf_rule.default_rule in function & Workflow as OEEM/WRITE_HISTORY and enable it in this page..
    Thanks and Regards,
    Priya

    Just wanted to let you guys know that I still haven't received my MP3 player... Creative has had the MP3 player for 73 days now and they still haven't sent it back. Since last time I wrote here I got an e-mail from Creative saying they got the MP3 player on the 5th of the November and that somehow the status wasn't updated. Well, it's been 73 days now, care to send it away? I sent them and e-mail yesterday where I wrote that they could just send me the cash for it or a new MP3 player.
    If I don't receive my MP3 player in a near future I will contact "Allm?nna Reklamations N?mnden" (a Swedish "Consumerist"-like government sponsored organization that deals with people vs company legal cases).
    Again, I strongly advise everyone to not buy any more Creative products. Once they break you won't get the help you need.

  • Any changes in PA30 need to send a mail to the Managers outlook inbox

    Hi,
    Any changes in PA30 (ESS) need to send a mail to the Managers outlook inbox  .
    Kindly let me know the Standard workflow template and  to built the Custom function module in Rule .
    Thanks in advance,
    Richard A

    <i>Any changes in PA30 (ESS) need to send a mail to the Managers outlook inbox</i>
    If its just an email do u need a workflow for it? Configure dynamic actions which will call a subroutine when a change is made to the infotype and send email from that subroutine using SO_NEW_DOCUMENT_SEND_API1.(you can include the necessary logic for determining the approver in the same subroutine).
    Thanks,
    Prasath N

  • How to send e-mail when a trigger condition is verified?

    Hi,
    I want to implement a trigger to send an e-mail when the condition of the tigger is verified.
    Thanks in advance.
    Paulo.

    i'm using the sample code you can find at http://otn.oracle.com/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html to implement the mail function.
    Check out you gateway configuration cause i had some problems with it at the beginning
    my trigger goes like this (i use it to receive a mail everytime i have a exception in one of my processes):
    create or replace trigger TRG_error_handle
    after insert on errores
    for each row
    begin
    demo_mail.mail(sender => "sendername", recipients => "your emailadress",
    subject => 'Error en reporte ' || :new.proceso,
    message => 'Ha ingresado un error de aplicación a las ' ||
    to_char(:new.fecha, 'hh24:mi:ss') || ' del ' ||
    to_char(:new.fecha, 'dd/mm/yyyy') || chr(13) ||
    ' Proceso: ' || :new.proceso || chr(13) ||
    ' Mensaje de error: ' || :new.err_desc);
    end if;
    end TRG_error_handle;
    Good luck.-

  • "Send e-mail when ownership is assigned" SharePoint 2013 task list

    I've found that the option to "Send e-mail when ownership is assigned" isn't available in SharePoint 2013 (enterprise) task lists. I've found that this functionality is now included the 'issue tracking' list template.
    I'm unsure why this very useful feature has been removed from the task list template. I’ve tried adding the task content type to an issue list; this works fine and the notification is sent. However, the new ‘task aggregation’ feature
    in mysite only picks up items in an task list, so those items stored in issue lists get ignored. Fairly frustrating. 
    I wonder whether anyone from MS can fill me in on when this feature has been removed? 

    Here's a way to enable it by PowerShell:
    http://bernado-nguyen-hoan.com/2013/04/26/enable-email-notifications-for-tasks-list-in-sharepoint-2013/
    Although this works, are we now expected to teach users who create Tasks and want to automatically notify all involved via e-mail Powershell skills? MS really needs to take a second look at this faux pas and bring the "Send
    e-mail when ownership is assigned" option back.

  • Send a mail to the vendor at the time of approval with the attachment of PO

    Hi all,
    I want to send a mail to the vendor at the time of approval by attaching the pdf of that particular PO.
    How can I achieve this?
    I know the User Exit where the code should be written.
    But I want the solution for attaching the PDF of PO at the time of approval.
    Please help me in this regard.
    Edited by: vinil kumar aturi on Mar 16, 2009 7:52 AM

    Hi,
    Try Following Code to Send mail as PDF Attachment
    In this
    Smart form Name : ZSMART_MM_003
    This will send mail to EMAIL ADDRESS SPECIFIED IN VENDOR MASTER FK03
    This code is written for ME23n so we used nast-objky(10) for purchase order no you may replace it with your purchase order no
    and smart form name with your smart form name
    *-- Send Mail---
    *-- Function Module Call to get Customer Address (Email)--
    DATA: VENDOR TYPE ELIFN,
          ADDRNO TYPE ADRNR.
    DATA: atab-mail TYPE STRING.
    SELECT SINGLE LIFNR FROM EKKO INTO VENDOR WHERE EBELN = nast-objky(10).
    SELECT SINGLE ADRNR FROM LFA1 INTO ADDRNO WHERE LIFNR = VENDOR.
    TYPE-POOLS: szadr.
    DATA adr_kompl TYPE szadr_addr1_complete.
    DATA adr1 TYPE szadr_addr1_line.
    DATA adtel TYPE szadr_adtel_line.
    DATA admail TYPE szadr_adsmtp_line.
    DATA adfax TYPE szadr_adfax_line.
    CALL FUNCTION 'ADDR_GET_COMPLETE'
           EXPORTING
                addrnumber              = ADDRNO
           IMPORTING
                addr1_complete          = adr_kompl
           EXCEPTIONS
                parameter_error         = 1
                address_not_exist       = 2
                internal_error          = 3
                wrong_access_to_archive = 4
                OTHERS                  = 5.
    Mail
      LOOP AT adr_kompl-adsmtp_tab INTO admail.
        MOVE admail-adsmtp-smtp_addr TO atab-mail.
      ENDLOOP.
    if sy-subrc = 0.
      DATA: FILENAME TYPE STRING.
      CONCATENATE 'PurchaseOrder' nast-objky INTO FILENAME SEPARATED BY '-'.
      DATA: MESSAGELINE1 TYPE STRING,
            MESSAGELINE2 TYPE STRING.
    CONCATENATE 'Do you want to send ' FILENAME ' through E-mail to' into MESSAGELINE1.
    CONCATENATE atab-mail '?' into MESSAGELINE2.
      data: answer    TYPE c.
      CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
           EXPORTING
                defaultoption = 'N'
                textline1     = MESSAGELINE1
                textline2     = MESSAGELINE2
                titel         = ' '
                start_column  = 35
                start_row     = 10
           IMPORTING
                answer        = answer.
      IF answer EQ 'J' OR answer EQ 'Y'.
    Code to find Contact person
        DATA: CONTACT TYPE EVERK.
        SELECT SINGLE VERKF FROM EKKO INTO CONTACT WHERE EBELN = nast-objky(10).
    Internal Table declarations
        DATA: I_OTF TYPE ITCOO OCCURS 0 WITH HEADER LINE,
              I_TLINE TYPE TABLE OF TLINE WITH HEADER LINE,
              I_RECEIVERS TYPE TABLE OF SOMLRECI1 WITH HEADER LINE,
              I_RECORD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
              I_OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE,
              I_OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
              I_OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE,
              I_RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
              WA_OBJHEAD TYPE SOLI_TAB,
              W_CTRLOP TYPE SSFCTRLOP,
              W_COMPOP TYPE SSFCOMPOP,
              W_RETURN TYPE SSFCRESCL,
              WA_DOC_CHNG TYPE SODOCCHGI1,
              W_DATA TYPE SODOCCHGI1,
              WA_BUFFER TYPE STRING, "To convert from 132 to 255
    Variables declarations
              V_FORM_NAME TYPE RS38L_FNAM,
              V_LEN_IN LIKE SOOD-OBJLEN,
              V_LEN_OUT LIKE SOOD-OBJLEN,
              V_LEN_OUTN TYPE I,
              V_LINES_TXT TYPE I,
              V_LINES_BIN TYPE I.
              DATA :  s_control_parameters TYPE ssfctrlop,
                      s_output_options     TYPE ssfcompop.
                      s_control_parameters-getotf = 'X'.
                      s_control_parameters-no_dialog = 'X'.
                      s_control_parameters-preview   = 'X'.
                      s_output_options-tdnoprint = 'X'.
                      s_output_options-tdimmed   = ''.
                      s_output_options-tddest = 'LP01'.        "Spool: Output device
                      s_output_options-tdreceiver = sy-uname.
                      s_output_options-tdcover = ''.
             CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING
                FORMNAME = 'ZSMART_MM_003'
             IMPORTING
               FM_NAME = V_FORM_NAME
             EXCEPTIONS
               NO_FORM = 1
               NO_FUNCTION_MODULE = 2
               OTHERS = 3.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
             W_CTRLOP-GETOTF = 'X'.
             W_CTRLOP-NO_DIALOG = 'X'.
             W_COMPOP-TDNOPREV = 'X'.
             CALL FUNCTION V_FORM_NAME
             EXPORTING
                CONTROL_PARAMETERS = s_control_parameters
                OUTPUT_OPTIONS = s_output_options
                USER_SETTINGS = ''
                nast          = nast
                WA_ADDRESS    = WA_ADDRESS
             IMPORTING
                JOB_OUTPUT_INFO = W_RETURN
             TABLES
                addtel  = it_addtel
                addsmtp = it_addsmtp
             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.
    Convert SMartform to pdf
          I_OTF[] = W_RETURN-OTFDATA[].
          CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            FORMAT = 'PDF'
            MAX_LINEWIDTH = 132
          IMPORTING
            BIN_FILESIZE = V_LEN_IN
          TABLES
            OTF = I_OTF
            LINES = I_TLINE
          EXCEPTIONS
           ERR_MAX_LINEWIDTH = 1
           ERR_FORMAT = 2
           ERR_CONV_NOT_POSSIBLE = 3
           OTHERS = 4.
    IF SY-SUBRC <> 0.
    ENDIF.
          LOOP AT I_TLINE.
            TRANSLATE I_TLINE USING '~'.
            CONCATENATE WA_BUFFER I_TLINE INTO WA_BUFFER.
            ENDLOOP.
            TRANSLATE WA_BUFFER USING '~'.
            DO.
              I_RECORD = WA_BUFFER.
              APPEND I_RECORD.
              SHIFT WA_BUFFER LEFT BY 255 PLACES.
              IF WA_BUFFER IS INITIAL.
                EXIT.
                ENDIF.
                ENDDO.
    Attachment
                REFRESH: I_RECLIST,
                I_OBJTXT,
                I_OBJBIN,
                I_OBJPACK.
                CLEAR WA_OBJHEAD.
                I_OBJBIN[] = I_RECORD[].
    Create Message Body Title and Description
                I_OBJTXT = 'Sir, '.
                APPEND I_OBJTXT.
                I_OBJTXT = ''.
                APPEND I_OBJTXT.
                I_OBJTXT = 'Please Find Attached '.
                APPEND I_OBJTXT.
                I_OBJTXT = FILENAME.
                APPEND I_OBJTXT.
                I_OBJTXT = 'For your reference'.
                APPEND I_OBJTXT.
                I_OBJTXT = ''.
                APPEND I_OBJTXT.
                I_OBJTXT = 'Regards'.
                APPEND I_OBJTXT.
                I_OBJTXT = CONTACT.
                APPEND I_OBJTXT.
    *Mail Subject
                DESCRIBE TABLE I_OBJTXT LINES V_LINES_TXT.
                READ TABLE I_OBJTXT INDEX V_LINES_TXT.
                WA_DOC_CHNG-OBJ_NAME = 'Purchase Order'.
                WA_DOC_CHNG-EXPIRY_DAT = SY-DATUM + 10.
                WA_DOC_CHNG-OBJ_DESCR = 'Purchase Order'.
                WA_DOC_CHNG-SENSITIVTY = 'F'.
                WA_DOC_CHNG-DOC_SIZE = V_LINES_TXT * 255.
    Main Text
                CLEAR I_OBJPACK-TRANSF_BIN.
                I_OBJPACK-HEAD_START = 1.
                I_OBJPACK-HEAD_NUM = 0.
                I_OBJPACK-BODY_START = 1.
                I_OBJPACK-BODY_NUM = V_LINES_TXT.
                I_OBJPACK-DOC_TYPE = 'RAW'.
                APPEND I_OBJPACK.
    Attachment (pdf-Attachment)
                I_OBJPACK-TRANSF_BIN = 'X'.
                I_OBJPACK-HEAD_START = 1.
                I_OBJPACK-HEAD_NUM = 0.
                I_OBJPACK-BODY_START = 1.
                DESCRIBE TABLE I_OBJBIN LINES V_LINES_BIN.
                READ TABLE I_OBJBIN INDEX V_LINES_BIN.
                I_OBJPACK-DOC_SIZE = V_LINES_BIN * 255 .
                I_OBJPACK-BODY_NUM = V_LINES_BIN.
                I_OBJPACK-DOC_TYPE = 'PDF'.
                I_OBJPACK-OBJ_NAME = 'smart'.
                I_OBJPACK-OBJ_DESCR = FILENAME.
                APPEND I_OBJPACK.
                CLEAR I_RECLIST.
                I_RECLIST-RECEIVER = atab-mail.
                I_RECLIST-REC_TYPE = 'U'.
                APPEND I_RECLIST.
                CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
                EXPORTING
                  DOCUMENT_DATA = WA_DOC_CHNG
                  PUT_IN_OUTBOX = 'X'
                  COMMIT_WORK = 'X'
                TABLES
                    PACKING_LIST = I_OBJPACK
                    OBJECT_HEADER = WA_OBJHEAD
                    CONTENTS_BIN = I_OBJBIN
                    CONTENTS_TXT = I_OBJTXT
                    RECEIVERS = I_RECLIST
                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.
    WRITE:/ 'Error When Sending the File', SY-SUBRC.
    ELSE.
    WRITE:/ 'Mail sent'.
    ENDIF.
    Regards
    Nausal

  • CCMS not sending e-mail when system is down

    I have installed solution manager 4.0 and configured it as a CEN to handle all CCMS alerts from our SAP systems (ECC5.0, BW, etc), these systems all have CCMS agents install and configured. The configurations work no problem. We get automatically notifications on a lots of events -- such as shortdumps, responses time, system log errors, etc. However, we never get e-mail notifications on following two situations:
    1. System down -- when one system is down, we can see it availability is going to 0% on solution manager but we did not get e-mail, I am using MTE class "Availability_SysPercent_ABAP",  it should send e-mail when it below 60%. But it never did even it's 0%. Also tried several other MTEs, but none of them work.  Is this because when system is down, CCMS not work any more or something else?
    2. Job cancel -- I am not what MTE class to use in order to send e-mail when some jobs are cancelled.
    Any help are greatly appreciated.
    Yujun Ran

    I don't know if this is correct but my Execution is "Any server" and it works.
    I assume you copied the same method for your central AR method. The person earlier who mentioned clients may have something. I don't use the CCMS_OnAlert_Email_V2 method so I'm not sure but I think the parameters need to have a user in 000 with an e-mail address in the user master in order to send. I don't think this is any different for the Central AR method which works for you so probably not the problem but double-check. I use the CCMS_Send_Alert_to_ALM_V2 method so my config will be a little different.
    Is SAP_CCMS_MONI_BATCH_DP scheduled in CEN? Mine is in the working client but again, not sure if it matters.
    Does the AR method you have assigned show up in RZ20>>Change mode>>View>>Method allocation?
    Is the send job in SAPCONNECT scheduled, I believe it behaves differently with local and central AR's.
    Message was edited by:
            David Hill

  • Send an alert when the BOM changed

    Hi All,
    Is there any solution for send an email when the user have changed BOM in the SAP b1 ?
    Thanks,
    TuanAnh

    Hi,
    There is no automatic email function to send change made in BOM. You have to create query, query layout and then you have to schedule and email to user.
    Use below query:
    SELECT T0.[Code], T0.[TreeType], T0.[UpdateDate], T1.[U_NAME] FROM OITT T0  INNER JOIN OUSR T1 ON T0.UserSign2 = T1.USERID WHERE datediff(dd, T0.[UpdateDate],getdate()) <=0
    For scheduling and emailing refer below link:
    http://scn.sap.com/community/business-one/reporting-and-printing/blog/2013/06/01/how-to-schedule-report-execution-and-mailing
    Thanks & Regards,
    Nagarajan

  • E71 - Can't send e-mail with the Nokia E-mail

    I'm not able to send e-mail when I use the Nokia E-mail although I can receive it.
    I use a SMTP account.
    The strange is that I compose or reply the e-mail, I click in the SEND option, but it keeps retrieving and out of the blue the e-mail disapear. It doesn't show any error message. And I can't find the e-mail that I wrote.
    The other thing is that I can't move the e-mails that are in the inbox to the drafts. When I click in options, it doens't show this options (move to drafts).

    I'm not able to send e-mail when I use the Nokia E-mail although I can receive it.
    I use a SMTP account.
    The strange is that I compose or reply the e-mail, I click in the SEND option, but it keeps retrieving and out of the blue the e-mail disapear. It doesn't show any error message. And I can't find the e-mail that I wrote.
    The other thing is that I can't move the e-mails that are in the inbox to the drafts. When I click in options, it doens't show this options (move to drafts).

  • How to create  a procedure to send a mail if the Database is down?

    Hi,
    I have created the below procedure to send a mail if the count is less than 1300. It scheduled daily @ 15 30 hrs. Its fine.
    CREATE OR REPLACE procedure SCOTT.hrsmail
    is
    v_count number;
    begin
    Select count(*) into v_count from emp;
    if v_count < 1300
    then
    UTL_MAIL.send(sender => '[email protected]',
    recipients => '[email protected]',
    cc => '[email protected]',
    bcc => '[email protected]',
    subject => 'Testing the UTL_MAIL Package',
    message => 'If you get this, UTL_MAIL package
    else
    null; --what you want to do here
    end if ;
    end;
    Sometime the Database is down, so the job is not running.
    How to create a procedure to send a mail if the database is down?
    Pls help me. Its highly appreciated.
    Thanks
    Nihar

    nihar wrote:
    How to create a procedure to send a mail if the database is down?And what if the database is up, but the network down? Or the database up and mail server down? Or mail server undergoing maintenance?
    There are loads of "+What if's+" - and in that respect, playing "+What if database is down..+" in this case does not make any sense. You do not use the database to monitor its own up/down status. You do not rely just on SMTP as notification protocol that the database is down.
    The correct approach would be using something like SNMP as the monitoring protocol. A monitoring system that can process SNMP and perform some basic root cause analysis (e.g. network to the database server down, database server status unknown). And this system supporting notification methods like SMTP, SMS and so on.

  • How to Send a Mail From the Oracle Applications.

    Hi,
    I was assigned a task to send a mail from the front end i.e., from oracle applications.
    but i have no idea.
    i am working on oracle apps R12.1.1 and 10g reports.
    First i have to create an rdf file and that rdf file i want to send as an attachment through mail from the apps.
    Any Advice will be of great help and i will follow accordingly.
    Thanks in Advance,
    Regards,
    Bharathi.S

    Hi,
    I was assigned a task to send a mail from the front end i.e., from oracle applications.
    but i have no idea.
    i am working on oracle apps R12.1.1 and 10g reports.
    First i have to create an rdf file and that rdf file i want to send as an attachment through mail from the apps.
    Any Advice will be of great help and i will follow accordingly.
    Thanks in Advance,
    Regards,
    Bharathi.S

  • My macbook pro with OS 10.6.7 'mail' program does not send my mail through the IPS wireless, I am connected to. The message is my 'e-mail is rejected by the server'. It has been working until 5 days ago. The connection doctor says I am connected and no lo

    My macbook pro with OS 10.6.7 'mail' program does not send my mail through the IPS wireless, I am connected to. The message is my 'e-mail is rejected by the server'. It has been working until 5 days ago. The connection doctor says I am connected and no log in required.
    After trying lots I found now in 'Airport Utility is 'unable to detect any airport wireless devises.....'
    There is no provider to be seen in airport utility and only 'rescan' is an option with no results...
    even so I am connected and can browse the net receive mail etc. and the outgoing 'mail server' is set to the internet provider I am connected to.
    Can you enlighten me what can I do I need to use my e-mail program urgently !!!
    Thanks for your help

    I'm not sure what "IPS wireless" is, but unless you have an Apple Wi-Fi base station (such as a Time Capsule, AirPort Extreme, or AirPort Express), AirPort Utility won't see anything.
    You might try defining a new SMTP server to see if that will work any better.
    By the way, the subject field for these messages isn't intended to hold a lot of text.  Put a short description of your problem in the subject field and save the rest of your message for the body field.

Maybe you are looking for

  • How can I make a side bar item in ADF 10gr3 ?

    Dear experts , I have a requirement to make a side Bar that contains some links . so what is the adf component to do that ? regards

  • Maintenance of Authorization for transactions in CRM 5.0.

    Hi Experts . We are using CRM 5.0 with PCUI. TheBusiness  requirement is to maintain authorization for own transactions.the users who is involved in transactions should only be authorized to  Open & see the transactions.Other users who are not involv

  • Vendor master record TITLE_MEDI

    Hi all, I would like to add one entry to TSAD3T-TITLE_MEDI (Vendor master record). There is a previous thread on the subject but I have no access to SAP Netweaver: [SAP ERP - Logistics Materials Management (SAP MM); Is there another way to customize

  • Whats the size of ios7 if i want to update it from itunes?and what's better OTA or itunes?

    whats the size of ios7 if i want to update it from itunes?and what's better OTA or itunes?

  • Dial up for MacBook Air

    I purchashed an apple modem plug for the occasional times I only have dial-up connection when at my Dad's apartment.  I found out yesterday, I was mislead, and that the MacBook Air does not have the capability of using dial-up internet services.  Jus