Table name to find out roles assigned to USER !!

Hi BW Gurus,
i want to find out all the roles assigned to users , i check in tables USR01, USR02 , USR21, and ADRP ...... i got first name , last name , account number . BUT I NEED ROLES . can anyone kindly help me ,since otherwise i have to copy paste all manaully which takes more time...
100% points are assingned
SHERWIN

Hello,
Check in this tables:
AGR_USERS - Assignment of roles to users
AGR_USERT - Assignment of roles to users
AGR_PROF - Profile name for role
AGR_AGRS - Roles in composite roles
Assign points if this helps
Regards,
Jorge Diogo

Similar Messages

  • Table name to find out the application name

    In table WWV_FLOW_USER_ACTIVITY_LOG there is a column called flow_id ,which is the application id .I want to know which is the table to find out the application name for a flow_id.
    Thanks in advance,
    Madhuri

    Madhuri,
    I don't know how you are trying to access that table. The owner is the HTML DB schema, FLOWS_010600 for the 1.6 version. If you try to access it from your application page or another schema, of course you won't see it.
    Scott

  • How to find out roles for a user

    Hi Experts,
                How do i find the roles that are assigned to me and for other users of BW and R3.
    Thanks
    Dave

    hi Dave,
    you can try table AGR_USERS,
    UNAME for user and AGR_NAME = role(s) assigned.
    or transaction SU01 to see user detail.
    (normally bw developer no authorization for this).
    hope this helps.
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • Table name to find a variable used in which queries

    Hello,
    what is table name to find a particular variable used in which queries.

      write 'Variable Name:'.
      write vname.
      write /.
      write 'Variable Type:'.
      write variabletype.
      write /.
      write 'Based on Infoobject:'.
      write variobj.
      write /.
      write 'Variable Processing Type:'.
      write varprocesstyp.
      write /.
      write 'Variable Select Parameters:'.
      write varselectiontyp.
      write /.
      write 'Variable Ready for Input:'.
      write varinputtyp.
      write /.
      write 'Variable Entry criteria:'.
      write varentrytyp.
      write /.
      write 'Variable can be changed during navigation:'.
      write varchangeable.
      write /.
    *  write
    Select single varuniid from rszglobv into varid where vnam = p_varnm.
    select single TXTLG from RSZELTTXT into variabledescription where ELTUID = varid and OBJVERS = 'A'.
    write 'Variable Description:'.
    write variabledescription.
    write /.
    write /.
    querydet-querytechname = 'Query Technical Name'.
    querydet-querydesc = 'Query Description'.
    write querydet-querytechname.
    write querydet-querydesc.
    write /.
    Select SELTUID from RSZELTXREF into table queryuid where TELTUID = varid and laytp = 'VAR' and OBJVERS = 'A'.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select single txtlg from RSZELTTXT into querydet-querydesc where ELTUID = querydets-queryid and objvers = 'A'.
      write querydet-querytechname.
      write querydet-querydesc.
      write /.
    *update querydet from querydetail.
    endloop.
    write 'Query View Details for affected queries'.
    write /.
    viewtab-viewtechname = 'View Technical Name'.
    viewdesc = 'View Description'.
    write viewtab-viewtechname.
    write viewdesc.
    write /.
    clear viewtab.
    clear viewdesc.
    loop at queryuid into querydets.
    select single compID from rszcompdir into querydet-querytechname where COMPUID = querydets-queryid and OBJVERS = 'A'.
    select viewid from rszwview into table viewtab where compid = querydet-querytechname and objvers = 'A'.
    loop at viewtab into viewdetails.
      select single TXTLG from RSZWOBJTXT into viewdesc where objid = viewdetails-viewtechname.
        write viewdetails-viewtechname.
        write viewdesc.
        write /.
       endloop.
      endloop.

  • Table name to find customer and which sales area he belongs to?

    Table name to find customer and which sales area he belongs to?

    Hi suchita,
    You can find these information Sales area he belongs and all in the table of  KNVV , take the customer number from customer master  KNA1-KUNNR  put it in KNVV-KUNNR. you can find all the  sales details.
    if you need more info send breaf requirement.
    if helpful award the points
    Regards
    Ram

  • Query to find out the list of user who have delete access

    Hi,
    I need a query to find out the list of users who have delete access on perticular folder/universe/ reports  in infoview.
    Please advice.
    Regards,
    Neo.

    orton607 wrote:
    thanks for replying guys. But the thing is i am using dynamic sql execute immediate in my package, so i want those tables also and the schema name.
    thanks,
    ortonThis is not possible. The best you could do is to have a good guess.
    Or how would you parse some dynamic statement as this:
       v_suffix := 'loyees';
       v_sql := 'Select count(*) from (select ''nonsense'' col1 from emp'||v_suffix||') where col1 = ''Y'''';
       execute_immediate(v_sql);
    ...What is the table name? How do you want to parse that?
    Better rewrite all dynamic SQL statements into non dynamic ones. Or do the source control logic for those dynamic parts in an extra module. For example implement your own dependency table and force every developer to add there all dynamic parts.

  • From which table we can get the Role of the User in SRM

    Hi  All,
        I need to prepare a report which displays the user and his role in srm. So from which table i can get  the role of the user if i have the Userid.
    Thanks
    Channappa Sajjanar

    Hi
    t- code
    SUIM->rOLES->BY USER ASSIGNMENT
    SELECT WITHASSIGNMENT OF USER = username
    AS A OUTPUT YOU MAY GET ROLE ASSIGNED TO THAT USER.
    if you want which FM - you debug while executing this report.
    regards
    Muthu

  • How can I find out the list of users who has the access to IT 0008

    All,
    How can I find out the list of users who has the W R permission for IT 008
    for others?
    SUIM doe not look like giving me the correct results.
    Please advise.
    Thanks,
    From
    PT.

    combine tables AGR_1251 and table AGR_Users on keyfield AGR_USERS
    in tabel AGR_1251 select on Field LOW values IT0008.OR W OR R,
    noiw you get also other values
    So better solution run the query twice over AGR1251 first on IT0008 and secondly on values W OR R and then the result over table AGR_USERS
    Youu also might put an additional selection on object P* (only selecting HR objects)
    output wll be UID in table AGR_USERS

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • Report to find out for list of users for whom we have changed the password

    Dear Friends,
    Is there any way to find out the list of users for whom the passwords have been changed. We have standalone EP server built on 7.0 with Stack 08.
    Best Regards
    Sita Ram

    Hi Sita Ram,
    here is the
    public void doProcessBeforeOutput() throws PageException {
              IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
              IPortalComponentResponse response = (IPortalComponentResponse) this.getResponse();
          Form myForm = this.getForm(); // get the form from DynPage
           IUserFactory userFact = UMFactory.getUserFactory();
           try {
                IUserSearchFilter groupFilt = userFact.getUserSearchFilter();
                groupFilt.setSearchAttribute(
                     "com.sap.security.core.usermanagement",
                     "uniquename",
                     ISearchAttribute.LIKE_OPERATOR,
                     false);
                ISearchResult result = userFact.searchUsers(groupFilt);
                List list = new LinkedList();
    //            Iterator currentMembers = null;
                while (result.hasNext()) {
                     String name = (String) result.next();
                        list.add(name);
              Collections.sort(list);
              Iterator iter = list.iterator();
                     while (iter.hasNext()) {
                        IUser testUser = userFact.getUser(iter.next().toString());
                        IUserAccount acc[] = testUser.getUserAccounts();
                        String dispUser = testUser.getUniqueName();
                        response.write("<br>"+dispUser+"- last changed password on "+acc[0].getLastPasswordChangedDate().toLocaleString());
         } catch (UMException e) {
              response.write("<br>Searching failed - " + e.getLocalizedMessage());
    develop the project in the NWDS and deploy it into the portal.
    Regards,
    Sithi

  • CUP 5.3 sp7.1 - 049:Role assignment to user not executed completely

    Hello Experts,
    Message received in audit information:
    049:Role assignment to user not executed completely
    Can anyone help me with why I am receiving this message?
    =[],id=6129,reqNo=201000139,actionDate=Tue Oct 19 10:40:27 EDT 2010,action=ROLE_PROVISIONING_FAILED,userId=U03776,path=,stage=,actionValue=PR4-300,description=049:Role assignment to user U10025 not executed

    Hi,
    Check that the connector that you have created is working fine and also the user ID that you are using in the backend system is within the valditiy date and all the required authorizations.
    Use remote login and ensure that the user can login with out any issues and has all the required authorizations.
    Rgds,
    Raghu

  • Oracle 10g - How To Find Out If A Forms User An Intranet Or An Internet?

    Is it possible to find out if the login user using intranet or internet (Oracle Form 10g)? If not, can you please advise the workaround solution?
    Thanks,
    TD

    the only thing which differs could be the ip adress from both clients so if the client ip adress is in your internal range its from your intranet and if its mot from your range its from the internet..I didnt try this but I think you can verfy the client ip via a java bean or via webutil...

  • How to find out how many concurrent users using web application?

    Hi all,
    I have a web application deployed using 9iAS. I am trying to find out how to find out how many concurrent users are using this application at any one time. According to Oracle there is no way to see this information using the enterprise manager interface.
    Does anybody out there know how I can find out this information in real time? Failing that, are there any good analysis tools out there that display usage to the minute (all the tools I have found show usage by hour which is not sufficent for my needs).
    Any help would be much appreciated,
    Caroline

    I know I haven't heard of any software to do this, but this also sounds like a really hard problem to try and really analyze well.
    The trick is, you might "infer" how long a user is using an application based on when cookies are set and when they're set to expire. If that's a long time, though, that could count far more "concurrent" users than are actually there. A user could simply close the application at any time and stop using the application; you can't really detect that because the server isn't "told" when the user closes their browser or goes somewhere else.
    A good perl script might be able to read the Apache access log and tell you how many unique IPs asked for a given directory in which various applications are stored in any 5 minute span of time... that could be something like an indicator of "concurrent" users.
    If you don't know Perl, I'd suggest getting the O'Reilly & Associates book on Perl and learning it, because the more I think about this, the more this sounds like a textbook example for applying a Perl script.

  • Function module to get the roles assigned to user

    Hi to all experts,
    I need a fm to retrieve the roles assigned to user .
    if a pass sy-uname as importing parameter i should to get all the roles assigned to that particular user

    hai,
    please try this.
    /VIRSA/RE_BAPI_CREATE_ROLE- Create Roles
    /VIRSA/ROLE_ASSIGN_CUA_NH
    /VIRSA/RE_BAPI_ROLE_TO_USERS
    ASSIGN_USERS_HIERARCHY - User Assignment to Role - this is a Normal FM
    try this bapis this may work
    BAPI_USER_LOCK
    - BAPI_USER_PROFILES_ASSIGN
    - BAPI_USER_LOCPROFILES_ASSIGN
    - BAPI_USER_LOCACTGROUPS_ASSIGN
    - BAPI_USER_CHANGE
    - BAPI_USER_UNLOCK

  • Moving data between tables (how to find out if the 2nd table is empty)

    Hi,
    I have 2 tables, and I'm copying records from one table to another.
    I've followed the Wiki: [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/movingdatabetween+tables]
    So far, everything works ok.
    Here is my question: how do I get the number of records passed?
    I mean, how do I know the number of rows in the 2nd table? (Remember that this number is variable, because it depends on how many rows I've inserted and deleted on the 2nd table).
    I've tried to achieve that using a data store with a numeric field, but I couldn't find the way to increment/decrement the numeric field on data store, and insert/delete the row on table at the same time .
    All I want is to find out if the 2nd table is empty or not.
    Any ideas to solve this?
    Thanks in advance!
    Help will be point-rewarded.
    Marcelo

    Hi Ahmed
    thanks for your reply, it was very helpful!! (I've assigned points to you)
    However the user can add twice or more times the same row... so the counter doesn't reflect the real number of rows in the 2nd table.
    I've partially solved this also using a data store with a parameter called key_list, where I add (I mean, concatenate) the key field for the selected row.
    So, if I have a table with 4 rows with key fields "key1", "key2", "key3", the parameter key_list would get "key1;key2;key3".
    So far, it's ok. But when I remove a row previosly added.... I can't remove the key from the key_list parameter. (I mean, from 2nd table I choose to remove the "key2" row, but I don't know how also remove the key name from the key_list)
    I hope be clearly enough.
    Any help will be really appreciated and point-rewarded.
    Thanks again.
    Best Regards
    PS: is there any way of "mark" a row that has been added to the 2nd table? I mean, using (for example) a hidden boolean field named "added", that becomes true when the selected row is added to the 2nd table.

Maybe you are looking for

  • Structure to view monthly and quaterly report urgent

    Hi All, Jan-07     Feb-07     Mar 07     Q1-07     Avg          Apr 07     May 07     June 07     Q2-07     Avg          Jul-07     Aug-07     Sep-07     Q3-07     Avg          Oct 07     Nov-07     Dec 07     Q4-07     Avg          Closing 07 Dec 06

  • Memory leak problem while passing Object to stored procedure from C++ code

    Hi, I am facing memory leak problem while passing object to oracle stored procedure from C++ code.Here I am writing brief description of the code : 1) created objects in oracle with the help of "create or replace type as objects" 2) generated C++ cla

  • Group By making query very slow

    Hi All, I have a query as follows, SELECT cc.segment1 company, recv.customer_number paying_account_number, irec.trx_number, irec.trx_date, irec.trx_type_name, recv.payment_method_dsp pmt_met, recv.customer_name paying_customer, irec.applied_payment_s

  • Superdrive and SATA (hard drive) questions

    on my 15" mac book pro i will randomly get error messages that say my cd/dvd drive cannot be found or that there is no software installed for the superdrive whenever i am about to burn a cd/dvd. also just last night i made an idvd project and then bu

  • Aperture export to photoshop explanation

    Hi I need to fully understand the Aperture to Photoshop round trip. I have Aperture 3 and Photoshop CS5 My external editor is PS. I understand and have used the normal convention of exporting my Aperture image to Photoshop editing it then saving and