View defination privileges on Procedures for any user

Hello,
I was looking for some query where i can view the defination or select the procedures of any schema
for example we have procedures owned by ML schema, other users such as fft, fft_read etc wants to view the defination of the procedures or select privileges on the procedures owned by ML Schema.
is there anything like grant select any procedure owned by any schema can view the procedures by all other schema's in the database.
Thanks

Thanks for your response.
These are the procedures owned by other schema not by FFT and FFT read.
and i need only procedures not other objects.Connect to the schema who owns the Procedures and Issue,
Grant debug on owner.object_name(Procedure) to FFT,FFT_READ;
Or
Just issue
Grant debug connect session to FFT,FFT_READ
Hope this helps.
-Anantha

Similar Messages

  • View defination privilege on Procedures by all the users

    Hello,
    I was looking for some query where i can view the defination or select the procedures of any schema
    for example we have procedures owned by ML schema, other users such as fft, fft_read etc wants to view the defination of the procedures or select privileges on the procedures owned by ML Schema.
    is there anything like grant select any procedure owned by any schema can view the procedures by all other schema's in the database.
    Thanks

    You can not grant select on a procedure;
    SQL> grant select on tsb.example_defaults to test01;
    grant select on tsb.example_defaults to test01
    ERROR at line 1:
    ORA-02225: only EXECUTE and DEBUG privileges are valid for procedures
    However, you can grant debug on the objects and then you will be able to see the definitions from ALL_SOURCE. Additionally they will still not be able to excute the code.
    SQL> select object_name from all_objects where object_type='PROCEDURE' and owner='TSB';
    OBJECT_NAME
    NEW_EXAMPLE
    EXAMPLE_DEFAULTS
    SQL> connect test01/password
    Connected.
    SQL>  select object_name from all_objects where object_type='PROCEDURE' and owner='TSB';
    no rows selected
    SQL> connect tsb
    Enter password:
    Connected.
    SQL> select 'GRANT DEBUG ON TSB.'||OBJECT_NAME||' TO TEST01;'  from all_objects where object_type='PROCEDURE' and owner='TSB';
    *'GRANTDEBUGONTSB.'||OBJECT_NAME||'TOTEST01;'*
    GRANT DEBUG ON TSB.NEW_EXAMPLE TO TEST01;
    GRANT DEBUG ON TSB.EXAMPLE_DEFAULTS TO TEST01;
    SQL> GRANT DEBUG ON TSB.NEW_EXAMPLE TO TEST01;
    Grant succeeded.
    SQL> GRANT DEBUG ON TSB.EXAMPLE_DEFAULTS TO TEST01;
    Grant succeeded.
    SQL> CONNECT test01/test01
    Connected.
    SQL>  select text from all_source where owner='TSB' order by name, line;
    TEXT
    procedure example_defaults
    *(n_1 in number :=5,*
    n_2 in number :=6,
    n_3 in number :=7)
    as
    begin
    dbms_output.put_line(n_1||n_2||n_3);
    end;
    procedure new_example
    *(n_1 in number :=8,*
    n_2 in number :=10)
    as begin
    dbms_output.put_line(n_1+n_2);
    end;
    *14 rows selected.*
    SQL> set serveroutput on
    SQL> exec tsb.example_defaults(1,2,3);
    BEGIN tsb.example_defaults(1,2,3); END;
    ERROR at line 1:
    ORA-06550: line 1, column 11:
    PLS-00904: insufficient privilege to access object TSB.EXAMPLE_DEFAULTS
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Hope this helps.
    Regards
    Tim

  • How can you define a different homepage for a user?

    Hi
    I am fairly new to Application express, I have created an application but I would like to define a different homepage for a user when they login. Of course I can modifiy the PLSQL code:
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    With a different page, however I would like to setup a different home page depending on the user that logs in - I tried setting up a conditional process specifying P_101_USERNAME but this did not work...any ideas on how this can be achieved?

    Hi
    Thank you for your response, I have created the function:
    create or replace function "GETDEFPAGE"
    (auser in VARCHAR2)
    return VARCHAR2
    is
    Defpage number;
    begin
    select DefaultPageNumber into Defpage from users_table where username='aUser';
    return Defpage;
    end;
    Can you please assist me on how I can call the function in the login process within the block:
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P101_USERNAME,
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    );

  • Is it possible to reset password for any user using abap program

    Hi friends,
    Is it possible to reset password for any user using abap program by specifying client number and user id. in selection screen.
    if any code for that to reset password please mail me.
    Thanks & Regards,
    Yogesh

    Hello Yogesh,
    Yes you can reset the password for any body using ABAP Code. But for that you really don't need any client number.
    If this process is on regular basis, then recommended is to use BAPI for changing the user details Otherwise BDC also works fine.
    => Function Module - BAPI_USER_CHANGE
    Call this in the program for resetting the password.
    => CALL TRANSACTION 'SU01' USING InternalTable
    This will be executed in the BDC of SU01 transaction recording. Use the Password Change button in the application toolbar of transaction while recording.
    Hope this helps.
    PS If the answer solves your query, plz close the thread by marking it solved and rewarding each reply.
    Regards

  • Fetching accessible record type list for any user

    How to get list of standard record types being accessible for any user role?
    One solution - We know the entire list of standard record types, so we can keep trying to access each record type and if we get access violation exception, then skip that record type. This solution is NOT a good idea as it will be poor in performance and may become insufficient in future version of OCOD (which may have more standard record type than the count present today).
    Is there any direct API available? or any generic solution?

    Hello,
    this is the forum for the tool {forum:id=260}. Please mark this question as answered, so others know that they can ignore it.
    Then post again in {forum:id=75}
    Regards
    Marcus

  • I am unable to change passwords for any users.  The "change password" is grayed out.

    I am unable to change passwords for any users.  The "change password" is grayed out.  I know there is a way to change them but I am having trouble finding it.
    Message was edited by: dmw1975

    If you're in the Users pane of the server app, and you select Network Users from the drop-down near the top, there's a small padlock icon at the bottom. Is it locked or open? If locked, click it and enter credentials into the authorisation box that opens

  • Missing privilege:NO TRIGGERS FOR REPLICATION USER

    Hello,
    I'm configuring the Synchronization Manager following the steps on the SAP MaxDB Library 7.6. I've done every step until the activation of the Replication Units, where the Synchronization Manager GUI give me the following error:
    +Create MaxDB Trigger
    com.sap.dbtech.jdbc.exceptions.DatabaseException: [-5001]: Missing privilege:NO TRIGGERS FOR REPLICATION USER
         at com.sap.dbtech.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:65)
         at com.sap.dbtech.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:1061)
         at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:689)
         at com.sap.dbtech.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:563)
         at com.sap.dbtech.jdbc.StatementSapDB.sendCommand(StatementSapDB.java:855)
         at com.sap.dbtech.jdbc.StatementSapDB.sendSQL(StatementSapDB.java:919)
         at com.sap.dbtech.jdbc.StatementSapDB.execute(StatementSapDB.java:266)
         at com.sap.dbtech.jdbc.StatementSapDB.execute(StatementSapDB.java:234)
         at com.sap.dbtech.jdbc.trace.Statement.execute(Statement.java:79)
         at com.sap.sdb.syncMan.util.SQLBuilder.markMaxDBTableForRep(SQLBuilder.java:301)
         at com.sap.sdb.syncMan.design.DesignSQLLayer.installTableOfParticipant(DesignSQLLayer.java:2427)
         at com.sap.sdb.syncMan.design.DesignSQLLayer.installReplicationUnit(DesignSQLLayer.java:1493)
         at com.sap.sdb.syncMan.gui.jface_controls.UnitControl.internalActivateParticipant(UnitControl.java:1165)
         at com.sap.sdb.syncMan.gui.jface_controls.UnitControl.internalActivateSelectedParticipant(UnitControl.java:1067)
         at com.sap.sdb.syncMan.gui.jface_controls.UnitControl.access$000(UnitControl.java:98)
         at com.sap.sdb.syncMan.gui.jface_controls.UnitControl$WorkerThread.run(UnitControl.java:125)+
    Question:
    1. What privilege should I give to the Synchronization User? It's already a DBA user.
    2. Could it be a library problem?. According to the documentation installed with the application, the Mysql connector jdbc should be used instead of the sapdbc.jar; but doing this the Synchronization Manager GUI doesn't start.
    Regards!
    MY

    Hello,
    you can create the replication user like this.
    "create user dbservice password <your password> dba not exclusive replication"
    Did you grant the tables you want to replicate to the replication user?
    The replication user itself must not own triggers or tables. It owns special system triggers and repliaction meta tables.
    Best Regards
      Wolfgang

  • Enable Notification for any users scheduling reports

    Hi all!
    How can I enable the "Notification" option for any user allowed to schedule a report within BOXI R 3.1 FP 1.7.
    As administrator, the option is available within the scheduling.
    As normal user I don't have any notification option visible. I can only send reports or messages as email.
    Thanks for any hints,
    ciao Hakan

    Hi all!
    How can I enable the "Notification" option for any user allowed to schedule a report within BOXI R 3.1 FP 1.7.
    As administrator, the option is available within the scheduling.
    As normal user I don't have any notification option visible. I can only send reports or messages as email.
    Thanks for any hints,
    ciao Hakan

  • Problem with "Group By" in Views - Not Displaying the Same for All Users

    We have an Announcements List with its only View being set up to group by a metadata category field. We've done this many times on other kinds of lists and never had a problem. But with this list, about half the users can see only the ungrouped
    set of announcements, whereas others actually see the items within their groups.
    Those with "View" rights only can't see the grouped items - but that appears to be a coincidence as I promoted them to the same rights as others who can see them correctly, and that did NOT solve the problem. Everyone is using the exact same browser.
    Note: the users who do NOT see the groupings see only a single category entry that displays only the name of the category list (but not the names of the actual categories within the category list). All the announcements are grouped under that one
    entry for those users. This display looks exactly like it would if the categories had been left blank when the original announcements were created. But the categories are NOT blank, and the rest of the users can see them just fine, and the announcements display
    within their appropriate groups.
    I can't find anything in the View, the List Settings, or the User Permissions to explain this. What could be causing it, and how can I fix it?

    Browser settings are controlled by central IT and are all identical. 
    The only difference I can detect is the second set of users (that don't see the category options) have only Read rights, whereas those with Contribute (or above) rights can see the categories. It doesn't make
    sense that permissions would affect this, but I can't come up with any other differences.
    Microsoft will not allow me to upload images. it says I can't upload images until they have verified my account, but there is no clue as to how, if or when that might happen. If you can tell me how to fix that, I can provide samples.

  • In Powerdesigner repository, can we limit access for any user to one particular model?

    Hi
    I have this requirement in Powerdesigner repository to setup a user and give him/her access to check in and check out only one model? In otherwords, when he logs into repostiory, he can't see any other folders except the folder that was assigned to him?
    Is there a way to do this in the Powerdesigner tool.?
    thank you
    Krishna

    Sure,
    I have this requirement in Powerdesigner repository to setup a user and when he logs into repostiory, he can't see any other folders except the folder that was assigned to him?
    Step #1
    a) Connect as ADMIN
    b) In Menu go to Repository=>Administration=>Users
    c) Add user MYUSER
    Step #2
    a) In the Repository define a folder, example MYFOLDER
    b) Right click on the folder MYFOLDER
    c) Select folder permission and add MYUSER to MYFOLDER and give permission WRITE access
    Step #3
    a) Log into the repository by using your new user MYUSER
    b) Check-in a model under MYFOLDER
    b) Go to Repository : As you can see you can access models under the folder MYFOLDER
    c) You can see others folders (Because by default all folders are displayed as "List" for all users (PUBLIC) but your user MYUSER can't see the objects contained into the others folders.
    Bye
    Do not forget to give your appreciation relative to my answer.

  • All SCOM 2012 R2 dashboards are blank on Windows 7 for any user

    All SCOM dashboards are showing up completely blank on several (but not all) Windows 7 machines and a 2008 R2 server (with RDS)...for any type of user. It's not a permissions issue as the same user can RDP to the SCOM Mgt server and view the dashboards just
    fine. It seems to be some underying pre-requisite that isn't there, or isn't working. We've installed the pre-reqs (reportviewer, SQLSsyClrtypes, etc) to no avail. I've also tried doing a "repair" on .Net, and rebooted as described in another thread,
    but that didn't work. I'm guessing it's something baked into our desktop images, but what am I missing

    ...also, we're seeing this event in the application log when the console is opened on an affected machine (but, not necessarily when opening the dashboard)...so, not sure it's 100% relevant. 
    Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information. : System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for
    more information.
       at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
       at System.Reflection.RuntimeModule.GetTypes()
       at System.Reflection.Assembly.GetTypes()
       at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.LoadModuleCatalogFromAssembly(IModuleCatalog bootstrapperCatalog, ModuleCatalog catalog, Assembly assembly)
       at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.CreateModuleCatalog(IEnumerable`1 assemblies)
       at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.LoadInternal(IEnumerable`1 assemblies)
       at Microsoft.EnterpriseManagement.Presentation.DeclaredAssemblyLoader.Load(DeclaredAssembly assembly)
       at Microsoft.EnterpriseManagement.Monitoring.Components.ComponentRegistry.<>c__DisplayClass3e.<GetAssemblies>b__3c(DeclaredAssembly declaredAssembly)
       at System.Reactive.Linq.Observable.<>c__DisplayClass413`2.<>c__DisplayClass415.<Select>b__412(TSource x)

  • User Defined Fields greyed out for one user

    Hi Experts,
    One of our users is a Super User but on the Business Partner Master Data screen, the User Defined Fields are greyed out.
    This is user specific as the issue is happening for the same user on 2 seperate PCs.
    Other users can update these UDFs - any suggestions?
    Thanks
    Greig

    Hi
    take a look at this SAP Note :
    Cannot access settings for the user defined fields
    Symptom
    Cannot access settings for the User Defined Field(UDF)
    Other terms
    UDF, user defined field, sbo-udf, settings for UDF are inactive, the settings for the udf are greyed out.
    Reason and Prerequisites
    Need to use the Settings option to order the udf.
    In Tools -> User Defined fields -> Settings the option 'Settings' is greyed out and inactive.
    Solution
    If in Tools -> User Defined fields -> settings and this option is not available then return to the document and click anywhere in the main document window.
    Now return to Tools -> User Defined fields -> settings and this option will now be active.

  • Team view data not getting refers for some user

    Hi,
    We are facing an issue in team view app for mss,  manager's are seeing details of employees not belonging to their Org Unit/ data not getting refreshed. This seems to be the Cache related issue where the data of perviously logged in user is displayed to the current user till browser cache are cleared manually.
    User don't have permission to clear browser cache. Is there any work around.The issue is coming only for some users.I have enable the 'ABAP HTTP Security session Enabled' property of the system used.
    Regards
    Pallavi

    Hi Karthik,
    in the first view I execute the BAPI and in the second view I show the results. In the second view I also submit the modified data via another BAPI.
    As I execute and display result of same BAPI in two different views I have bound the same model node to both of these views. Let me give you some sample code for understanding what have I done.
    In the first BAPI's search action handler I have written:
              Zsr_Packnr_Validate_Components_Input input = new Zsr_Packnr_Validate_Components_Input();
              wdContext.nodeZsr_Packnr_Validate_Components_Input().bind(input);
              input.addT_Version(new Zsr_Packnr_Field_Values());
              input.addT_Zsr_Genbr(new Zsr_Packnr_Field_Values());
    input.setZsr_Gmc(globalMaterialCode);
              input.setZsr_Mrc(mrc);
              input.setZsr_Ctry(country);
              input.setZsr_Dc(distributionChannel);
              input.setZsr_Div(commercialSegment);
    wdContext.nodeOutput_Validate().invalidate(); //as u suggested
              wdContext.currentZsr_Packnr_Validate_Components_InputElement().modelObject().execute();
              wdContext.nodeOutput_Validate().invalidate();
    In the second BAPI I just display the output node from the same Model context node (its mapped to the second view too).
    But as I said whenever I update some values in the result set and submit it the data gets submitted properly. But when I press the search button again, the previous set of data gets populated, not the just updated data.
    If anybody has some idea on why the second time search BAPI execution still shows the previous set of result it will be a great help to me.
    Thanks for all your help.
    Shubhadip

  • How to enable detail view interactive report as default for public user?

    Hello all,
    I'm currently developing a search results page.
    I'm trying to do a nice view instead of a default table like view from the interactive reports. So in this case i enabled the detail view so i could make fancy designs.
    all worked well and looked neat but however when i pass value from my search page using IR_ROWFILTER and clear the results page using page_no,RIR, it brings me to the interactive reports result page with the default table like view.
    i have to press the detail view to get it. i tried saving it as default but it wont work. this issue is for public user.
    if i make the page requires authentication, and save the detail view as default i would not have any problem. i could search and it will straightly bring to the detail view of the search page.
    of course the other reason i found is because im using the IR_ROWFILTER and clearing page using page_no,RIR..without it,it works well but i need it coz im doing a a search result. i need to send search text from another page and put it in the filter in the search page. i would need to use RIR to clear it for searching again.
    is this a limitation for public user? it doesnt happened for authenticated user though..
    how can i make this view as default for public user?

    T101_cyberdyne wrote:
    how can i make this view as default for public user?
    Flip the report into Detail view on page load using an Page Load dynamic action with the following Execute JavaScript Code true action:
    gReport.data.view('DETAIL');
    I'm trying to do a nice view instead of a default table like view from the interactive reports. So in this case i enabled the detail view so i could make fancy designs.
    Do you really need this to be an IR? Other than the detail layout, do you require any of the interactive features? If not, try using a standard report with a custom report template.

  • Full true Administrator Privileges and rights for New User?

    I am wondering how to grant full administrator privileges to a newly created user?
    Here is the environment:
    Windows 2012 Server 64bit
    Not part of a domain <WORKGROUP>
    Here is the problem:
    I created a new user we will call them "SecondaryAdmin", and made them part of "Administrators" group as well as the "Remote Desktop Users" group.
    I login through an RDP session as "SecondaryAdmin", I go to a command prompt, and I run IISRESET and it tells me:
    "Access denied, you must be an administrator of the remote computer to use this command. Either have your account added to the administrator local group of the remote computer or to the domain administrator global group."
    Additionally, I have IE Enhanced Security turned off, but if I open Internet Explorer while logged in as "SecondaryAdmin" it still displays the IE Enhanced Security warnings.
    Also, if I try to copy a file to the root "C:\", it gives me "Access denied error" forcing me to continue with elevated administrator privileges.
    If I run the command prompt as "administrator" I can do an IISRESET without error.
    If I run Internet Explorer as "administrator" I do not get the warnings.
    If I run windows explorer as "administrator" I do not get the access denied.
    However, I WOULD NOT trust this "SecondaryAdmin" account to install ANYTHING. Even if you ran the install executable as "admin", often times these install files will fire off secondary scripts that wont be fired off as "admin",
    which may lead to incomplete or corrupt installs.
    This changed from Windows 2008 R2 to Windows 2012.... If I do the same exact thing in Windows 2008, I am able to do all the above things without prompt or error.
    So how can I give a new user true, full, elevated, admin privileges without having to run everything as administrator? Some obscure setting in GPO? Some registry setting (already tried LocalAccountTokenFilterPolicy)?
    What I have tried:
    UAC is OFF
    Firewall is OFF
    IE Enhanced Security is OFF
    Remote Management/Desktop Enabled
    User part of Administrators Group and Remote Desktop Group
    Used "netplwiz" to verify user is Administrator
    Please help!

    Hi Chris,
    I appreciate your answers, however, this is not what I am looking for.
    I want the "SecondaryAdmin" user, who is part of the Local Admininstrator group, to have full Admin access.
    I DO NOT want them to have to do anything special, or have any user intervention.
    NO yes/no dialog boxes
    NO clicking "Run As Admininstrator"
    NO changing shortcuts or executable file properties to always "Run as Admin"
    I simply want the "SecondaryAdmin" account, which is part of the "Administrators" group, to have the same access and run the same seamless way it did in 2008 R2, with no user intervention required.
    This is what I am looking for.
    Kind Regards,
    James

Maybe you are looking for