How to extend notification method to os command in OEM

Hi All,
I am using OEM 12c R1 and want to use an os command as notification method. I wrote a shell script and placed the script on the machine where I have installed OEM. Now I provided the script with its absolute path in the text field of os command and tried creating a new notification method however while testing I got the following error
"Test failed: Error calling /<source_folder>/alertlog.sh: Cannot run program "/<source_folder>/alertlog.sh": java.io.IOException: error=2, No such file or directory (<host_name>:<port>_Management_Service)"
Can anyone please tell me where I should keep the os script to get read and run by oms? or what could be the correct steps of extending nitification methos as os command?
Thanks in Advance!!

From:
http://docs.oracle.com/cd/E25054_01/doc.1111/e24473/notification.htm#autoId12
"You must deploy the OS Command or Script on each Management Service host machine that connects to the Management Repository. The OS Command is run as the user who started the Management Service.
The OS Command or Script should be deployed on the same location on each Management Service host machine. The OS Command should be an absolute path, for example, /u1/bin/logSeverity.sh. The command is run by the user who started the Management Service."

Similar Messages

  • Export my configuration of Custom Notification Method (Simple OS Command)

    HI experts
    Do we have a method to export the configurationand setttings perofrmed on the Oracle Oem configuratio ?
    So i can avoid to kill my mouse and my time.

    You could checkout the documentation of EMCLI, which is a command line interface to execute OEM GC tasks outside of the GUI.
    Checkout http://download.oracle.com/docs/cd/B16240_01/doc/em.102/b40004/toc.htm
    Regards
    Rob

  • Email of receiver of an Extended Notification email.

    Dear all.
    I have been looking around the documentation and cannot find any details on this.
    I am in doubt how the Extended Notifications determines the email of the receiver of a workitem. Does it take it from the user's data ( the email address you can see in transaction SU01) or does it find it in HR data (Infotype 105)?
    Any help is very much appreciated.
    Lande

    Here is the Order
    ·        Central user management i.e. SU01
    ·        Address that is specified in SAPoffice as the address for automatic forwarding
    ·        HR user management (including organizational management) i.e. infotype 0105 subtype 0010
    Here is the link:
    under Tab Page Recipient:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/ee/a80b404b2b1e07e10000000a1550b0/frameset.htm

  • Extended Notifications: how to change the URL link

    Hello,
    We are on ECC6. We use Extended Notifications to alert users to the presence of new workitems, but when they click on the link to execute the workitem, they're presented with the login screen.
    We have been able to send emails from workflow which contain a link that does not ask for a login so I know which URL to use. The problem is, how can you set the URL in Extended Notifications? How does it decide which URL to use? I've tried changing a few General Settings in SWNCONFIG, none of them made a difference.
    Any hints, tips, suggestions would be appreciated.
    regards
    Rick Bakker
    Hanabi Technology

    Hi Rick,
    I wrote my own notification handler to solved an link issue (wanted to point to a specific iView url). I changed the notification handler via Category and double clicking on the category:
    Scenario                        WORKFLOW                       
    Category                        ZCATEGORY                    
    Description                    Adobe Administrator                            
    Requested Reliability          0 Undefined                                    
    Collective Message             A Grouping with Othe                           
    Notification Priority          5 Medium                                       
                                   Delete After Send                              
    Category Handler               CL_SWN_CATEGORY                                
    Notification Handler           ZCL_SWN_NOTIF_WF                          
    Handler for User               CL_SWN_USER_STD                                
    Have a look at some of the methods:
    LOAD_INSTANCE_WA
    ADD_LINKS_ACTION
    ADD_LINK_ACTION_DISPLAY
    ADD_LINK_ACTION_EXECUTE
    ADD_LINK_ACTION_DECISION
    CREATE_ACTION_ATTACHMENT
    CREATE_INBOX_ATTACHMENT
    Hope it helps you understand how the link is created.

  • Problem when trying to execute OS Command in Notification Method

    Hi gurus,
    I am using EMGC 10.2.0.2 on windows XP, I have created a Notification method with a OS Command which is a batch file which intern calls a perl script to send a mail notification. When there is an alert the Alert History logs says that 1 OS Command is executed and show s the bat file name, but I am not getting any mail as expected. I have given the absolute path for bat file. What could be the reason for this and where can I find the logs for this knowing the status of OS command execution details.
    Thanks,
    Ashok Chava

    Hi bazza,
    My perl script is running fine in isolation no issues with that. I thought it may be becasue of the some time out issues then I have increased time from 30 second to 120 seconds by changing the property value "em.notification.os_cmd_timeout" in emoms.properties but with out any success. I dont have any logging messages put in the perl script I will check with that also. I have checked bat file by giving some logging messages the bat file eexcuting properly.
    Thanks,
    Ashok Chava.

  • Issue with SWN_SELSEN report in Extended Notification - Re

    All,
    I am working on ECC 6.0 and am using Extended Notif for Outlook mail generation. It's been working fine except that recently we have noticed that when a user goes to his witem thru' outlook mail and does nothing and comes out, then the witem is in IN PROCESS state. Next time when SWN_SELSEN is run, this is picking up this IN PROCESS witems and generating another Outlook mail.
    Is this the std. behavior or any control is there where we can control which witems are to be picked up.
    Anybody had this issue and any solutions or ideas will be a great help for me. Thanks in advance..
    Regards,
    venu

    Hello,
    How do you have your Extended Notifications set up now - that it just tells a user once that they have a workitem and never again?
    What is the status before they access it, READY?
    regards
    Rick Bakker
    Hanabi Technology

  • Extended Notifications

    Hi WF Guys,
      I am working on ECC 5.0.I want to know whether we can use Extended Notifications in this version.If so plz tell me how to configure this using Tcode SWNCONFIG.If any one has a document for this plz send it to my mail id
    <b>[email protected]</b>
    Regards,
    sapient

    step by step approach:
    http://help.sap.com/saphelp_nw04/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm
    Also chek :
    /people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
    hope it will help you.
    Reward if it is useful.
    Sunil

  • Extended Notifications - Workflow Inbox link not working

    Hi,
    I have configured SWNCONFIG to send Extended Notifications. E-mails are being sent but the link for Workflow Inbox (configured in Subscription Settings - SHOW_INBOX_AS = LINK1) only takes to the enterprise portal home page not the inbox. I have search to have this fixed but with no luck. Does anyone know how to solve this?
    Thanks in advance.

    I have follow the configuration in this links:
    Configuring Notifications (View Cluster) (SAP Library - Embedded Processes (SAP Business Workflow))
    Subscription (SAP Library - Embedded Processes (SAP Business Workflow))
    It does not refer any specific link to the inbox. Only to activate the service: default_host  → sap  → bc  → workflow → shortcut
    And to use SHOW_INBOX_AS = LINK1 and define the portal url in parameter WG_HOST in General Settings. In addition the url while navigating in the portal is always the same (e.g either on the home page or in the workflow inbox), so I guess its the system job to re-direct to the Workflow Inbox, but this does not seem to be happening for some reason. 

  • Extended Notifications with Desicion Comments

    Hi all,
    We have a requirement to have a prompt for user comments when ever user takes a decision in the Extended notifications.
    The user will receive a mail to his outlook with the approve and reject links and we want to have some setup to ask the user to enter comments while he either approves or rejects the work item..
    Is there any way to do this..
    Appreciate your time..
    Thanks,
    Sethu

    I think you can use the following method
    DATA:
          COMMENT TYPE TSYS1-DIFF OCCURS 0.
    CALL FUNCTION 'CATSXT_SIMPLE_TEXT_EDITOR'
      EXPORTING
        im_title             = 'Add Investigation Details'(002)
       IM_DISPLAY_MODE       = ' '
       IM_START_COLUMN       = 30
       IM_START_ROW          = 20
      changing
        ch_text               = comment
      SWC_SET_TABLE CONTAINER 'Comment' COMMENT.
    Thanks
    Arghadip

  • Extended Notifications for UWL

    Hi gurus,
    I am trying to configure extended notifications to work with UWL. Problem is the notifications are not saved or sent by SWN_SELSEN. 
    Our SAP system is Netweaver 7.0 EhP 1.
    I followed instructions found here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/ad/d64842d59fb430e10000000a155106/content.htm
    However, we already had configured the workflow to use extended notifications with SAPGUI. So when I ran SWN_SELSEN, the old notification still showed up, but not the UWL version. So I deleted the schedule for the old configuration, thinking there might be interference. Again I  created a work item and ran SWN_SELSEN, this time no notifications saved or sent.   I found that I could run RSWNUWLSEL and the notification is saved, but not sent.
    Any idea what the problem might be?
    Also I noticed that in the Worflow Book (2nd ed.) it shows to update the General Settings in SWNCONFIG with a url for the UWL. But I don't see that instruction in the SAP Help? Do I still need to do that? If so, is that url a portal quicklink to the UWL iView?
    For what it's worth, here is what we are trying to accomplish:
    1) the links in the email should take the user to the UWL, not SAPGUI
    2) for a user decision, currently the user has to login with their backend system password, which may not be the same as their network password; I'm assuming that if the links now go to the UWL, it will require the user's portal id/password - which is synchronized with their network password, and that is what we want.
    So if just putting the UWL url in the general settings will do the job, then why do I need all that stuff in the SAP Help (RSWNUWLSEL, etc.) anyway?
    Any enlightenment would be appreciated!
    Thanks,
    Margaret

    Hi ysr,
    It sounds like you are asking two different questions ...
    1) does using extended notifications necessarily require use of portal / UWL?
    answer: No. In fact out of the box, (in our system which is 7.0 EhP1), extended notifications will generate links that go to webgui (SAPGUI for HTML) or SAPGUI.  To make it work for portal is what my question is about.
    2) you want to  'send the hyper link in the mails to clients'.
    answer: if by clients,  you mean users outside your system, you will have to do something other than out-of-the-box.  Normally with workflow, execution of the links embedded n the email will require the person to have a logon to the SAP system. Perhaps if you have clients with access to the portal but not the backend, it might work if you configure extended notifications to work with UWL. The client would have to have the UWL role in the portal but obviously without backend access, they would not be executing anything on your SAP system, right? But for displaying information to them that might be useful.
    of course another route would be to code completely custom methods to send the email which would include constructed links going wherever you want ... but that would be a lot of work!  (and out of the realm of SAP Business Workflow)
    Hope that helps!
    Margaret

  • Extended notifications problem

    Hi experts,
    I am trying to configure extended notifications for around 7 to 8 different taks
    pertaining to different workflows.
    I could successfully do it for 1 task.
    Then after successful testing I did add more filters to the same configuration
    under same subscription and delivery.
    I even created new schedules for the new filters. But unfortunately it is not working.
    I could debug the standard program SWN_SELSEN and found that the particular WAPI call to
    select the delta Work Items from SWWWIHEAD and SWWWIHIST is failing because of some
    timestamp mismatch.
    Can you please provide me some help regarding this ?
    Thanks,
    Deb

    Hi Purvesh,
    You can find the step by step procdure in the following blog.
    How to get Work items @ your Outlook Inbox
    You can find all the definitions and theories in the SAP Help link provided in the same blog.
    I initially followed the above and could successfully do it for 1 task.
    However, I was stuck in achieving the same for multiple task belonging to different workflows.
    Here is how I did it:
    1)  Do the configuration in SWNCONFIG as per the blog and SAP Help
         A)  Create your own delivery schdule
         B)  Create your own subscription using the above delivery schedule
         C)  Create your own filters
         D)  Create your own selection schedule
    2) Then run the report SWN_SELSEN to do the actual selection and delivery based on the schedules    you created.
    The key is creating the filters. Follow the SAP Help link closely and try it. If you face any problems
    the please let me know.
    Please award appropriate points.
    Thanks & Regards
    Deb
    Edited by: debabrata mohanty on Dec 10, 2008 11:26 AM

  • Extended notifications: SWN_TEST_REMAP1

    has anyone come across this program? in configuring extended notifications there is a whole list of test programs but i haven't seen any guidance on when and how to run them. this one results in...nothing. is this a true negative or a false negative and how can i get to a true positive here?

    Hello experts,
    Thanks for your answers, it helped me.
    However, I still seem to have an issue:
    1) I set in swnconfig that I wanted to send mail (one mail containing mulitple notifications) for ALL work items (including these which have already been sent before): I set in my settings that I wanted ALL_FULL notifications to be sent (instead of choosing ALL_DELTA).
    However, if notifications have already been sent last time the job run, they are not part of the next mails (next job run).
    Do you know how this is possible?
    2) I chose the option "link2" to display the sap gui for windows. However when I receive an email, upon clicking on the "display link", internet explorer is trying to open a URL. Do you know how I can fix that problem?
    I saw that I needed to enter a "company logon id" in the subscription settings but I didn't because I do not know what it is and what is will be used for. Can that be the reason for the issue or do you have another Idea?
    Thanks for your help on this;
    Kind regards,
    Alice
    Edited by: Alice Jockin on Feb 28, 2011 6:11 PM

  • Extended notifications: SWN_SELSEN

    Hello SolMan experts,
    I configured the extended notifications for work items in solman using TA SWNCONFIG (as suggested under sap library and in this forum).
    I completed all steps successfully.
    However, when I run the program SWN_SELSEN, notifications are collected but no "send job" is prepared.
    TA SCOT is well configured, TA SWNCONFIG is well configured as well.
    When I check SLG1, everything is green (including the selection job run and the delivery job); only one element appears as yellow "could not determine an agent for work item" - error swn156.
    Does someone know how to solve this problem?
    Thanks!
    Kind regards,
    Alice

    Hello experts,
    Thanks for your answers, it helped me.
    However, I still seem to have an issue:
    1) I set in swnconfig that I wanted to send mail (one mail containing mulitple notifications) for ALL work items (including these which have already been sent before): I set in my settings that I wanted ALL_FULL notifications to be sent (instead of choosing ALL_DELTA).
    However, if notifications have already been sent last time the job run, they are not part of the next mails (next job run).
    Do you know how this is possible?
    2) I chose the option "link2" to display the sap gui for windows. However when I receive an email, upon clicking on the "display link", internet explorer is trying to open a URL. Do you know how I can fix that problem?
    I saw that I needed to enter a "company logon id" in the subscription settings but I didn't because I do not know what it is and what is will be used for. Can that be the reason for the issue or do you have another Idea?
    Thanks for your help on this;
    Kind regards,
    Alice
    Edited by: Alice Jockin on Feb 28, 2011 6:11 PM

  • Extended notifications & placing a link to the mail

    Hi,
    We have extended notifications running in our system with basically the following relevant settings:
    -one message contains multiple items
    -HTML message
    I have configured the text of the mail to meet our requirements and it works just fine, and now I would like to enhance the text even more. I would like to include a link to the UWL to the text. So for example the text would be:
    You have new work items in <u>universal worklist.</u> (where the phrase 'universal worklist' would be a link and by pressing it you could access the UWL).
    How to do this? I tried to make this by using "a href" tag, but then the result was that the the mail text just included the whole "a ref" thing - it didn't create a link from it.

    Sorry, I only found this one (btw very good) blog regarding extended notifications:
    /people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
    ...and it doesn't really answer my question.
    It is clear for me about how to create a link for executing each individual item, but this is not required. I just wonder that how can I add a link to the custom dialog text that I have maintained with SE61.
    Or is there some other way to handle this? I would also be happy to some other solution. (The only thing that I would not be happy is that I would need to include the whole long URL address of the UWL to the mail in order that users could easily access UWL through the mail.)

  • Extended Notifications: Message not sent

    Hi Folks
    I had configured the extended notifications in the development system and it was working perfactly. Then I transported the customizing request for the above config to Test system.
    I have scheduled the job for SCOT and SWN_SELSEN.
    SWN_SELSEN do select the notifications to be sent but it does not send any messages.
    I have checked the application log and it displays a message SWN 032 ERROR while creating a message.
    Waiting for your expert opinion on how to resolve this issue.
    Regards
    Waz

    Hi Folks
    Thanx for sending me your answers. I found the solution to this.
    The solution lies in the activation of some services in SICF.
    List of services can be found at the following link in the Pre-requisites section:
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/27/9a793426cea749b18fa409565c3dee/content.htm
    Thanks & Regards
    Waz

