Send status mail on every fish passess or fails

Hi All,
I am using send mail option in FDM and it is working fine.
However, i want mail to be sent on each workflow status.
for instance - if import is sucessful, mail to be sent on this
- if import fails, failure notification mail with error log to be sent.
kindly let me know, how to get status on condition.
Edited by: Raj - on Apr 25, 2011 2:37 AM

You can use the fProcessStatus function as follows:
With API.MaintenanceMgr.fProcessStatus(API.POVMgr.PPOVLocation, API.POVMgr.PPOVCategory, API.POVMgr.PPOVPeriod)
     If .lngStatus=xx Then ' Search for enmProcessState in FDM Object Browser for xx values to compare
          ' Do something
     Else
          ' Do something else
     End If
End With
Set API.IntBlockMgr.IntegrationMgr.PobjIntegrate = Nothing
There are also Accelerators under Workflow / Process Management

Similar Messages

  • HT4865 How do I stop the system from sending e-mail notification every time i update icloud?

    How do I stop the system from sending e-mail notification every time i update icloud?

    Pages.  Every time I add new information to the program I get an e-mail asking me if I was the one logging on.  It is an annoyance.

  • Reports Sending E-Mail of Every Page

    Hello,
    I am having problem in sending each page of one oracle report to diffrent people. I can send all the pages by e-mail on Forms. i think pages-between trigger would help me somehow but i still do not have any idea. Could anyone help ome?

    There is a feature called bursting which may help you.
    For details, look into the docs (distribution guide) or ask your quetion in the reports forum.

  • 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

  • On my iPhone and iPad sending e-mail is frozen; "content to server failed"

    On both my iPhone and iPad I am getting an error message when trying to send mail (att.net/yahoo!) "A copy has been placed in your Outbox.  Sending the message content to server failed."  On my MacBook yesterday I tried to send an e-mail message to 300 recipient and it got rejected and I have a feeling this tied something up but I have not been able to untie.  Any help would be most appreciated.

    look at the more like this section ----------------------------------------------->  to find your solution.

  • How can we send status to the LMS other than pass/fail, complete/incomplete?

    We have a Captivate module generated as SCORM 1.2 which passes Complete/Incomplete to the LMS. The quiz is at the end of the module - if the user exits the module prior to attempting the quiz, we would like to send 'Not Evaluated' back to the LMS rather than Incomplete (which happens today).
    Module is developed using Captivate 7.0.1
    Does anyone have a solution for this problem?

    Hi,
    You should do it using the FM for FTP´ing the files, check the link bellow:
    http://www.members.tripod.com/abap4/FTP_Using_SAP_Functions.html
    Hope this helps!!!
    Gabriel P.

  • Can't send a mail

    Hi, I'm a user from méxico and this morrning I tried to send my location via mail to a friend and i couldn' do it. i thought the trouble was in the app called send my lovation, so I didn't pay much attention to that, but this evening I tried to send a mail to a friend and couldn't do it. the mail stays in my outbox and the phone has been trying to send the mail since every 15 minutes or so, but I always get the yellow triangle saying there has been an error while trying to send the mail. I really need to send this mail, please help!

    I was having this same problem. I checked my settings w/my ISP and they did not change. Decided to delete the account and start over but my phone keeps locking up...it has been saying "removing account" for over an hour now. I have rebooted the phone twice and it still won't delete the account. So now I have now no email on my phone - what is going on Palm and what are you going to do to fix it??????

  • Mail crashes every time it opens - after large send failed once

    Issue: Mail crashes every time it opens. Problem started after a failed send on an e-mail with multiple photos attached. Can't see anything in outbox to delete.
    Background: Family member initiated mail of several large photos from within iPhoto. Mail tried to send through Google mail and received error return that file was too large. Now every time Mail client opens - it crashes. Can't find anything in Outbox to delete. Tried deleting the Google Mail account and then reinstalling it. Still crashes.
    System: A clean iMac - only a few months old with all updates on OS current. No 3rd party software or anything tricky.
    Question: What to do next? Is there a place to look and delete this hung outbound e-mail at the system level - since don't see it in outbox. Should I move next to delete the Mail application and reinstall it? If so, is there another file to delete that might be holding this hung file or status?
    Thanks

    Hi usaf890, and a warm welcome to the forums!
    Could be many things, we should start with this for safety...
    "Try Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    Then I'd backup your whole Mail folder, by right clicking on it in the Finder, then choose Archive/Compress.
    Right click on that Mail folder, choose archive, you'll get everything in the folder, and the folder itself in a file called Mail.zip, move it to a safe place... only the plist is separate.
    Quit Mail, then In your home folder, try moving this +folder & file+ to the Desktop then reboot...
    /Users/YourUserName/Library/Caches/Mail
    Move to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    If you wish to try the file angle, look in the finder for...
    /Users/YourUserName/Library/Mail/type&name of [email protected]/Sent Messages.mbox/Messages/
    then files like...
    7404.emlx
    Size or date may be a clue.

  • HT5312 Every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.

    Why is it, every time I click send e-mail for instructions on resetting my security questions, I don't get them? I just want to play minecraft. I already put $15 in my balance and I can't even spend it. Thank you for taking the time to read this.

    Either they're being sent to a different email address, or got caught in a spam filter, or something's wrong at Apple's end. If you can't find the email, you need to ask Apple to reset your security questions, which can be done by phoning AppleCare and asking for the Account Security team, or clicking here and picking a method, or if your country isn't listed in either article, filling out and submitting this form.
    (105723)

  • I am using Endorange as my main mail, but every time i wannt to send open pdf docement as e-mail my computer comes up with other mail softwere called mail, how do I chance that?

    I am using Endorange as my main mail, but every time i wannt to send open pdf docement as e-mail my computer comes up with other mail softwere called mail, how do I chance that?

    I am using Endorange as my main mail, but every time i wannt to send open pdf docement as e-mail my computer comes up with other mail softwere called mail, how do I chance that?

  • HT1349 My ipad2 closes the mail app while I am typing an email to send. Happens nearly every time.

    My ipad2 closes the mail app while I am typing an email to send. Happens nearly every time.

    First of all quit the mail app and all of the apps that have frozen. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on the mail app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the app. Close the other apps the same way. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    What I would try next is to delete the email on the server in your web mail account using Safari or another browser. Then when you go back to the mail app - if it opens ok - and the if mesaage is still there in the inbox - swipe on the mesaage - left to right - in the list on the left side - and hopefully the red delete button will pop up. Hit delete to remove it from the inbox. Do the same thing when you go to your trash folder in that email account - swipe the message to delete it.

  • ChaRM sending e-mail at user status confirmed

    Desired task:
    Sending e-mails in change management process with condition configuration using user status
    Partially solution:
    Define actions and conditions in ppf with "processing time" = "processing using selection report" and execute these action by report rsppfprocess, BUT
    Problem:
    If you would like to send an e-mail after action "confirm change", the described solution doesn't work, because in Solution Manager status will be change within method call HF_SET_STATUS and not directly like in Service Desk or other CRM Transactions.
    Question:
    Is there any other solution to send emails in Change Szenario? Probably in Alert Management or 'Actions in Change Request Management / BAdI-Extension Implementation?
    Thanks for any hints.
    Best regards,
    Stephan

    Hi,
    I am glad to hear it is possible.
    Yes I created the action under SDCR
    The Partner-Dependent is checked and Partner Function is given as SDCR0002(Change Manager) under Partner Determination for this action.
    What action merging did you use? I have tried u201CSet Highest Number of Processed Actionsu201D and u201CMax. 1 Unprocessed Action for Each Action Definitionu201D
    But it is still not working.
    In the message I select the Transaction Data tab, then the Actions tab, and check if the action is triggered. I do not see my action appearing here.

  • What is up with mail? Every time I go to mail it spends 15  secs checking. Instead of just sending it sends and checks every time. Holy smokes it is slow.p

    WWhy does mail check every time I go to it?

    Would you rather upgrade to windows 8, BlackBerry or Android phones? Do you honestly think those don't have problems?
    You waited a lot and chose to buy an early production model. Mistakes happen all the time a factory retools and workers relearn new skills necessary to keep US happy.
    Exercise your rights.... Send it back for a new one. 
    In any case, I feel your frustration. Btw, I love Apple but use a Blackberry

  • Scheduling a job to send e-mails in Oracle 10g

    Hi,
    Our application has a scheduled job that runs every hour to fetch data from another application. The SP which this job calls has logic to send e-mails at various stages of the job execution about the status of the job execution. Sometimes, the e-mails are failing due to an SMTP transient error on the server, and thus the job hangs in the RUNNING state.
    We were asked to bypass sending the e-mails, and implement that as a separate job. But the problem is that the e-mails are triggered based on some conditions during the main job's execution. So, how is it possible that I can implement just the e-mail thing as a separate job.
    Our main job is like below....
    1) Job starts -> Send e-mail#1 that the feed started
    2) Extract completed and some tables updated-> Send e-mail#2
    3) Load to few other tables happened
    4) Final Merge to production tables completed -> Send email#3 that the feed is over.
    Now, since email #1,2,3 are based on conditional check, how feasible is it to implement these are separate jobs?
    Is there any other way that runs the main job even though sending e-mails gets stuck somewhere?
    Any help is highly appreciated.
    Regards,
    Ranganath

    Hi,
    Can I do something like below. My main job calls a procedure (PRC_SEND_NOTIFICATION) which takes 4 parameters and sends out the e-mails. Now I'm trying to implement sending out the e-mails as a separate job.
    -- Run the below Procedure in place of PRC_SEND_NOTIFICATION in the main job.
    PRC_EMAIL_JOB ('PRC_SEND_NOTIFICATION (param1,param2,param3,param4)' );
    -- Inside the PRC_EMAIL_JOB SP submit the procedure as a job
    CREATE OR REPLACE PROCEDURE PRC_EMAIL_JOB (PROC_NAME IN VARCHAR2)
    IS
    BEGIN
    DBMS_SCHEDULER.CREATE_JOB (
    job_name => 'Send Email',
    job_type => 'STORED_PROCEDURE',
    job_action =>PROC_NAME || ';', -- What to run
    start_date => SYSDATE, -- Start right away
    repeat_interval => NULL ,-- Run only once
    comments => 'Send an email',
    enabled => TRUE
    COMMIT;
    END;
    Does this new job get dropped as soon as it finishes (as the repeat interval is NULL). So when the main job runs again, this new job gets created again and runs. This is my understanding. Correct me if I'm wrong. Any help is highly appreciated.
    Regards,
    Ranganath

  • Send reminder mails to the outlook

    Hi everyone,
    I have a scenario where i have a modeled deadline branch where if the deadline is missed i am sending recursive mails to the recipients using Rule in an activity .
    In the Rule i am using FM SO_NEW_DOCUMENT_ATT_SEND_API1 for sending mails . I need to send mails 3 times for every 5 mins . for that i have created a requested start deadline with time as 5 min .
    and a workflow element status with initial value as 0 . and  in the same branch i have used a container operation step where i am incrementing my status value by 1.
    and loop until condition is set to &status& = 3.
    i am receiving the reminder mail only once in my outlook and the status is set to 1.
    it is not getting incremented again . and hence no second reminder mails are coming in my outlook.
    Can any one please help .?
    Thanks !!

    I need to send mails 3 times for every 5 mins . for that
    i have created a requested start deadline with time as 5 min .
    I assume you have desigened the workflow template as below.
    1. A dialog step where the workitem will be sent for apprval.
    2. For the above dialog step you have defined both Requested start and Latest end of Modelled Deadline .
    3. In the newly generated branch you have inserted a loop and inside a loop you have defined a step to send mails. End condition for the loop is COUNT = 3.
    IF the case is like above then you modify the workflow design as below.
    1. Instead of inserting a loop in the deadline brach , you define it outside the deadline branch.
    2. Both Dialog workitem and deadline brach and its step must be included inside one loop.
    3. Now for the whole loop you deifine a condition in a such a way that the workitem should not miss the deadline and it should be in the completed status then only you will end the whole loop other wise you keep on looping it .
    I hope if you remodify the workflow as above i hope it works...

Maybe you are looking for