Problem accessing systable data from user's schema

Hi,
I had a store procedure whose owner is say user1.Inside of that store procedure i am executing the following select query.
select * from sys.all_coloumns where owner = 'USER1';
This is resulting me "no data found".
When i am executing the same select query from SQL*plus it is giving me the proper output.
I think this is happening because of less systeme privileges/role assigned to schema USER1.
Can you please suggest which priviledges i need to grant, so that my proc. will work fine

If the procedure uses definer rights then the definer must have a direct grant on non-owned objects referenced in the procedure for whatever SQL activity is being performed.
HTH -- Mark D Powell --

Similar Messages

  • Problem accessing sys table from user's schema

    Hi,
    I had a store procedure whose owner is say user1.Inside of that store procedure i am executing the following select query.
    select * from sys.all_coloumns where owner = 'USER1';
    This is resulting me "no data found".
    When i am executing the same select query from SQL*plus it is giving me the proper output.
    I think this is happening because of less systeme privileges/role assigned to schema USER1.
    Can you please suggest which priviledges i need to grant, so that my proc. will work fine.

    User1 needs select rights on sys.all_columns directly.
    Not via the DBA role.

  • MapViewer metadata problem - accessing spatial data in a different schema.

    I have a MapViewer application that uses data from three different schemas.
    1. Dynamic Themes come from schema A.
    2. Static Themes come from schema B.
    3. A newly added static theme in B whose data comes from schema C.
    The mapviewer datasource points to schema B where the static themes, data and metadata are defined while the dynamic themes have their own datasource specified as part of addJDBCTheme(...).
    To get the newly added map to work I've had to add a view in schema B that points to C instead of referencing directly the table and I've had to add the metadata twice, once for schema B and once for schema C.
    If I put the metadata in just one of the two schemas I get the following errors.
    08/11/21 13:58:57 ERROR [oracle.sdovis.ThemeTable] cannot find entry in ALL_SDO_GEOM_METADATA table for theme: AMBITOS_REST
    08/11/21 13:58:57 ERROR [oracle.sdovis.ThemeTable] java.sql.SQLException: Invalid column index
    OR
    08/11/21 13:53:39 ERROR [oracle.sdovis.theme.pgtp] java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA view
    It's not a big deal but I'd like to know if anyone else has has similar problems.
    Saludos,
    Lew.
    Edited by: Lew2 on Nov 21, 2008 6:42 AM

    Hi Lew,
    if you are using a recent version (10.1.3.1 or later) there is no need to use a view and to create the metadata in both schemas.
    You need to grant selection on tables between the schemas.
    You can try the following. Assume you have the MVDEMO schema (from MapViewer kit) and SCOTT schema.
    1) grant select on MVDEMO Counties table to SCOTT
    SQL> grant select on counties to scott;
    2) Now you are ready to create a predefined theme in schema SCOTT using the MVDEMO Counties table.
    - Open MapBuilder and loads the SCOTT schema.
    - On the Data navigator (bottom left tree), go to Geometry tables and you should see the MVDEMO node and the COUNTIES node inside it.
    - Start a wizard to create a geometry theme based on this Counties table.
    - At the end you should see that the base table name is MVDEMO.COUNTIES. Therefore MapViewer will use the metadata in MVDEMO schema and there is no need to replicate it in SCOTT schema.
    Joao

  • I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel?

    I have a new Macbook pro and need to run some Windows software, it appears "Parallel" should work well from what I've have read. Will I have any issues or problems accessing and printing from various printers on my Windows 7 network within Parallel? Is Parallel in fact the best way to go?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Unable to access the data from Data Management Gateway: Query timeout expired

    Hi,
    Since 2-3 days the data refresh is failing on our PowerBI site. I checked below:
    1. The gateway is in running status.
    2. Data source is also in ready status and test connection worked fine too.
    3. Below is the error in System Health -
    Failed to refresh the data source. An internal service error has occurred. Retry the operation at a later time. If the problem persists, contact Microsoft support for further assistance.        
    Error code: 4025
    4. Below is the error in Event Viewer.
    Unable to access the data from Data Management Gateway: Query timeout expired. Please check 1) whether the data source is available 2) whether the gateway on-premises service is running using Windows Event Logs.
    5. This is the correlational id for latest refresh failure
    is
    f9030dd8-af4c-4225-8674-50ce85a770d0
    6.
    Refresh History error is –
    Errors in the high-level relational engine. The following exception occurred while the managed IDataReader interface was being used: The operation has timed out. Errors in the high-level relational engine. The following exception occurred while the
    managed IDataReader interface was being used: Query timeout expired. 
    Any idea what could have went wrong suddenly, everything was working fine from last 1 month.
    Thanks,
    Richa

    Never mind, figured out there was a lock on SQL table which caused all the problems. Once I released the lock it PowerPivot refresh started working fine.
    Thanks.

  • How to bind the data from user table into user report

    Hi All,
      Please assist me to bind the data from user table into user report. I did create an user table with data and create a user report template (using Query Print Layout). How can I display my data into report format which I created before? Any sample program or document I can refer?
    Platform: SAPB1 2005A
    Add On Language: VB.Net 2003
    Thanks.
    rgds
    ERIC

    Hi Ibai,
      Thanks for your feed back. I give you an example.
    Let say now i wanna print employee list, so i will go
    1. Main Menu -> Reports -> HR -> Employee List
    2. Choose the Selection Criteria -> OK
    3. Matrix will display (Employee List)
    4. I can print the report click on print button
    5. Printing report
    My target
    1. Main Menu -> Eric_SubMenu -> Employee List
    2. Matrix will display (Employee List)
    3. Print button
    4. Print report
    My problem
    Now I would like to use my own report format. My own report format means I wanna add on my logo or do some customization within the employee report. So how I am going to do? I only able to display the employee list in matrix. How do I create a new report format and display it.
    Thanks.
    rgds
    ERIC

  • Is there a way to Hide data from Users in Cubes?

    Hello All,
    Is there a way that I can easily hide data from users. For instance, in the XYZ cube we have data loaded through the year 2005. Is there a way for me to still keep the data in the cube; however, just hide 2005 so when users go in they do not see the year 2005. I know we can set filters and then apply "none" on select members. But the disadvantage with this is the data at the top level shows up as No access and it is only when the users drill down will they be able to see the data. So instead is it possible to hide data with everything else just normal?
    Thanks,
    Ted.

    Celvin Kattookaran wrote:
    With MetaRead Year will show up as "No Access"/Missing for users. http://docs.oracle.com/cd/E12825_01/epm.111/esb_techref/frameset.htm?maxl_meta_read.htm
    Thanks for the reply Celvin, So I understand from the link you posted that when using metaread the data of the ancestors is hidden. However in our case Years data is not getting hidden.:)
    I think this is because Under years we have CY, LY-1, LY-2, LY-3,LY-4,LY-5,LY-6,LY-7 as children. However Only CY Consolidates to Year. So I create a metaread to include CY, LY, LY-1,LY-2,LY-3,LY-4,LY-5,LY-6 members and not LY-7. As a result my Year still includes data as CY is included in the metaread filter.
    So this tells me(please please correct me if am wrong) it is not a must like indicated in the technical reference that data will be missing/No Access for ancestors of the metaread members. Data will be shown as No Access/Missing for an ancestor only if the members the ancestors consolidate from are not included in the metaread! Please let me know if this is right. I have verified it on my end but I would like to know what you think as Tech Reference sounds like "if metaread read filter is used, ancestor data will be hidden" which is not true.
    Thanks,
    Ted.

  • I have Problem in fetching data from CONTROL BLOCK

    Sir,
    I am facing problem in fetching data from control block.
    Asif.

    is your control-block a filter-block for the detail-block?
    Do you want to see only the detail-data of the user-id you have displayed in the master?

  • Accessing External Data from SharePoint 2010

    I want to access external data from my SharePoint site.
    I'm told that I need to follow these two articles.
    http://msdn.microsoft.com/en-us/library/ff953161.aspx
    http://msdn.microsoft.com/en-us/library/ff625800.aspx
    I followed the first article but I get this error when I open the external list in my SharePoint site:
    "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."
    I don't know how to write a custom code
    BTW I have installed PowerPivot on my SharePoint server.
    Can someone please help me? I need to do this very quickly.

    Hi,
    Can you please elaborate whether the data you are getting is from excel file or from database.
    1. If you are populating it from excel , then you can use the Excel service, Power pivot etc mechanism.
    2. If you are getting it from SQL database then you can use BCS service application and use the OOTB external list and content type to display the same in your home page.
    Links of artcles are given below.
    http://www.concurrency.com/blog/accessing-external-data-using-business-connectivity-services-in-sharepoint-2010/
    http://msdn.microsoft.com/en-us/library/ff677562(v=office.14).aspx
    Hope this will help.
    Thanks and Regards, -- Santanu Kumar Choudhury ----- SharePoint 2007/10/13 Developer

  • EVDRE error "encountered problem when retrieving data from webserver"

    Hi,
    in a EVDRE we always get the error "encountered problem when retrieving data from webserver"
    When analysing this further we noticed this is always generated when a base member is selected in the CV and the expansion on the row for this dimension is has one of the following expansion settings:
    DEP
    ALL
    NOEXPAND
    if we select SELF, the error disappears again and the EVDRE works fine again ... is this normal behavior?
    there is no problem with application nor dimension.
    D
    solved it

    Note that the keyword "ALL" does not include the member itself. This may cause some confusion, but as Harish implies, when you select a base member it finds no matches if your memberset is "ALL".
    If you want to design a report to handle the user moving back and forth between base and non-base members in their CV, you either need to include SELF,ALL or SELF,DEP, or something similar....
    OR you need to get a little fancier, and use EVPRO to look and see if the CV member is base -- evpro(app,member,"CALC") -- and then use some conditional logic in Excel to choose the correct expansion options. If Calc=N, use Self, otherwise use SELF,DEP or whatever you choose. This can be a bit tricky if you then want the user to be able to drill down in the report (especially if you want the workbook option to insert add'l rows on the expansion, rather than replace), but it's all possible.

  • Catalog Browser for iPhone (Accessing BI data from iPhone)

    Hi All,
       There is a prototype from innovative centre called "Catalog Browser for iPhone" which is used for accessing BI data from iPhone. Do anyone have any idea if this is ever productized for sale by SAP??
       Is there any other approach for accessing BI data from iPhone? Any help will be highly appreciable.
    Thanks,
    Raja Sekhar K

    Hello Damondhar,
    I agree with Mr. Villalba, you should use the information brodcaster to broadcast precalucated views or workbooks to Knowledge Management in the portal. This can be done by events, e.g monthly. Your external users will then have accees to the directory in which the reports are saved (through KM iviews).
    Have you read on help.sap.com,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/index.htm -> SAP Netweaver by Key Capability -> Information Integration -> Information integration .. -> Business Intelligence -> BI Suite: Business Explorer ->  Integration of BI Content in Portal
    And
    BEx Web Application or Query As Document or Link in KM, http://help.sap.com/saphelp_nw2004s/helpdata/en/bc/7efa40dd14f06fe10000000a1550b0/content.htm
    Best regards,
    Jørgen Ruud

  • Regarding Native SQL to access Oracle Data from SAP

    Dear Gurus,
    This query is regarding Native SQL.
    Our database is Oracle and the client's database is also Oracle.
    To access the data directly from the client's database(Oracle), can I use Native SQL commands?
    Is there any disadvantage to use Native SQL?
    If Native SQL can be used, can any one send me the code to access the data from Oracle?
    Points will be rewarded.
    Thanks & Regards,
    Neeraj K.

    The problem is always data integrity. Doing things this way you are bypassing any business logic. So for example if you are connecting to a SAP Oracle database. SAP will not support your SAP system as you are doing direct updates to the database. I would suppose that this would be the same for any other product using the Oracle database. If you are only reading data from the database then it should be fine. I would however always using API's to access/update data.
    Regards

  • Problem while retrving data from a view

    Hi Friends
      i have a problem while retriving data from a view <b>v_t685a</b>.
    the error message is :""" "V_T685A" is not defined in the ABAP Dictionary as a table, projection view or database view."""
    i wrote : select single VTEXT1 from V_T685A into w_cst_jin1 where
                        KSCHL = 'JIN1' and
                        KAPPL = 'V'.
    how to retrive the data.
    waiting for quick response
    Regards
    Mukesh

    Hi
    This is a Maintenance View, not a Database View
    SO can't fetch data using select statement.
    You can use the Table <b>T685</b> directly to fetch the condition Types data straight away instead of the view. write the same select for this table and use.
    Regards
    Anji
    Message was edited by:
            Anji Reddy Vangala

  • Problem in passing data from 1 screen to another using BBP_DOC_CHANGE_BADI.

    Hi Experts,
    i am new to the SRM, i am facing problem in passing data from one screen to another.
    my requirement is that when we select one shopping cart and press the PROPOSE SOURCES OF SUPPLY button, we will fetch all the contracts that are attached to the shopping cart.
    we have implemented a BADI implementation of BBP_SOS_BADI (method BBP_SOS_CHECK) for passing some changed values to the contracts of the shopping cart into the popup screen that is displayed when we press PROPOSE SOURCES OF SUPPLY button and when we select any contract and press ASSIGN ONLY button in the popup screen the badi BBP_DOC_CHANGE_BADI is triggered.
    i have implemented another BADI implementation of BBP_DOC_CHANGE_BADI for fetching the selected contract and pass the values to another screen, but the problem is that when we select one contract and press the assign only button we are fetching the wrong contract number ( that is in the BADI method BB_SC_CHANGE parameter IT_ITEM we are fetching the wrong contract), if we again do the same procedure for the second time we are getting the correct contract.
    i am unable to understand why we are getting the wrong contract in the first time( that is we are getting contract other than the selected one).
    as per my understanding i think when we are passing data to the popup screen using BBP_DOC_CHANGE_BADI we are not updating the shopping cart with the changed data.
    can anyone tell me how we can update the SHOPPING CART with the changed contracts data, i have used BBP_PD_SC_UPDATE, BBP_PD_SC_SAVE and other shopping cart FM but nothing is happening.
    Thanks
    Tanveer

    Hello,
    What version of SRM are you on?  Have you check for OSS Notes?  I have had trouble with BBP_DOC_CHANGE_BADI but it was because of other issues.  The BADI works pretty well and it is called almost every time something happens to the shopping cart.
    I have noticed that sometimes that values are not changed til the second calling of the BADI.  I have yet understand why but I think it has to do with prompt processing. Usually, we train our requisitioners to click the 'Check'  button to flush things out.
    I don't know if I was helpful.... another thought.... could there be an error caught by BBP_DOC_CHECK_BADI that is preventing change in BBP_DOC_CHANGE_BADI?
    Regards, Dean.

  • Propagate Data from User Profile to Resource Process Form doesn't work

    Hi,
    i've created a new custom task for Propagate Data from User Profile to Resource Process Form with a gtc connector but the task is never triggered!!!
    i need clues to resolve this .
    thnks.!!
    oim 11g 11.1.1.5 bp4. high availability with 2 nodes and a balancer.

    Hi Rajiv:
    ->Did you make that entry in Lookup as mentioned in that thread/post ?
    ANSW: yes.
    ->Did you use exact naming convention for your tasks ?
    ANSW: yes i put the same name that i put in the lookup into my process from.
    In which process definition have you created your task. Make sure it should be other than "Xellerate User" process definition.
    ANSW: PROCESS DEFINITION: * iPlanet User
    *TB_BAN1_AUR_GTC
    *TB_BAN5_AUR_GTC
    *TB_BAN3_AUR_GTC
    etc.. GTC conector.
    i have a test environment where this functionality works succesfully and i put the same in my production environmnet and the task never is triggered.

Maybe you are looking for

  • Need details on usage of "createStatement" of OCCI, for less parse calls

    Hi All, I am working on CPP code where i am using OCCI for connecting to database and perform actions like INSERT, UPDATE, DELETE etc. on different tables (which includes huge tables which contain millions of records). I have requested for AWR report

  • Help required for update SQL

    Hi Guys, I am looking for some help to frame the update query. I have two tables temp_1 and temp_2. I want to update temp_2 based on data from temp_1. However i do not want to make an update where temp_1 has null value. One approach i can think of is

  • How to display PDF on each device

    We observed some mobile devices don't open the PDF directly and start to download. Does this depend on OS, Browser or something else? We tested iPhone and Android. Android starts to dawnload PDF by clicking PDF on our application. User has to open th

  • Build in a crucial M500 SSD into a Mac Book Pro 2013 - now it crashes

    Hi guys, first of all greetings from Germany, I hope you can understand my horrible english Today I bought a Macbook Pro together with a Crucial M500 SSD harddisk. With the standard HD the Macbook runs perfect. But when I start it with the new SSD th

  • Checked out as Guest/No verification

    I've seen a few of these and was just wondering if one of the mods could look up my order number through this email address. I didn't write it down and never got the email.