Extended Notifications - Custom Scenario

Hello all,
i want to create a custom scenario. When i start transaction swnconfig and move to the scenario view and click new entry i have to select a category. The categories are linked to the scenarios already existing. But my new sceanrio has no category assigned yet so im stuck...
I need a new sceanrio, as i have to create a new handler class and dont want to interfere with the standard sceanrio "STANDARD".
Any ideas?
regards,
Markus

Hello Jocelyn,
thx for the quick answer. The problem i have is, when i do click "New entries" and add a new category i get an error.
E.g.: I add as a new scenario "ZNEWSCEN". As the new category i add "ZNEWCAT". When i press enter i get an error message "Entry ZNEWSCEN ZNEWCAT doesnt exists in SWN_CATEGORY."
When i use transaction SWNADMIN to create a new category, this will be created for the standard scenario "Workflow".... u see, im stuck...
Why i need a new scenario is because we use a personal profile for each employee (custom ESS sceanrio) where the employee can determin whether he want to get notification emails or not. I found the Method "IF_SWN_SCENARIO~RETRIEVE_NOTIFICATIONS" of the respective handler class perfect for this issue. All i have to do there is to determine the actual agent and check whether he want to receive a notification or not. If yes, the notification will be send back to the method-caller, if not, then not.
regards,
Markus
P.S.: we are on NW04 SP17

