How to check whether system privilege are granted

How to check whether system privileges like 'create session' and other ones are granted for user.
Is there any sys table where this information is available?
Regards - Neuron

Keep in mind select * from dba_sys_privs where grantee = 'some-user' will give you a list of privileges granted to some-user directly. To get complete list of system privs granted to a user both directly an via roles use:
ACCEPT USER PROMPT 'Please enter user name: '
COLUMN PATH FORMAT A90
SET LINESIZE 132
SELECT  PATH,
        PRIVILEGE
  FROM  DBA_SYS_PRIVS,
          SELECT  'DIRECT GRANT' PATH,
                  '&USER' GRANTED_ROLE
            FROM  DUAL
         UNION ALL
          SELECT  LTRIM(SYS_CONNECT_BY_PATH(GRANTED_ROLE,'->'),'->') PATH,
                  GRANTED_ROLE
            FROM  DBA_ROLE_PRIVS
            START WITH GRANTEE = UPPER('&USER')
            CONNECT BY PRIOR GRANTED_ROLE = GRANTEE
  WHERE GRANTEE = GRANTED_ROLE
/Now on top of privileges granted to a user, user also has privileges granted to PUBLIC. To get privileges user receives via PUBLIC run the above script specifying PUBLIC at the prompt.
SY.

