A question about users assigned roles extraction

Dear all,
I have a question about users assigned roles list extraction. I need the list of the users who have already been created along with their assigned roles. According to what I found on Google, there is a table named AGR_USERS which provides the roles assigned to each user. Yet, this table provides only the SAP ID of each user along with the assigned roles. What I need more is to have also the first name and second name of each user.
So, do you know any table providing at least the following information:
1) First name of each user
2) Second name of each user
3) SAP ID of each user
4) All assigned roles to each user.
NOTE: I really need to have first name and second name in separate columns
Thanks in advance,
Dariyoosh

>
Shekar.J wrote:
> Agr_users for the user ID and role assignments
> USR02 to check the validity of the User ID
> and USER_ADDR for the first name and last name
>
> You can create a Table join of the above 3 tables to retrieve the data you require
Thanks to you and others for your attention to my problem
I don't know anything about ABAP programming, is there any transaction allowing to create this join? As it seems to me the column "UNAME" in the table "AGR_USERS" and the column "BNAME" in the table "USER_ADDR", both refer to the SAP ID of the user. As a result the condition of the join would be "WHERE (UNAME = BNAME)", is there  any transaction/programme allowing to create this join?
Thanks in advance,
Dariyoosh

Similar Messages

  • Questions about user-defined functions

    Hello all,
    I've got some questions about user-defined function in a message mapping:
    1) How can I get the current date/time in format yyyy-mm-dd hh:mm:ss ? What is the java code for this?
    2) I want to use the StreamTransformation constant TIME_SENT, only this is not in the right time-zone.
    It is GMT and it should be CET (1 hour difference). How can I convert this in Java?
    Can somebody help me with this?
    Thanks in advance.
    Kind regards,
    Marco van Iersel

    Hi Marco,
    If the date format is fixed as you have mentioned,please use this:
                                    String test = "2009-03-27 23:15:30";
              String test1 = test.substring(11,13);
              if(!test1.equals("23"))
              int a = Integer.parseInt(test1);
              int b = a+1;
              System.out.println("b"+b);
              String c = Integer.toString(b);
                                    test = test.substring(0,10)+" " + c + test.substring(13,19);
                                    return test;
              if(test1.equals("23"))
              test = test.substring(0,10)+ " 00" + test.substring(13,19);
              return test;
                                    else return "";
    Kindly let me know if this works.
    Thanks.
    Regards.
    Shweta

  • A question about User Exits(EXIT_SAPLRRS0_001)

    Hi,
    i have a question about EXIT_SAPLRRS0_001.
    In this case i want to get a start date of the quarter(Z0DD1) during 2 variables (year 'ZAYEAR1' and quarter 'ZAQTR1'), which are given in a POP-UP Dialog. The following codes:
    CASE i_vnam.
        WHEN 'ZODD1'.
          IF i_step EQ '2'.
            CLEAR: l_s_range.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAYEAR1'.
            IF sy-subrc EQ 0.
              l_var_year = i_s_var_range-low.
            ENDIF.
            READ TABLE I_T_VAR_RANGE INTO i_s_var_range WITH KEY vnam = 'ZAQTR1'.
            IF sy-subrc EQ 0.
              l_var_quarter = i_s_var_range-low.
            ENDIF.
    *==================start date of the quarter===============
            CALL FUNCTION 'Z_0000_QUARTER_S'
              EXPORTING
                VA_APPLE_QUARTER   = l_var_quarter
                VA_APPLE_YEAR      = l_var_year
              IMPORTING
                VA_APPLE_QUARTER_S = l_var_quarter_s.
            clear l_s_range.
            l_s_range-low = l_var_quarter_s.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            APPEND l_s_range TO e_t_range.
          ENDIF.
      ENDCASE.
    Please help me to check if this program is right?
    I have made a debugging, but i do not understand, why this program runs 3 time with I_STEP from 0 to 3. In fact I need only the data with I_STEP = 2.
    Addtionally i want to know if the tabel e_t_range will provide the returned value (ZODD1) ?
    THANKS A LOT.

    THanks your replies!
    I would like to know if the e_t_range provides the returned value (In this program i want to get the value of ZODD1)?
    IF yes, in I_STEP = 2 e_t_range save the right value for ZODD1. But this program run one time again--- I_STEP=3, at this time e_t_range hat not any value, that means if i will not get the value for ZODD1?
    THANKS.

  • Question about Users and/or ICE

    I am new to BC and already frustrated.
    I have a site created in DW. I want my client to be able to edit some of the general text and edit—add and subtract—the images inside a photo gallery (from a BC module). On of my team has added ICE code to certain items that we want them to be able to change but do not know if—or how—ICE can be applied to images in the photo gallery module.
    So I can use ICE for my client but, after watching and reading several tutorials about how great ICE is, I have not found the answer to the simple question: how does my client access this process? I have also tried to create a limited User for the client but even there I have no clear answer on how to limit the client's access, or for that matter target only the text and photo gallery.
    I am hoping that some kind soul out there will take pity and explain—step-by-step—the best way to accomplish what seemed when I started this process to be a pretty straight forward request. I have gone to several tutorial sites and even found what may be the only book written on BC and after the fact discovered that these materials are already obsolete. Please, help. The account people are breathing down my neck to get this done.
    Thank you in advance for your help.
    Kevin

    useradd --help
    -g, --gid GROUP name or ID of the primary group of the new account
    -N, --no-user-group do not create a group with the same name as the user
    You may set these options.
    useradd -m -g users -G audio,lp,optical,storage,video,wheel,power -N -s /bin/bash thomas

  • Question about users in thr realm file.

    Hi,
    I started reading and practicing how to implement security issues on web applications. I understand that you can use either a the declarative approach or a programmatic approach using annotations. From what I understand all the users,groups and principals are managed by the application server and the roles are managed by the web.xml and sun-web.xml and can be used in the annotations.
    My question is as follows: If I am building a web site that requires a login process, it means that I have to save the information of the web site's users in a database or in some other means of data source. Do I have to declare all my web site users in the realm file also, Is there a way to map the users from the database to the users in the realm file?
    Thanks
    Shay

    Hi ,
    Has the IBR server been configured correctly to process contents that are to be converted to PDF ?
    If not , then please go through the following documentation : http://docs.oracle.com/cd/E23943_01/doc.1111/e10800/toc.htm
    This will list all the relevant steps / configurations which should be done to get conversions working .
    Thanks,
    Srinath

  • Is it possible to automate creation of roles,users & assign roles to users

    Respected Guru's,
    Is it possible to automate creation of roles according to our functional requierment with the help of SAP IDM.
    Futher, i would like to know whether creation and deletion of users along with assigning created roles to the user's can be automated.
    Please help me....
    Thank you.

    Hi Dayananadan,
    SAP NW IdM is compatible with your system and uses SAP Java Connector (JCo).
    My colleague Steffen Baumann wrote a blog with three parts, where you get some hints and screenshots how to create similar objects to business roles and automatically assign them. Have a look at the last two parts How To synchronize data from SAP HCM to SAP NetWeaver Identity Center using SAP PI (Part II) and
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/8868. [original link is broken] [original link is broken] [original link is broken] Especially the last topic in the last part shows how to implement dynamic groups. It's not everything covered you will need to automatically create business roles and assign them. To explain this in detail is like writing another blog... If you go through the last two parts of the blog you will know how to modify the jobs my colleage has used for importing HCM data to create business roles similar to org. units.
    You can also have a look at /docs/DOC-8983#section6. There you find "Identity Management for SAP System Landscapes: Configuration Guide" and other documents. They help to get familar with the possibilites of SAP NW IdM, but don't mention how to implement your case in detail.
    Best regards,
    Nils

  • Question about user accounts

    Setting up new mini with 10.6 installed. This is my second Mac, current system is eMac with 10.3. All files/media I want to save are backed up on ext. HD.
    This time I want to set up an Administrator Acct. and another User Acct. (without Admin. access) for routine use. Did not know enough to do that the first time.
    But, I want access to all the old files without ownership/privileges problems.
    As I understand it, I can make the user acct. names the same as the names on my acct. on the old system and there should not be any problem? I have a reason for wanting to not do this, but certainly can and probably will, if that will work.
    To help me understand all this, is the "short name" the real account name/identifier? In other words, can I make the user name anything I want as long as the "short name" is the same?

    The info you have given has thrown me for a loop. As I stated in my reply to Scott I am really having trouble understanding this whole account/file ownership issue, although I thought I had it figured out and was seeking verification.
    Regarding your info about copying files from an external drive, how/why does "ignore ownership on this drive" work?
    "ignore ownership" makes all files on the external read+write by any user so there are no issues with permissions.
    Did a lot of research on several Mac help sites before posting here. A common problem seems to be someone wanting/needing to change account name(s) on a system they will continue to use. Common advice given is:
    Create new account.
    Copy/transfer files to new account.
    Remove/delete old account.
    How/why does that work without file ownership/permissions being a problem?
    most files have read permissions by everybody when created so copying them from one account to another is not a problem. please read up on the basic permissions structure
    http://www.perlfect.com/articles/chmod.shtml
    I understand that the real UID is a numeric code. How does the system arrive at that code?
    the very first user account created on any mac has UID 501 by default. the next one 502 and so on.
    It seems to me if I use the same, exact, account name(s), file ownership would not be an issue.
    that's completely wrong. same account name doesn't help in any way at all. same user ID is what's checked.
    for example when you create a file on an external drive and then move that drive to another computer if you access it from an account with the same user ID by a different user name it will show you as the owner.

  • Question about user creation.

    So I've created using the Wiki article https://wiki.archlinux.org/index.php/Users_and_groups here.
    I've created a user and gave it a password and added to the wheel, and it works fine. I can login and it starts X and everything, however there is no file structure within the home/username directory. I always see on Arch Wiki and other ones about editing X rc files and what not, and they're referring to ~/.xinitrc or something similar.
    However my X files are located in the root place still. Is this something I should be taking into consideration and changing? I don't want to get further down the road and then have something be setup wrong. As of right now the only folders in my user folder are Desktop and Downloads, and I created those. I'm just wondering if there is something I'm supposed to do to transfer my X server and Window Manager stuff from the root positions to the user level. If running these from a root point is an okay thing to do I'm fine with that, I'm just under the impression I'm not supposed to do that.

    jasonwryan wrote:Don't run X as root. Follow the xinitrc wiki article and move all the files you need to run X as your user to their ~.
    Alright. Thanks for the link, should I follow that as a general rule of thumb(Although I can't see myself really installing anything else as root in the future)? Right now my Display Manager and Window Manager as both installed under root as well, and a couple other things I believe.

  • Question about users

    Hello,
    after installing oracle database ii saw that there are numerous default users (for example: DMSYS, HR, IX, CTXSYS, WMSYS, XDB, and so on..). if i don't need these users can i delete them? or what's the sense having those users? what they are for? i wanna have just those users i need, so for example i have an organization and i created a user for each employee. i don't need all other users
    Please clarify me..
    Regards,

    Roger22,
    Every username ending in SYS owns the repository for an Oracle provided facility.
    DMSYS is for datamining, CTXSYS is for Oracle Text, WMSYS is for Workspace Manager, etc.
    Apart from the fact you can not 'delete users', there is a DROP USER ... CASCADE statement,
    these facilities have their own de-installation procedure, which you can run by starting up dbca and choose for 'Edit Database' and disable the appropiate question.
    The nature of your question betrays you seem to plan to abuse this forum as a free documentation abstraction service.
    Could you please refer to http://tahiti.oracle.com first, this will resolve your questions quicker, and you will actually learn something.
    Sybrand Bakker
    Senior Oracle DBA
    Experts: those who did read documentation.

  • Question about user accounts in multi domain scom design

    hello,
    there is a root forest with 30 child domains. fully trusted. we want to have a MS in each of the child domains and RMS in the root. so each MS in child domains report to the RMS which holds the SQL as well. since we want to use a single account for all the
    SQL and SCOM related tasks I would like to know what is the best method to achive this process?
    I want to use a single (Domain User) account for all the SCOM and SQL related task in all of the child domains and management servers.
    the design is scom 2007 r2.
    any ideas?

    is that enough? I am worriyng about this account not to have enough access on SQL or SDK and ...
    dos this user needs to be local admin on all management server although the management servers are joined to another domains?
    can you please clarify this.
    thanks for your help.

  • Question about User Accounts and bugs

    Hello!
    I'm a developer and just started this iPhone app project so I'm not really experienced with all this cocoa/Mac/iPhone world yet.
    The thing is: I'm having this crash on the app running on the simulator, but this ONLY happens with my main user account. Doesn't happen on the device, on another account on the same computer or my coworkers computers.
    I haven't found what's causing this, so I'm thinking about deleting my account and recreating it.
    Is deleting an user account like formatting it?
    Is there anything that I could try before deleting it? Like restoring permissions or the OS with the dvd... These are things that I read about Mac Support.
    Any ideas?

    roam wrote:
    Is deleting an user account like formatting it?
    No, deleting it removes it. Like, put in the trash and then empty it.
    Importantly you should create a new user account with Admin privileges and from that new account delete the older one. Doing it this way still leaves you with Admin control of your computer.
    Before you delete an account... as to your particular problem, there are particular forums concerned with application development. Click on the link below for more specialized forums regarding iPhone app development and your coding error.
    http://discussions.apple.com/category.jspa?categoryID=164
    Yeah, I created another account with Admin privileges, I'm just reluctant to the idea of having to config everything again in the new account. I tried Stack Overflow and iPhoneDevSDK, will try the Apple's forum now.
    Thanks mate.

  • Repaired MacBook Pro - Question about User Account being copied

    On Wednesday, my MBP was ready to be picked up at the Apple Store. They told me it was basically everything inside that caused my display to not function and it would have cost me over 1700 dollars without AppleCare, so that made me happy. They also said they heard weird noises coming from my hard drive so they gave me a new one as well. Some applications needed to be installed but I was told that all of my documents are on this machine. They copied over my User folder. I didn't really care that I lost my Windows partition but it would have been nice to know before they just deleted it..
    Anyway, I got home and turned on my machine. It said I only had about 20 gigs left of storage. Wait a minute... This had to be wrong because thats the space I had on my previous computer WITH the Windows partition. After a little researching, I saw that in my Users folder there was another folder called "DELETED USERS." When I opened it, I saw my documents and music files. I thought it was where they put my old data from my other drive but it wasn't. There was another folder in "Users" with my name and data. It seems like they copied it twice or something. I was just wondering if it's okay to delete this data.

    yes, it's quite ok to delete that folder. First make sure that everything was indeed copied to your main user folder and if it is, delete "Deleted Users".

  • QUESTION ABOUT CLIENT ACCESS ROLE AND MAILBOX SERVER INSTALLATION ON DIFFERENT HOSTS

    If i install one mailbox server and three client access servers on three different hosts,then what will be the url to open ecp and owa?and also to do this kind of installation,what should i do?please help.
    trainee

    Well, you can open ECP URL Internally by using any of following URL
    1. https://host1/ecp
    2. https://host2/ecp
    3. https://host3/ecp
    OR if you have DNS entry for mail, lets say mail.domain.com then you can open your ECP using https://mail.domain.com/ecp
    As far as deployment is concerned i won't recommend this deployment. You are trying to achieve HA of CAS server role but mailbox server role who will be performing most of the Exchange 2013 tasks is not redundant. I would recommend you to have 2 CAS servers
    in NLB with 2 Mailbox Servers in DAG for HA. Exchange 2013 is loosely coupled and you can install any of these roles first. Thanks.
    Hope this answers your questions. Kindly mark this as answer if found helpful.
    Regards, Riaz Javed Butt Consultant Microsoft Professional Services MCITP, MCITP (Exchange), MCSE: Messaging, MCITP Office 365

  • Question about 'user process' in the context of Oracle

    The following is an except from oracle documentation.
    Overview of User Processes
    When a user runs an application program (such as a Pro*C program) or an Oracle tool (such as
    Enterprise Manager or SQL*Plus), Oracle creates a user process to run the user's application.http://download.oracle.com/docs/cd/B19306_01/server.102/b14220/process.htm
    As my understand, an user process is a piece of software that can connect to an oracle server. You (the user) can start a piece of this kind of software, then connect to oracle. If so, why Oracle creates a user process to run the user's application?
    Thanks.
    Edited by: Yang Shuai on Jul 6, 2011 10:20 AM

    Hi. I would suggest reading the 11.2 Concepts manual: it is much improved:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/process.htm
    This text is trying to say that the application starts a client process that can connect to the database. The database manages server processes and background processes; the application runs the client process.

  • Question about Documents Assignment

    At the T_code:MM02, I maintain a  material with a document assingment of 5000000001,but as I put the the material in a BOM,the document couldn't appear in the BOM item which label named "documents assignment".Can anyone tell me the reason?
    best reguards,
    Liangcong Huang

    Hi Huang,
    As documents are linked through object links,Material Master,BOM Header & BOM Item are three different objects.
    Firstly the documents which are linked in Material Master the same has to be viewed without attaching in BOM,
    docuble click on component where it leads to material master display screen and see the document.
    Secondly from DMS, documents cannot be linked to BOM Header and BOM Item.Even though if u want to link ,attach documents while u create BOM
    Regards
    Bhanu

Maybe you are looking for

  • Can I mirror my Rmbp with apple tv? and how?

    I just purcahsed Apple TV, I have it all configured with my wireless and my iTunes. I have an HDMI cable hooked up from it to the tv. But Can i mirrow my computer on it, I have a Rmbp, anyone???

  • In insert: Space after period and before carriage return is being ignored

    I am using Oracle 11.2.0.2. let say I create table temp(a varchar2(20); insert into temp values ('value. valuue2'); I have put space after 'value. ' but it is being ignore when I run it from linux host in sqlplus. The space seems to be preserved when

  • Invisible Text in Flash Player on Financial Website

    Just spent an hour on the phone with one of my financial sites on which I can no longer see some important text. They tried everything, none of which worked, and concluded it must be incompatibility of the adobe flash and Snow Leopard. It started rig

  • RE1000 not found by MacPro under Yosemite

    Hello!I have an iMac and a MacPro Yosemite. I am trying to setup 2 RE1000 that I had put aside because they did no longer respond although they worked fine when I set them up 2 years ago before I upgraded to Mavericks and then Yosemite. I tried to up

  • Standard report for invoices against a quantity contract

    dear experts, is there any standard report for how much invoices(billing) should be made against a quantity contract. my requirement is suppose if  i enter a quantity contract number then it will display all the invoices against that contract with in