Maybe you are looking for

  • What is difference between Documanage and Documaker?

    Guys.. We are new to ECM, one of our customer is using both Documaker(Distributed) and Documanage for their vendor document management. So just I would like to know what would be the reason to use both? Instead can they use only documaker? Thanks in

  • Computer sees monitor-but monitor does not see computer.

    I have a MacBookPro with the older 29 pin DVI out. I own an 8.4" HD monitor for video production and want to use it for editing. I am trying to get my Marshall V-R84DP-HD monitor to see the computer and it does not recognize it. I have Mac OS X Versi

  • Weblogic deployment errors

    When I try to deploy to a (successfully) tested weblogic connection I get the following: Sending EAR file to remote WebLogic server... C:\jdeveloper\jdk\jre\bin\javaw.exe -Ddeploy.debug=true -classpath C:\bea\weblogic700\server\lib\weblogic.jar weblo

  • Parent & Child Numbering

    Hey all- I'm trying to make a list like this: 1. 2.a. 2.b. 3. 4. etc... But what I get instead is: 1. 1.a. 2. or 1. a. 2. etc.. I have tried everything. Is there no way to do this type of automatic lettering in Pages 2.0.2? It seems like an obvious c

  • Why cannot any longer do "slow motion" gesture with 2 fingers of videos in iPhoto 9.2

    why cannot any longer do "slow motion" gesture with 2 fingers of videos in iPhoto 9.2 under lion ??? anyone knows why ? bug or feature...