Similar Messages

  • How to check whether two elements are available in an array?

    For example,
    String str1="2"
    String str2="3"
    String [] str3={"2","4","8","9","3"};
    Is there any feature available by default to check whether both str1 and str2 are contained in str3?
    Or we can only compare by doing equals() and a loop?

    cross posted in the java-forums.
    Please do not cross-post questions in multiple forums. This will frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. For this reason, many volunteers here and at the other sites refuse to help repeat offenders.

  • How to check whether transport path exist between two systems in sld??

    Hi,
         I have two systems namely 'A' and 'B' and created business systems for both of them.Then i created transport path between the two systems.How i check whether what i have done is right in SLD.

    <b>WRT to CMS</b>
    am not sure with this but u can try:
    1. Start CMS: http://<host>:<J2EE Engine http port>/webdynpro/dispatcher/sap.com/tcSLCMS~WebUI/Cms.
    2. Goto lansdscape configurator and check there
    Message was edited by:
            Prabhu  S

  • How to Check source systems in RSA1 and verify that connections are working

    How to Check source systems in RSA1 and verify that connections are working ok and how to Check Planning Area have green status.................

    Hi,
    In rsa1, go to 'Tools' and option 'Manage Source System' - the screens are self explanatory there after. To check the planning areas, go to transaction /SAPAPO/MSDP_ADMIN anc check the status of the relevant planning areas.
    Regards
    Vinod

  • How to check whether the system has eclipse environment: urgent

    Hi gurus
    can you please tell me how to check whether my crm system has eclipse envirionment.
    Thanks
    shashi

    There is no way to check whether a system is used productively or not, I believe what you mean is checking a client is productive or not in an ABAP-stack based system. Remember although a SAP ABAP system is identified by a SID but from a business perspective the system is recognized by a client, as it is a unique business identity.
    Thus, to check whether the client is productive or not in txn SCC4 check the role of the client, it will show you the correct status. The data of SCC4 is stored in table T000, you can also opt to check that.
    - Regards, Dibya

  • How to check whether calendar is being used in any of the sap application

    Hello All,
    We are having few factory calendars. However some of the calendar having valid to year 2010. Can you please let me know how to check whether these calendar is being used in any of the sap application/module
    kindly reply as early as possible
    Regards
    Girish

    Hi RKS
    yesterday BLOG by our SUMMER WANG helps every SRM consultant to debug the PO error
    /people/summer.wang/blog/2010/05/11/trouble-shooting-of-srm-po-transfer-error
    Good work Summer wang !!
    Muthu

  • How to check Whether the File is in Progress or used by some other resource

    Hi All,
    I am retrieving a file from the FTP server using Apache commons FTP.
    I need to check whether the file is fully retrieved or in progress.
    for now i can able to use the file which is partially retrieved. it is not throwing any file sharing exception or i am unable to find whether it is in progress.
    How to check whether the file is in progress ? or The file is accessed by some other resource ?
    Pls Help me.
    Thanks,
    J.Kathir

    Hi Vamsi,
    Explicitly such kind of requirement has not been catered and i dont think you would face a problem because any application that is writing to a file will open the file in the read only mode to any other simultaneous applications so i think your concerns although valid are already taken care off .
    In the remote case you still face a problem then as a work around. Tell the FTP administrator to set the property to maximum connections that can be made to ftp as one. I wonder if you have heard of the concept of FTP handle , basically the above workaround is based on that concept itself. This way only one application will be able to write.
    The file adapter will wait for its turn and then write the files.
    Regards
    joel
    Edited by: joel trinidade on Jun 26, 2009 11:06 AM

  • How to check whether my sol man installation is on sol man 7.0 or?

    Hellol All,
    Can anyone help me How to check whether my sol man installation is on sol man 7.0 or sol man 7.0 EHP1.
    Thank you,
    Srihari

    Hi,
    Your system status should tell you that. Any logged in screen of your solution manager system --> Status. Component Version should be as "SAP EHP 1 for SAP Solution Manager 7.0" to be Ehp1 or "SAP Solution Manager 7.0"
    Hope this answers your question.
    Feel free to revert back.
    -=-Ragu

  • How to check whether stock cover MRP requirements

    Hi Everybody,
    Could you please tell me how to check whether stock cover MRP requirements?
    My user hope to block GR for PO. Because before GR, customer decrease their order qty. However, it is difficult if buyer decrease the PO qty manually. So, they hope SAP can calculate and block GR.
    I know we can add the control in user exit of MIGO. However, I dont know how to check the stock whether cover MRP requirements. anybody can tell me what is the standard function? of course, it is okay if you have other solution such as via standard configurations.
    Thank you in advanced.
    Regards
    Henry

    Hello Ravi,
    Thank you for your reminder.
    We have double confirmed with our client. It is very difficult to using Scheduling Agreements instead of PO. because lots of job have to be changed such as
    1. Share our Scheduling Agreements with suppliers on a new system such as Internet.
    2. PO release strategy will be put into Scheduling Agreements. I dont know how to to reach this.
    Customer may random decrease their order Qty even if they have sent formal order to us. So, we have to block GR for our supplier even if sent PO already. In OEM industry, it is truth already.
    Hello BK,
    I know in MD04, we can manually list. But, please tell me which function (SE37) can identify. We hope can call the function in user exit of MIGO.
    Regards
    Henry

  • How to check whether Output ES is working or not.

    I am able to see Output ES in the services list of the admin console of my server. Please let me know how to check whether this is working or not.
    Regards,
    Shabeer

    LiveCycle ES2 (and LiveCycle ES) ship with three undersold and unadvertised web applications that are VERY useful. Each is referred to as an Installation Verification Sample (or IVS) but they are great testing tools you can use during development and QA. There is
    1) Assembler IVS,
    2) Forms IVS, and
    3) Output IVS
    Output IVS looks like this...
    The pattern for deploying and using all three IVSs is very similar as what I am about to describe for Output IVS. The following directions apply to the JBoss turnkey on Windows.
    1) go to C:\Adobe\Adobe LiveCycle ES2\deploy and locate adobe-output-ivs-jboss.ear
    2) copy adobe-output-ivs-jboss.ear to C:\Adobe\Adobe LiveCycle ES2\jboss\server\lc_turnkey\deploy
    3) if necessary, start LiveCycle
    4) open a browser and go to http://localhost:8080/OutputIVS/
    5) click Check/Change your preferences
    6) add Admin Credentials
    7) click Save
    8) click Test your form designs
    9) Select an .xdp from Form designs
    10) Click Use EJB (or Use Web Service if you feel so inclined) to invoke LiveCycle Output ES2
    Steve

  • How to check whether ESBAgentListener listener is started or not for ESBSys

    Hi,
    I am working on Oracle ESB 10g, I want to know how to check whether the ESBAgentListener listener is started or not for particular ESB system. I know we can verify the logs but I want to know is it possible from database or any other sources.
    Thanks in advance.
    Ramesh

    Hi Jogdand ,
    You can get the PO total value change form the PO business Object BUS2201 attribute  POTotalValueIncreased .
    Below code sample decribes how to get the BO attribute values
    1. INCLUDE <swfcntn01>.
    2. Create an instance of the BO by calling the macro and passing the three parameter.
        swf_create_object     <po bor object>     <BUS2201>     <po_guid>
    3. Get the PO attribute by calling macro
      swf_get_property   <po BOR object>   < 'POTotalValueIncreased' >    < lv_pototalvalueincreased>
    OR
    You can query the table BBP_PDHGP and get the original Value of the PO and call the FM BBP_PD_PO_GETDETAIL to get the new Value of the PO. Check the difference and if there is any difference then the PO value is changed.
    I hope this will be very useful.
    Regards,
    Surender

  • How to check whether user login in SNC mode or Non - SNC Mode

    Hi
    When SNC is enabled system will accept secure network connections. But,It is up to the user to login in SNC mode or NOT.
    Can any one let me know How to check whether user login in a SNC mode / Non-SNC mode?. Is it only through SU01?.
    Is there any other possibility?. where to check if user login through RFC connections?.
    Please correct me if i am wrong.
    Regards
    Srinivas P.

    Hi,
    Where to check if user login through RFC connections?
    Check T-Code SM04 on every instance. In the column Type you can see what kind of login has been used (GUI, RFC, Plugin, System).
    But,It is up to the user to login in SNC mode or NOT.
    Depends. Check these [parameters|http://help.sap.com/saphelp_nw04/helpdata/EN/19/164442c1a1c353e10000000a1550b0/content.htm]:
    snc/accept_insecure_cpic     
    snc/accept_insecure_gui      
    snc/accept_insecure_r3int_rfc
    snc/accept_insecure_rfc      
    Regards,
    Sven

  • R12.1.1 staging complete! How to check whether the stage is Good

    Hi Gurusl,
    I have completed staging R12.1.1 for Hp unix B.11.31. I want to know how to check whether the stage is good for installation or whether it is corrupted. Is there any metalink note or script from where we can check it. Ur help will be highly appreciated. Thanks in advance
    regards,

    Hi,
    Please refer to (Note: 802195.1 - MD5 Checksums for R12.1.1 Rapid Install Media).
    Regards,
    Hussein

  • How to check in system(unix/windows) if it is mounted or not?

    how to check in system(unix/windows) if it is mounted or not?

    Hi Prasann,
    how to check in system(unix/windows) if it is mounted or not?
    Please elaborate your query.Meanwhile check with command df -Th
    Regards,
    Gaurav

  • How to check whether follow on document is created for sc or po,is there any table or fm available?

    How to check whether follow on document is created for sc or po,is there any table or fm available?

    Hello Venu
    Check FM: BBP_PD_SC_GETDETAIL and BBP_PD_PO_GETDETAIL table E_HEADER_REL
    Check this: SRM Shopping cart and PO tables link
    Regards

Maybe you are looking for

  • How can I deauthorize my iTunes account on previous computers? As in, I reformated it and there's no way to do so.

    I'm using 1 laptop. And this laptop I have formatted it for at least 3 times since last year due to poor maintenance. Anyway, with that 3 times re-formatting, I have been authorizing the same laptop for 3 times everytime i reinstall iTunes on it. My

  • How to Hide a Specific Mailbox In Inbox?

    Hi! I manage more than 10 e-mail addresses in Apple Mail and one of them suffers a lot from spam. Everyday, I receive 100-200 spam e-mails to that specific mailbox and I don't want to see the content of that mailbox in my main Inbox tab. Is there a w

  • Create database link from oracle DB to MySql database using dg4odbc

    Hi All we need to fetch a data of MySQL database from oracle database using dg4odbc connection. we are getting the below erros when we query select * from dual@myodbc; ORA-28546: connection initialization failed, probable Net8 admin error ORA-02063:

  • Conditionally Required Fields

    Basics - Running LC ES 8.2 and Acrobat 9 Pro and using Acrobat for this form. Novice/Beginner in JavaScripting as a whole, especially as pertains to PDFs Situation - Trying  to set up a form wherein a field is required if one option from a combo  box

  • AIR 2.6 performance on iOS devices

    When I first tried iOS packager it looked too raw and slow to use in real applications. But the technology was very promising and product was obviously far from release. A new version of AIR (2.6) was released recently and it is claimed that performa