Similar Messages

  • Function code for notification in a custom scenario

    Hi,
    Does anyone know the activity code or function code for a notification that needs to be sent to the organiser of a training event if the maximum capacity of the event is exceeded, i.e. the attendee goes on the waiting list.
    There seems to be no standard activity type which gets triggered the moment the max. capacity of the training event is exceeded.(unlike BOKP)
    Does anyone know the workaround for this ?
    As far as I know you cannot create your own activity based on your custom scenario.
    Hence how to handle this ?

    You can use CRM_ORDER_MAINTAIN and populate the parameter IT_SERVICE_OS
    or use BAPI_OPPORTUNITY_CHANGEMULTI and populate the parameter SERVICE_OS.
    BR,
    Florin

  • Extended Notification for UWL

    Hi,
    We have implemented performance management and implemented extended notification using UWL to get outlook email. Every thing is working fine the only problem is - whenever we get an email the FROM person is the person who has configured the system. Ideally the FROM person in the email is the one who has generated the task.
    Please let me know what kind of changes we need to make to fix this so that the person who has created the task will be used in the FROM of the emial
    Thanks,

    Hi,
    Check from the requestor if it just enough to schedule the SWN_SELSEN report (that is sending the emails) to be executed for example by the WF-BATCH user. This is a really common scenario what I've seen. Give some nice name (such as "SAP Workflow System" for this system user, and your emails will look already better with 5 minutes work.
    If you really want the work item creator as the sender, I don't think that it will be straightforward. Maybe you can do something in SWNCONFIG General settings (SENDER_NAME_INT, SENDER_ADDR_INT, etc.), and doing some kind of custom handler? Not sure about this.  Just one thing to pay attention: some of your work items might be technically created by the WF-BATCH user. Then your emails will have this sender in any case.
    Regards,
    Karri

  • 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.

  • 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 link

    Dear Expert,
    I also have a question regarding to the Extended notifications link.
    My customer want to use the Extended notifications link with subscription parameter email as HTML, one msg per category and including HTTP link to open SBWP in SAPGUI for windows.
    The problem is, that if saplogon is configured with group/server selection instead of an ordinary user specific application server entry, the link to the inbox received in the mail does not work. We get
    an error: "Logon to SAP System faild. The system description '1. RPR [ERP Production system]' cannot be found in the system list. Make sure that saplogon.ini exists and choose an existing system description in the system list.
    My customer has changed the parameter "logon_id" in trx. SWNADMIN so now the
    field "System Description" is correct filled when he accept the error message - but still the link does not end up in the small logon window.
    Could you provide some suggestion?
    Many thanks,
    Perry Song

    Hi,
    Can you check the general settings in SWNCONFIG.
    Please check the below entries for general settings.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d5/581ee8d56f1247bf34cfcd66d16d81/frameset.htm
    Regards
    SM Nizamudeen

  • Extended notifications in Workflow

    Has anybody worked on Extended Notifications in workflow? Any good documents on Extended Notifications.
    Thanks,
    Yogesh

    Hello Yogesh,
    What is your scenario in SRM ?
    <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/51/3c3d3828135856e10000009b38f842/frameset.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/51/3c3d3828135856e10000009b38f842/frameset.htm</a>
    Regards,
    Masa

  • Extended notifications - SAP screen opens in little format

    Hi all,
    we're using extended notifications to warn users that they have unprocessed items in their workflow inbox, with a link in the mail to execute the workitem.
    Whenever a user clicks on the link, SAP asks for the password, and it opens, but with a very little screen. Is it possible that the screen which opens is in full format ?
    thnx in advance !

    yeah, Martin, that's been a requirement from a customer, which I have solved by copying the RSWUWFML2 and set that option on the parameter for the function call that creates the shortcut (there are two of them in the coding).
    BR Florin
    P.S.: Still that window is somewhat opened in background (behind a current window). This <i>cannot</i> be solved.
    Message was edited by:
            Florin Wach
    P.P.S.: Here's some excerpt from that coding
    *** Data field   window_size  is defined as follow
    DATA: window_size   TYPE CHAR40.
    *** and filled with a drop down box using these values:
             REFRESH: vrm_values.
             vrm_value-key  = 'N'.
             vrm_value-text = 'Normal window'(901).
             APPEND vrm_value TO vrm_values.
             vrm_value-key  = 'M'.
             vrm_value-text = 'Maximized window'(902).
             APPEND vrm_value TO vrm_values.
    ***Which then is transposed into the following values:
    window_size = 'Normal Window'.
    window_size = 'Maximized'.
    *** Context: FORM create_shortcut_action
    *- create the shortcut as table
      CALL FUNCTION 'SWN_CREATE_SHORTCUT'
       EXPORTING
         i_transaction                 = '*RSWNWIEX'        "#EC NOTEXT
    *    I_REPORT                      =
    *    I_SYSTEM_COMMAND              =
         i_parameter                   = l_param
         i_saplogon_id                 = l_logon_id
         i_sysid                       = sy-sysid
    *    I_GUIPARM                     =
         i_user                        = p_user
         i_language                    = p_langu
         i_windowsize                  = window_size        "#EC NOTEXT
    *    I_TITLE                       =
         i_custom                      = l_scrap
       IMPORTING
         shortcut_table                = pt_attach
    *    SHORTCUT_STRING               =
       EXCEPTIONS
    *    INCONSISTENT_PARAMETERS       = 1
         OTHERS                        = 1.
      IF sy-subrc <> 0.
        REFRESH pt_attach.
        EXIT.
      ENDIF.
    *** Same thing on form FORM create_shortcut_inbox
    Message was edited by:
            Florin Wach
    Message was edited by:
            Florin Wach

  • 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

  • Extended Notification for Workflow

    Hi,
    I need to know what are all configurations have to be done in tcode SWNCONFIG for sending the notification to e-mail or SMS.
    I need sample scenario.
    Can anyone send me step by step procedure ?

    Hi MB,
    The extended notification configuration is explained with details in SAP library. I have to admit that the documentation is not very clear, and there are even some small "mistakes", but you should just try to follow it.
    Anyhow, actually it is much easier to do the configuration with transaction SWNADMIN (if the WAS environment is properly configured and you are able to use BSP applications). It is really straightforward to use. Configure extended notifications first with SWNADMIN, and then if you have to achieve something special (for example if you want to change the texts of the notification, etc.) you can do the enhancements to your scenario with SWNCONFIG.
    Regards,
    Karri

  • Extended notification: Filter more Tasks

    Hi,
    I am using the extended notification. I have already a filter for one task and know how to add some entries. Is there also the possibility working to use wildcards like TS000*? Is it possible?
    thanks, Vanessa

    Did you (or has someone else?) tried to use task groups (object type TG)? If that worked, you could group your tasks into one task group, and use that group in SWNCONFIG, etc.
    In general I would perhaps avoid using wildcards even if they worked (or at least be extra careful with them). Perhaps you could make it work now (=it selects only the tasks that you intended), but you will never know what happens in the future: someone (or SAP) creates new tasks, which fits into your wildcard criteria, and you users will be getting some notifications that they are not supposed to get (this is especially valid concern if you would be using the custom created tasks "TS9*" in your filter).
    Kind regards,
    Karri

  • Extended notification and deadline monitoring

    We are using extended notification to deliver new and changed workitem by email.  Now we want to update some workflow approval tasks to add deadline notification.  In SWU3 workflow customizing, we had setup "Schedule Background Job for Deadline Monitoring" to run job RSWFSLSDLEX (previous version is SWWDHEX). 
    My question: if there is some outstanding workflow task meet the deadline, will the notification email sent out by job RSWFSLSDLEX or extended notification report SWN_SELSEN?  Thanks in advance.
    Regards,
    Donald

    Hi,
    The deadline monitoring job only creates additional workitems if a deadline is met, the sending of an email job retrieves workitems and sends them as email.
    Kind regards, Rob Dielemans

  • SWNCONFIG - Doubt in Extended Notifications

    Hi Experts,
    I followed this blog to send work items to the outlook.
    /people/saujanya.gn/blog/2006/12/19/how-to-get-work-items-your-outlook-inbox
    In SWNCONFIG -> General Settings -> WD_HOST, there is a option to embed the webdynpro application.
    whats the use of that? so we can design the webdynpro application and this webdynpro screen will reflected in the
    outlook?
    Please give your valuable inputs.
    Thanks,
    Vijay.

    It depends on your scenario. Let's say that you have travel expense approval tasks to be approved. Then you also have a web dynpro application for approving those travel expenses. It is possible to configure extended notification in a way that when you click the link in the email, the approval application will be launched. I have never done this, and I am not sure, if it will work easily or not. You can find some discussions in SDN by searching with the key word "WD_HOST". Check for example this:  Extended Notifcations not sent
    BUT it is not possible to just build some kind of general WD application to execute any approval task (or well, of course it is , but it would be quite difficult).
    Regards,
    Karri

  • PRD Cutover - Replace RSWUWFML2 with Extended Notif framework SWNADMIN

    Hi Folks,
    We are using RSWUWFML2 to send out notifications for workitems in Production (PRD) environment.
    Now we have implemented Extended Notification framework (SWNADMIN) in Dev and we are happy with what we learnt so decided to discontinue RSWUWFML2 in PROD and replace it with SWNADMIN config and job SWN_SELSEN.
    From what I understand when I configure SWNADMIN in PROD and the SWN_SELSEN is run first time, it will send out one notification to every user who has pending work-items in their Inbox eventhough these users may already have received notifications for such items from existing program RSWUWFML2.
    How do we do this cutover (discontinue RSWUWFML2 with extended notif framework)? How do I make sure that any work-items that were already accounted for send by RSWUWFML2 will not be considered by SWN_SELSEN?
    Can I maintain a cutoff date in one of the  extended notification tables?
    our SWNADMIN settings - All items - Once a day / New and changed work-items - Once every 30 mins,/ reminders for any pending work-items - individual notification for every workitem (after initial collective notification) until workitem is completed
    I will appreciate any help.
    Saurabh

    Whether this is the best approach or not this is what I did.
    In SWNADMIN I deleted the SAP entry ALL (under Selections) (ALL_FULL and ALL_DELTA).  I then created my own Selection and then specified the tasks to send notifications for.
    Once I had created the custom selection (ZSELECTION) two entries were created (viewable in SWNCONFIG)
    1) ZSELECTION_ALL
    2) ZSELECTION_DELTA
    I removed the schedule for ZSELECTION_ALL and only the schedule for Delta remained. This way only new and changed tasks will be included in the SWN_SELSEN program.
    Then you can migrate the tasks at your discretion and remove the entries from RSWUWFML2 batch job on a case by case basis.
    Additionally dont forget you should setup the batch job program to delete notifications as well: RSWNNOTIFDEL

