Sending an Alert e-mail on execution of process chain containing ATTACHMENT

Hi Experts,
Need your help on the following,
We have a scenario where system must send an e-mail to the recipients, on the exection of a Process in the Process Chain.
This mail should contain a specific text file from SAP-Directory(AL11) as ATTACHMENT or the content of file should be directly read in to the mail, anything will work.

To send an Alert e-mail when the process chain is executed
you need to create a message setting while creating the process chain.
Suppose you want to send a mail after execution of DTP
then just do the following
right click on the DTP process in the chain and you will get a option to create message.
you'll be asked when on what condition you want to send message 1Success 2 error 3always. select as per you r requirement
select that option and a new window will appear
in the new window press Reciepent button and add recipients of the mail as per you requiremnt
press back button and save, then press create message button
here you can enter the text you want to send, other then that message wil send the status and number od records added and transfered , by default.
hope this solves your problem ..:)

Similar Messages

  • Email to be sent on execution of Process chain

    Hi,
    I have a requirement as follows.
    On successful execution of process chain an email must be sent to a group of users.
    I have made a distribution list using Tcode SO23 and included the message in the last step of process chain. But no messsge is being sent even on successful execution of process chain.
    Can anyone throw light on this?
    Regards,
    Manisha

    Hi Manisha,
    You can create the Message alert for process chain as follows.
         1. Goto change mode of Process Chain
         2. Right click on the particular Process step/Process chain and choose Create Message.
         3. Choose the Actions (Sucessful / Failure/Always) for which you want to aler the users
         4. Choose the New variant and define the Variant Name and Message header and enter
         5. Create the message and the save the variant and activate the process chain.
    Once you triggere the process chain, according the message typr, the users will be alerted.
    Regards,
    Gowrisankar Nk

  • Program is not sending emails if I run it within the process chain

    Hi All,
    I am facing a weird issue; I have an ABAP program which compares tables and sends the results in an email. It is working fine if I run it standalone. However, if I run it within the process chain it still runs but doesn't send the email.
    Any idea on how to troubleshoot this?
    Thanks

    maybe because it's ran under a different user (ALEREMOTE)?
    the user that executes the "mail" needs a valid emailaddress to be able to send...

  • Issue with ABAP program execution from process chains

    Hi All:
    We have a process chain with 3 steps, each of them executing the same program with three different variants. The program is ftp's the file from APO's dataexchange (mount) to another ftp server. The first variant transfers file A to a directory in the external ftp server (say /X) . The second and the third variants are supposed to transfer different files, B and C to the same directory.
    That is where the problem is. After the process chain is successful, I see two files B and C but the contents are same and that of C. So, if I switch the steps in the PC to bring in A then C and then B, I see files B and C with content of C. I tried C then A then B. I see the file names correct but now the contents are A, A then B.
    Have any of you come across this issue? Do you know that these is an existing problem? IF you have a solution, pl. let me know.
    Thanks
    Narayanan

    Narayanan,
    Instead of doing it in three steps - would it be possible for you to have one UNIX script or equivalent doing the above and calling the same from your process chain ...?
    We do a lot of FTPs but then our file names are standard and we have a UNIX script for the same executed using a system command through a process chain and it has been working without issues for the past 1 year ...
    Maybe I have not got your situation properly ... some more detail on the program details and what you are doing in more detail would help....  also SP levels please..

  • Error in execution of process chains

    Hi All,
    when i am trying to excute a process chain, i am facing follwoing error:
    1)  My chains contains a ODS with its infopakage so data is flowing form infopakage to ods and get activated.
    2)  delete index is executed at  cube level. and gets updated through DTP
    Here is the errror message its thorughing
    "Job BI_PROCESS_DROPINDEX could not be scheduled. Termination with returncode 8"
    Please give me useful tips to  execute the chain.  Points will be awarded for the useful  points,.
    Thanks a lot
    Narendra

    Hi,
    yes, the user should be set with type 'system'.
    Just use the following path:
    SU01-> USER(ALE REMOTE)->LOGON DATA->USER TYPE-> SYSTEM.
    This user type may not execute or start any batch jobs, irrespective of the user authorizations.
    Solution
    Set the type of background user to
    "Background" up to 4.6B
    "System" as of 4.6C
    This user type corresponds to the "Communication" type and may also perform background functions

  • Email alerts in process chain

    Hi
    I am trying to send email alerts (messages (sucess/Failure) thru my process chain , I gave the correct email -id a , but I'm not getting an email, after I schedule it, to I have to make any settings with Basis team?? Can some one share what are the initial steps , which have to be taken ??.
    Thanks
    Praveen

    Hi Praveen,
    Please follow the below steps
    Would like to share this information regarding email alerts whenerrors occur in Process Chains.Step by step process to follow:
    1. go to ALRTCATDEF
    2. select classification "Process Chains"
    3. click on display/change
    4. double-click on "error in a process of a process chain"
    5. click on "fixed recipients"
    6. write in your username (you have to maintain your e-mail address in SU01 for that to work)
    7. save
    8. go to your process chain (rspc)
    9. go into edit mode
    10. from the menu, select Process chain -> attributes -> alerting
    11. check "send alerts if errors occur"
    Regards!
    Mallikarjuna Reddy

  • How to send a email as soon as the process chain starts

    hi,
    i feel i am doing the right thing . but i couldn't get the mail.
    i have created the process chain.
    and attached the message to the start of the chain.
    i had inserted the subject to the message and the recepient id is attached to the addresse.
    any thing else to be done.
    every thing is connected.no need to do the settings as we were getting mails for the other chains.
    please do reply in detail.
    regards,
    soumya

    Ensure proper settings done in SCOT.also see after going in SCOT -->CLICK on JOB then see whether any job is scheduled to run to send mails or not ?if yes after what time period it runs.see this.
    else check this link
    Creating messages in Process chains

  • Send Message Process prompting for "Process Chain to Check"

    Hi, When I insert a "Send Message" Process into my chain I do get prompted to select the message. 
    1. When I do a pull down I am getting prompted for "Process Chain to Check". 
    If I select my current process chain I get an abend.
    2. When I click create instead of select I get brought to a table maint "Controls the execution of Process Chains".  It has process chain, Start Date, Start time, and an inactive checkbox.
    Any guesses why it's asking for "Process Chain to Check"?
    What is this maintenence table I'm being brought to just to create a message.
    Sounds Like I've run into a bug?????
    Can you help???

    Found out this must be related to development from a previous consultant..
    thanks

  • E-Mail Notification in Approval Process (EP 6.0 SP2)

    Hi all,
    we established an approval process for specific documents in our KM repository.
    Additonally to the notifications in the notification i-View we want to send out notification e-Mails at each approval step.
    We have also a subscription service on the related folders, but they only send out an e-Mail when the approval process is finished and the document is already published.
    Can anybody tell what we have to do to send out e-Mails at every approval step?
    Best Regards,
    Albert

    Hi there,
    for this, please implement your own repository service; see /thread/14909 [original link is broken]
    Hope it helps
    Detlev

  • Send Message from Process Chain Step without Process Log

    We send a mail message, depending on the success or failure of the process chain step, to user list.
    When the message is sent not only custom message but also the status information and the process log are sent.
    Our users are only interested about the result of the chain and they don' t want to view all technical information.
    Is it possible to send message without process log?
    Regards

    Hi,
    Take 2 process(red and green line) from each of the process in the process Chain, one is for sucessfull and other is for failure and at the end of the proces chain,  just put all failure process to the OR and have add a ABAP Program (with Not Sucessfull) and then just put all sucessfull process to the AND and have add a ABAP Program (with Sucessfull) .
    This wil send the mail to the users, when ever there is failure in PC any where, or sends a mail ..if the process chain completes sucessfully.
    If you want only add the send of mail option at the end of the process chain, we can just add 2 process (red and green line) and have same flow as above. so that.. it will only sends mail..when there is failure or sucessfull of the process chian.
    Hope it helps ......

  • Triggering Process chain based on execution of R3 job and Process Chain

    Hi All,
    I need your help in arriving at a solution for a reqirement.
    Scenario is., I need to trigger a process chain B based on successful execution of Process chain A and an R3 job. If both conditions(Completion of R3 job and Process Chain A) are met then only it has to trigger process Chain B.
    I know that we can use events to trigger a process chain using R3 job.But my case is differenet I need to consider the success message from both process chain and R3 job.Is there any way to solve it ?
    Please provide me with your valuable inputs.
    Thanks,
    Bindu

    Hi Hima,
    You can use the  'AND' variant for both, If both are success then trigger the process chain.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on Apr 30, 2009 3:36 PM

  • Process Chain remote execution locks up (All Dialog Processes used up)

    Hi,
    We have the following task at hand. We kick in BW process chain execution via RFC from our R/3 system using the function described below. What happens is that the process chain does get kicked in the remote BW system, but it quickly locks up. System monitor  says that all dialog process have been utilized. So, basically it gets stuck in the beginning of the process chain. Is there anything I can do to prevent this from happening?
    Here is the function call:
    This function triggers execution of process chain
    (on the remote BW system)
      CALL FUNCTION 'RSPC_API_CHAIN_START' DESTINATION p_rdest
        EXPORTING
          i_chain             = p_pchain
      I_T_VARIABLES       =
          i_synchronous       = 'X'
      I_SIMULATE          =
      I_NOPLAN            =
        IMPORTING
          E_LOGID             = gv_pchain_logid
        EXCEPTIONS
         failed              = 1
         OTHERS              = 2
    Thank you,
    AG
    Message was edited by:
            AG

    How many work process did you configured in SOLMAN, what is the action that CSMUSER is busy with?
    I think CSMREG is a communicatino user to satellite agents and check the RZ21--> AGENT status.
    Regards
    SM

  • Send email if any step fails in Process Chain

    I want to send an email if any step in the Process Chain fails.  I know I can add a Message to each step but this is very cumbersome.  I was trying to use the 'OR' collector and link each one of my steps to the 'OR' if it fails.  I can do this for every step but the very last one.  It does not allow me to drag a line from my last step to the 'OR'.  Can someone tell me why?
    Thanks.
    Ryan

    Boater,
    I am not able to understand the scenario, but from what I understand you should be able to connect to. Could you explain?
    Goodluck,
    Alex(Arthur Samson)

  • I can no longer get my calendar to send a reminder e-mail for on a date in the future....alerts no problem

    I can no longer get my calendar to send a reminder e-mail for on a date in the future....alerts no problem

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'
    If that doesn't work then try closing the Mail app completely : from the home screen (i.e.not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Send alert to mail

    Hi to all,
    i have a require meant that i want give alert to mail if some event occur ..
    by using exception i am rising massage but i want send that massage to particular mail id how can i please glide me.....
    Thanks & Regards,
    Sridhar.

    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_mail.htm#i1001258

Maybe you are looking for