Notification Task needs UME role and other value

Hi Experts,
I have a BPM notification task which needs to go to two UME roles (always same) and a UME user (dynamic selection).
This UME user is already stored in my context data.
However, when I configure the "To" tab of the notification task, how do I achive this.
If I select "Choose one or more UME principles" - I can assign the 2 UME roles.  But then how do I get that UME user?
Please help.
Thanks,
Rahim.

Hi Rahim,
You want to use an expression and one of the getPrincipal  built-in mapping functions.
How are your user id and role names formatted? If you have the full UME name you can use getPrincipal  or getPrincipals (for a list of values).
If you only have the name itself then you use getPrincipalByUniqueName - the identityType parameter is 1, 2 or 3 indicating whether its a user, group or role respectively.  That only returns a single value ... so if you need to process multiple values then suggest you create a EJB-based mapping function using the UMFactory API to do something similar.
Regards,
Jocelyn

Similar Messages

  • UME Role and Action

    I am developing a recursive tree in a Web Dynpro App. My tree has some nodes and subnodes. Under the subnodes i have documents. Depending to the permission of the users should be decided what can the user do with the documents, for example, create, upate, delete and so on. I need to check the authorization of users. I want to follow the conzept like the Web Dynpro tutorial RentCar APP with Actions und Permissions. If a user logs on, i can get his UME role and group. My question is: if it is possible to list the permissions behind of one specific role, which is assigned to the user or a group.
    In short I want to list the permissions and not only check if the user has it or not.
    Please help me.
    Regards
    Hairong Zhao

    Hi Sudhir,
    thank you very much for your quick answer. But it can't resolve our problem really.If we only use hasPermission() method to check if the user has right, the efford to check user in our case is too great .
    I try to describe our problem exactly. In our case, thers is possible that tausend documents can be attached to a node. we can't create a permission for every document. We create for every node a role, but for document we haven't role.  If we don't use the conzept with Actions and Permissions, how can we check the permission of the users, have you another idea?
    Regards,
    Hairong Zhao

  • Fetch PCD and UME roles and worksets

    Hello,
    I want  to fetch PCD and UME roles and worksets of the logged in user in a web dynpro java application. Can some one help ?
    Regards
    Mrinalini

    hi mriNalini
    check this wiki links for web dynpo java
    [Retrieving all iViews,pages,worksets from PCD |http://wiki.sdn.sap.com/wiki/display/WDJava/RetrievingalliViewsfromPCD]
    [web dynpro java home page wiki|http://wiki.sdn.sap.com/wiki/display/WDJava/WelcometoWebDynproJava%21]
    [Get Current Logged In User, using Web Dynpro for Java |http://wiki.sdn.sap.com/wiki/display/Snippets/GetCurrentLoggedInUser%2CusingWebDynprofor+Java]
    and
    [Fetching all the Portal Roles Assigned to the Current Logged in User, Using Web Dynpro for Java|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80ef07f8-3e6c-2b10-9cb7-81d4ef2e294a?QuickLink=index&overridelayout=true] ( document)
    hope these links solve your problem
    Regards,
    Maheshchandra

  • Need some roles and responsibilites in bi7

    can any one plz let me know the roles and responsibilities of an bi7 consultant in supporting ,implementation and upgrading from 3x to bi7.
    please consider it as ugrent issue.
    points must be assigned.
    regards,
    prav

    Here are few jobs:
    1) Convert Data Classes of InfoCubes. Set up a new data class .
    2) Pay attention to the naming convention. Execute the RSDG_DATCLS_ASSIGN report. 
    3) Run the report RSUPGRCHECK to activate objects. 
    4) Upgrading ABAP and JAVA in parallel which may cause issues. If there is no custom development on J2EE instance, it is recommended to drop the J2EE instance and re-install the latest J2EE instance after the upgrade. 
    5) Apply SAP OSS Notes if you include the Support Patch
    6)You may be included Basis Support Packages up to package level 6 (SAPKB70006) in the upgrade.  
    and there are lots of other stuff are which #$#$#$ me
    Atul

  • Report Internal Order needed - showing Plan and Budget Values?

    Hello,
    I want to create a report (Report Writer/Painter) which shows for example in one column the planned values and in another column the budget value of an order group.
    I know the standard reports S_ALR_87012993 - Orders: Actual/Plan/Variance and the other standard report S_ALR_87013019 - List: Budget/Actual/Commitments.
    My question: Is it possible at all to have these both values plan and budget by order/order group in one report? - Or it is not possbile because these values are stored in different tables and different libraries?
    If it is possible with Report Writer, I would be very glad - if not, is there any other chance (e.g. individual programmed report)?
    For any comments or hints thank you in advance.
    Regards,
    VCG

    HI,
    both are report painter reports for libraries 6O1 and 6O2 which are based on reporting tables CCSS and RWCOOM.
    Try to find all value fields that you need in 6O2 / RWCOOM as this is the "big brother" of 6O1/ CCSS.
    Best regards, Christian

  • When to set iwtUser-role and other per user schema using custom athentication?

    I have written my own authentication module and would like to set per user schema on login. Can I write iwtUser-role, iwtCalendarProvider-calendarUserPassword, etc from the authentication class?

    Yes you can, after the authentication is complete you get the profile object and then set whatever value you want to set for particular attributes you want to set ..

  • Help needed with MMAPI and print values to screen

    Hi,
    Using the RingToneConverter, I want to print out the values to the screen that the ring tone has. The values I want printed are actually any values at all! I am not picky at this point!
    Can anyone help with this? I would like it so that while the ringtone is playing the the "simple player", the values are somewhere on screen appearing. Or even after the song is finished, the values come up on screen.
    Thank you,
    Mike

    Sorry, i don't mean that..
    as i say, as3 read the data from file sorting like that:
    1,john,ny
    2,jessy,cal
    3,smith,nj
    how can i pass those values to the textboxes . id , name , address
    so i can go next and previous
    thank you again..

  • "Files that iWorks needs missing" message AND other error msg

    Hi-
    I had a crash of both my mac (it had to be replace) and the back up system. When I reinstalled iWorks, I still get the message "Files that iWorks needs are missing". When I proceed it launches the application, but when I tried to make some upgrade download, I got the message "The eligible Pages (Numbers, Keynote) application missing from the folder Applications" - it not the case - all three are there - any idea what may be going on there?

    As far as I know, the described message is not issued by iWork 's installer but by updaters.
    You must start with the iWork installer which will install Keynote v4.0, Numbers v1.0, Pages v3,0 in the folder "iWork '08' in the folder "Applications".
    It's only after that that you will be able to apply the updaters (those delivered last week).
    Yvan KOENIG (from FRANCE mercredi 11 février 2009 21:17:48)

  • Which Adobe Flash player do I need for Facebook and other videos to show up on screen with Windows 8

    PLEASE HELP ME WITH VIDEO FLASH PLAYER FOR WINDOWS 8 for FACEBOOK VIDEOS!

    The latest version of Adobe FlashPlayer can be obtained from here:
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFl ash
    You can check here what version of Flash player you actually have installed:  http://kb2.adobe.com/cps/155/tn_15507.html
    You can check here:  http://www.adobe.com/products/flash/about/  to see which version you should install for your Mac and OS. Note that version 10,1,102,64 is the last version available to PPC Mac users*. The latest version, 10.2.152.25, 10.3.x beta, or later, is for Intel Macs only, as Adobe no longer support the PPC platform. Version 11.0.1.152 is for Lion.
    * Unhelpfully, if you want the last version for PPC Macs, you need to go here:  http://kb2.adobe.com/cps/142/tn_14266.html  and scroll down to 'Archived Versions/Older Archives'. The first one on the list, Flash Player 10.1.102.64 is the one you download. More information here:  http://kb2.adobe.com/cps/838/cpsid_83808.html
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb2.adobe.com/cps/909/cpsid_90906.html
    and also that you follow the instructions closely, such as closing ALL applications first before installing. You must also carry out a permission repair after installing anything from Adobe.

  • Help needed with HostSsample and other question!

    Hi,
    I have *2 important* quetions :
    I'm trying to folow the instructions in the README file zipped in the EDK .
    There are some steps which demonstarte / shows how to create , import , deploy etc , a plug in ( DemoSample ).
    I got to the part in this file which guides you how to add a target to the EM.
    I'm talking about the section after the plug in was created ( successfuly ) , imported , deployed.
    Now, I want to add a target as it's written
    " ... via the EM console ...
    1. Set up ... Add Target ..
    2. Select " Add Non Host .."
    3. Select Discover DemoHost sample " ..
    untill now, everything just worked fine. but when after the "Click Add guided discovery " ..
    I expected to see a page in the browser which shows me something , ( I don't know what- it's the first time I got to this stage ..)
    but i got blank page- nothing to see !!
    Any idea what is wrong?
    2. I already asked this, but since no one answered it yet, and IT IS URGENT to me ,I'll ask it again:
    I want to create a plug in from a CEP ( Complex Event Proseesor ) . In the plugin.xml file I have to define a ' type ' - but I dont know what kind of type is it ..
    Anybody knows ?
    I'll apriciate any help!

    For #1, i will have to review the demo host plug-in and get back to you. Is it fair to assume that you are using EM 12 R2?
    For #2, we support two options MP and MPP. This is documented in the programmers guide: http://docs.oracle.com/cd/E24628_01/doc.121/e25161/define.htm#BABHHEEJ
    BTW, I am not sure which documentation you have been referring to but i highly recommend reading through the programmers reference book.
    docs.oracle.com/cd/E24628_01/doc.121/e25161/toc.htm
    For a basic monitoring plug-in, i would refer to chapters 1, 2, 3, 13, 14, and 20. As you expand the scope of your plug-in, you can refer to other chapters in the book.

  • Where are all the UME actions and UME roles stored?

    Hi there,
    I had a look at the SAP<SID>DB.UME* tables, it seems to me that they are not stored there.
    What I wanted to achieve is to build a list of all user, user to role assignment, all UME actions, and role to action assignment so that we can do some analysis of the data.
    Another related question is about the SPML based java API for user management in UME. It only allows you to list all the UME roles. What about the J2EE security roles? It seems to me that by using this API, you can not get a complete picture of user authorization, which includes both UME role and J2EE security role. Any comments?
    Thanks in advance
    GG

    Hi,
    I would suggest to use [UME Java API|http://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/package-summary.html] instead of reading from the DB tables. You can get all users using methods of the class IUserFactory. The class IRoleFactory has method getRolesOfUser which gives you all roles for each user. Don't forget about roles assigned to user groups. Have a look also at package com.sap.security.api.acl. You should be able to get all ACL entries using [IAclManager|http://help.sap.com/javadocs/NW04S/SPS09/se/com/sap/security/api/acl/IAclManager.html]. Especially, check the code example. I've never done this but from reading javadocs it looks like it should be possible.
    Have a look also at this [document|http://help.sap.com/saphelp_nwce711core/helpdata/en/a4/d39b3e09cdf313e10000000a114084/frameset.htm]. It describes the authorization concept of the AS Java.
    Cheers

  • Find and replace value in Delimited String

    Hi All,
    I have a requirement, where i need to find and replace values in delimited string.
    For example, the string is "GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~". The 4th column gives month and year. I need to replace it with previous month name. For example: "GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~". I need to do same for last 12 months.
    I thought of first devide the values and store it in variable and then after replacing it with required value, join it back.
    I just wanted to know if there is any better way to do it?

    for example (Assumption: the abbreviated month is the first occurance of 3 consecutive alphabetic charachters)
    with testdata as (
    select 'GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~' str from dual
    select
    str
    ,regexp_substr(str, '[[:alpha:]]{3}') part
    ,to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY') part_date
    ,replace (str
             ,regexp_substr(str, '[[:alpha:]]{3}')
             ,to_char(add_months(to_date('01'||regexp_substr(str, '[[:alpha:]]{3}')||'2013', 'DDMONYYYY'),-1),'MON')
    ) res
    from testdata
    STR
    PART
    PART_DATE
    RES
    GL~1001~157747~FEB-13~CREDIT~A~N~USD~NULL~
    FEB
    02/01/2013
    GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
    with year included
    with testdata as (
    select 'GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~' str from dual
    select
    str
    ,regexp_substr(str, '[[:alpha:]]{3}-\d{2}') part
    ,to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY') part_date
    ,replace (str
             ,regexp_substr(str, '[[:alpha:]]{3}-\d{2}')
             ,to_char(add_months(to_date(regexp_substr(str, '[[:alpha:]]{3}-\d{2}'), 'MON-YY'),-1),'MON-YY')
    ) res
    from testdata
    STR
    PART
    PART_DATE
    RES
    GL~1001~157747~JAN-13~CREDIT~A~N~USD~NULL~
    JAN-13
    01/01/2013
    GL~1001~157747~DEC-12~CREDIT~A~N~USD~NULL~
    Message was edited by: chris227 year included

  • How to calculate and update value of the field2 based on what user enters i

    I have a field1 (date type) in page1, while saving this value to the table, I also need to update other field (field2) based on field1 on the same table. (for ex. field2 is 60 days greater than field1).
    Also on next page I want to display field2 as read only (grayed out)...
    I tried to display value of field2 on next page using "ITEM" of page1, but that is not what I need..
    While proccesing page1 I need to calculate and save value of field2, and then on next page display it from the table (not from previous page's item)
    Could you please either help or point me to the document that has a similar example?
    Thank you very much.

    how are you updating the row..
    if its using the commit button then have an actionlistener and then derive and assign the value to the particular column of the row..
          DCIteratorBinding dciter;
          BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
          dciter = (DCIteratorBinding) bindings.get("lineItemIterator");
            dciter.getCurrentRow().setAttribute("column4", value);

  • Zoneinfo bug for Asia/Yekaterinburg and others

    Hi!
    I've just discovered that zoneinfo has incorrect or missing DST settings for most of russian cities up until 31 March, 1981. For example, mktime(3C) returns GMT when tm_isdst flag is set to 1, and other values point to time before 01 Apr 1981. However, after that date mktime returns correct values (GMT+5 during summer period, GMT+4 during winter). Using mktime with tm_isdst set to 0 or -1 provides correct results, but such values assume that DST adjustment will not be applied.
    Problem applies to Asia/Yekaterinburg, Asia/Vladivostok, Europe/Samara zones (not yet tested others). Problem does NOT apply to Europe/Moscow zone.

    $ uname -srvmp
    SunOS 5.9 Generic_118558-26 sun4u sparc
    $ cc -V
    cc: Sun C 5.8 2005/10/13
    That's my system.
    Are there any solutions for this problem?

  • Business Roles and Tasks

    Hi experts,
    We´re involved in a SAP CRM implementation. We´d need to know if it´s possible to link Transaction Types with a Business Role. This is, when the user goes to create a new task, a window pops up with all tasks: is it possible to limit Tasks by Business Role? Maybe there´s a customizing point where you can define, by business role, the availabe tasks for that business role.
    Thanks in advance.
    Javier

    Hi Javier,
    As far as I understand you want to restrict transaction types per business role.
    You can achieve this by customizing. You can create a transaction profile in customizing for each business role and assign the transaction types you have created to this transaction profile.You can find this customizing activity in spro transaction.
    Then you can assign transaction profile you have created to your business roile by assigning function profile 'transaction profile' to the business role in crmc_ui_profile tcode.
    In this way when you login with the business role the transactions you have maintained in transaction profile will only be shown up in the pop up.
    I hope this helps yiour requirement. Let me know if you require any further information. Thanks.
    Regards
    Yogesh

Maybe you are looking for