How to get group when the data source from system instead of UME database

Hig guys,
How to get group when the data source comes from backend system instead of UME database?
I tried to use
IUMPrincipal RefGroup = WPUMFactory.getGroupFactory().getGroup(groupName);
But I was not able to get the group. But in "UserAdministrator", I can find this groupName.
Which kind of API can I use?
Thanks in advance!
Regards,
Liying
Message was edited by:
        Liying Wang

Ok,
try this:
com.sapportals.portal.security.usermanagement.IGroupFactory ep5GroupFactory = userManagementService.getGroupFactory();
IGroupFactory groupFactory = UMFactory.getGroupFactory();
com.sap.security.api.IGroup group = groupFactory.getGroupByUniqueName(groupName);
IUMPrincipal ep5Principal = ep5GroupFactory.getEP5Group(group);
This should do the trick,
Romano
PS: and thanks for the stars!

Similar Messages

  • Hi guys.. anyone can help me? I lost my iphone, how to get back all the data is there?

    I lost my iphone, how to get back all the data is there?

    Thank you for explain kappy..
    how if I want to get my skype message? is it can ? help me..

  • HT3702 i want to change my region and i don't know how to get rid of the remaing amout from my gift card ($0.48)

    i want to change my region and i don't know how to get rid of the remaing amout from my gift card ($0.48)

    Request that iTunes Support zreo balance your account.
    iTunes Support -
    http://www.apple.com/support/itunes/

  • How to get rid of the old songs from iPhone that do not show up in iTunes?

    Every time I delete my entire iTunes library and sync iPhone with it, my music is still loaded with old songs but do not appear on my iTunes. And when I add new songs to my library, the new songs get mixed with old songs.
    How to get rid of the old songs?

    hey buddy....u have to delete the songs from ur iphone....i have got the same issue.....songs are not showing in itunes!!!!!

  • How to get day of the date in Arabic

    Hi All,
    Can any one please let me know how we can get the DAY of the date in arabic . for english i know that if we write the below command we will get the day if the date . i need the similar kind of thing for arabic
    select to_char(sysdate,'DAY') from dual
    thanks in advance
    regards
    Vicky

    The code you've posted will retrieve the DAY in Arabic so long as you set NLS_LANGUAGE:
    alter session set nls_language=ARABIC;
    select to_char(sysdate, 'DAY')
    from dual;
    الثلاثاء

  • How to copy and  paste the data directly from the excel to the PDF?

    hi,
    I have found the same question on the link:
    How to copy excel sheet to pdf form?
    But I didnt get my answer through that forum.
    My requirement is dat I should copy the data from excel sheet and directly paste it to PDF form.
    When I am trying to copy and paste ..all the data is getting pasted into a single block only.
    Kindly help.
    Thanks & Regards,
    Lina

    So you want the user/person to do the "cut&paste" action (ie. ctrlc ctrlv) and have the data paste itself across rows correctly much like Excel does. I don't think this "intelligence" is built into Adobe table controls as it is in Excel (and Excel is smart enough to even handle it different ways depending on how the user selects cells).
    The only thing I can think of is that you could "capture" the user trying to paste into a cell/row in your table (maybe in the onFocus or onClick events), then grab the data, parse it out (but looking for some character) and then have your code distribute the data across the rows. However, I personally think that would be a lot of overkill and prone to other issues and errors.

  • Re: Invalid Type CURR while activating the data source from R/3 to BI 7

    Dear Expert,
    I have created a data source using function module and has it successfully replicated in BI 7.
    But when I try to activate it, I run into the problem associated with "Invalid Type CURR" with two of the CURR fields.
    Could you help me to resolve this problem or provide me with some suggestions?
    Thanks and appreciated.
    Arthur

    In SAP BW 7.0 Currency types are managed via transaction RSCUR.. Perhaps you should check if everything is ok (i mean to check if the Currency Types are transported) before to active your DataSource.
    It's only a suggestion .. good luck !

  • How to get  sales area text data ( line1) from XD02

    hi sap gurus,
    how to get table name for sales area text xd02 (like marking, remarks , tag ) or we have to use function module to fetch it in the report.
    thanks ,
    Amit Ranjan .

    Table names for all texts are STXH,STXL but from table u cannot fetch them as in the table these texts are stored in RAW format. To fetch this text in human readable format use the FM READ_TEXT. To use this Fm u have to pass text name, text id and object name..u can get all data by double clicking the editor for each text..it will goto the sapscript editor(line editor) then from menu path Goto->Header..u will get all the info....
    Regards,
    JOy.

  • How can I permanently change the date format from the American format to the UK's without having to constantly change it manually every time I start a new spreadsheet?

    This is my first mac so I'm still getting my bearings with it. I've only used Windows programmes before. I can't understand why it's so hard to change the date format of the cells in Numbers to keep it showing the UK format. The system preferences of the mac show that it's in the correct region and has the correct date but this doesn't seem to transfer into the Numbers program. I was very impressed with the mac until I discovered this. If anyone knows how I can get the date to stay in the correct format without having to go through the process of altering it in the cell inspector everytime then I would be very grateful.

    Numbers & most apps, especially those from Apple, use the date format you have set in System Preferences > Language & Text > Region. You can then choose UK from the Region drop-down list. Mine says Custom because I've defined things further as in the second screenshot.

  • How to get rid of the DC-offset from a signal?

    Hello
    i have a speech signal which i need to process. I have estimated its DC-offset (using the AC-DC estimate vi) to be approximately 126 V. I have read some posts here that some reccomend to just subtract this value from the array of data or use a filter to do it. What is the difference, which one should perform better? I have also broke down my initial array of 50000 samples into sub-arrays of 512. Where should be the best place to get rid of the DC? Once and out from the initial array or later on from the subarrays?
    When someone says subtact that value (DC value) from the signal, what exactly has to be done?
    When using a filter, what shall i be looking for to do?Specifications of it?
    Any help is appreciated

    Hello Lynn
    So you are just saying, get the DC offset since it stays almost constant, from the AC/DC Estimate VI and just subtract it from my initial array at the beginning once and out and further on move with the rest of my process? That's it as it shows in the pic below?
    Attachments:
    untitled.PNG ‏14 KB

  • Changing the data source from DB2 to ORACLE in SBOP 4.0

    Hi Gurus,
    We have done SBOP 4.0 SP 2 installation successfully on Linux by choosing DB2 as default Database as suggested by SAP as there is some issue with RH LINUX 5.5 version. Now, we need to change the CMS data source back to ORACLE 11G. For that we have to execute cmsdbsetup.sh and go with the option of "copy" (Copy data from another Data Source). We need to provide the target/destination CMS database in my case ORACLE (TNS & CMS user) details. And also we need to provide the source CMS user (DB2) details. As we went with the bundled/default DB2 installation, we are not able to find the cms user name and password (no where during the installation it prompted to provide cms username and password).
    What will be the default cms username /password in DB2?
    Thanks,
    Sandeep

    Hi,
    The work around is to create/add an extra node (SIA Node) with default servers option for the existing CMS and provided my ORACLE CMS username/password along with the TNS Names using cmsdbsetup.sh. Make sure that this new node is visible in the Servers section of the CMC console (i.e. http://<webappserver>:8080/BOE/CMC-->servers) and also see that all the servers should be running. Then you can delete the old SIA which was connected to DB2 from the CMC->servers.
    Thanks,
    Sandeep

  • How to load 3.x hierarchy data source from a certain level ?

    Hi all,
    I have an old 3.x hierarchy data souce which has a structure like below :
       Level 0 :  root node
                  Level 1:  Product Category
                      Level 2: Product Line
                          Level 3: Product
                              Level 4 : Product Version
    each level has independent infoobject for it.
    The hierarchy was initially constructed for the infoobject on the level 4 'Product Version'.
    Now here comes anther requriement, we also want to have a hierarchy for 'Product' and try to reuse the datasource.
    So the question is , is it possible to extract from the same data source, while just update the hierarchy for 'Product ' starting from the level 3 (up to level 0)?
    PS: i can't migrate the data souce to 7.X, because the source system doesn't support.
    I hope I made my question clearly.
    Really apprericated that you can give me a hint.
    Thanks,
    Amon

    Finally I solved this problem myself.
    there are many mays if you want to realize the requirement, only if you change your way of thinking, don't be stuck your mind with the thought we have to use the original data source coming from the source system.
      I'd like to introduce 2 ways I am thinking of:
    1. use the SAP standard program 'Z_SAP_HIERARCHY_DOWNLOAD' to save the hierarchy as a .csv file, then you can refer to http://scn.sap.com/community/data-warehousing/bw/blog/2012/01/08/bw-730-hierarchy-loading-becomes-easier-with-the-help-of-new-framework
    however this didn't work for me, because the program might be outdated in my working environment BW7.4, though I did some bugfix for this program , the output file seems with some errors.
    2. since the hierarchy for the 4th level infoobject has been successfully updated in my case, we can use it as the data provider directly . Here is the general dataflow : 4th level infoobject hierarchy -> DSO -> target infoobject hierarchy (3rd level infoobject) .
    for this DSO strucure, you should also refer to the link above, the structure is just like the EXCEL file provided. but you should be aware of adding external characteristics in the data fields of your DSO if there is external characteristics in your hierarchy.
    in the transformation of 'source infoobject hierarchy' , you should select 'hierarchy (one segment)' as the subtype of hierarchy.
    in the transoformation of 'DSO -> target infoobject' , you should map the source and target carefully , especially for the segment 'Structure' , you should make sure the field 0H_HIERNODE and the external chars. have proper value filled.

  • Help:  How to get rid of the default None from Radio buttons?

    Hi, I searched the forum and found a work around for inputSelect. It seemed it does not work for Radio buttons, i.e., inputSelectGroup with multiple=false.
    Please anyone help us to get rid of the none choice for gender among female and male. Thank you very much in advance.
    ZD

    The 'none' choice is automatically displayed for fields that allow nulls.

  • How can i fetch only the updated contacts from SQLServer to local SQLite database?

    Hi,
    I need to update my local AIR Contact application (HTML/AJAX) with the new contacts from the SQL Server (interacting with J2EE).
    How can i do it?
    Do, i have to create a background thread which Pulls (requests) data periodically, and the server response is an XML file with sql scripts? If yes, How can i do this. Is there an sample application whose source i can look at?
    Thanks.

    Hi,
    I need to update my local AIR Contact application (HTML/AJAX) with the new contacts from the SQL Server (interacting with J2EE).
    How can i do it?
    Do, i have to create a background thread which Pulls (requests) data periodically, and the server response is an XML file with sql scripts? If yes, How can i do this. Is there an sample application whose source i can look at?
    Thanks.

  • How to get rid of the notifications center from the menu?

    I unchecked all the "in notifications center" boxes so there is nothing in there. But the notifications center icon is still up there on the menu, over on the right side.
    Is there a way to just get rid of it completely?
    Thanks,
    doug

    From the OS X Finder, hit Command+Shift+G and enter the path to /System/Library/CoreServices/
    Locate “Notification Center.app” and click on the name to rename it to “Notification Center-disabled.app”, authenticate the change when prompted
    Now launch Terminal, found in /Applications/Utilities/ and type the following command:
    killall NotificationCenterQuit out of Terminal
    Notifications will no longer be posted, alerts will be gone, and the menu bar icon is no longer visible. If you do attempt to get to Notification Center either through a keyboard shortcut or the sideways swipe, you’ll be presented with a blank side of the screen.

Maybe you are looking for

  • Not able to send messages using Mail

    the message comes up is that "the connection to your outgoing mail server on port 25 timed out". I have followed the instructions of deleting the account and creating it again - that did not solve the problem. The outgoing server that's being used is

  • How can i test and adjust my speakers plea

    Hi This is my setup: Creative X-Fi Xtreme Music Retail on Logitech Z-5300e 5. speaker system. What i need to know is how can i test my 5. speaker system using the creative software in order to check if each channel is working properly. I did not inst

  • Better DVD Performance

    My iDVD project has an intro video, a main menu, and 4-5 submenus. The main content is 83 minutes long. I had to burn it on "Best Quality" instead of "Best Performance" because of the length and now the performance is poor and it often glitches. Some

  • Adblock doesn't work in version 18

    OK, I admit that I have been using an old version of Firefox on two machines for a long time. I just got so tired of being told to update every few days! On my laptop (version 10) Adblock works fine. On a new machine I'm setting up now, using version

  • Finder Keeps Having To Re-generate Icon Previews

    Hi, I love the new Icon Previews in Leopard, when showing files in Icon view. However, every time you log into Leopard Finder has to regenerate those previews from scratch, which, if you've got a folder full of 100 PDFs, can take a long time. It woul