Maybe you are looking for

  • Transferring contacts from iphone 4s to PC and then to new iphone5

    I am getting a new iphone 5 and want to transfer my contacts from my work phone iphone 4S to my PC . when I get new iphone 5 I will then transfer contacts from PC to iphone 5. Can you advise best way for me to do this?

  • Identical query, unusable performance in one environment - please help

    We are attempting to upgrade from 10.2.0.4 to 11.2.0.2 but one of our reporting queries is completely struggling (30 seconds in our current environment, 4000 seconds in our upgraded environment). Note that the caveat is that it will be very difficult

  • How to set pre-defined constants via FXML

    Does anymode know how to set a pre-defined constant like javafx.scene.control.Control.USE_PREF_SIZE via FXML when you create a node? Instead of using a fixed value like this    <Label text="Last Name:" minWidth="100" />I would like to use one of the

  • Installing JAXB on Solaris 8

    I apologize in advance for the long mail, it is so only to explain my problem clearly. I am having a problem in using xjc compiler on Solaris 8. I want to use JAXB on Solaris 8. For that required JWSDP, and for JWSDP I require Java2 and for installin

  • Importing Photos From iPhone to iPhoto - Lost Photos

    Just wanted to mention that I lost about 10 pictures during an import to iPhoto. When I plugged in the iPhone, iPhoto popped up, as normal. I chose "Select all" and when it was done, I chose "Delete files" from phone. Then the progress bar got stuck