Can not query PQH_BUDGET_DETAILS in SQL*Plus

Hi!
I can see the Positions in the Forms-Mask within EBS.
I want to write a concurrent Programm which queries some data form the positions-table.
If i klick on "Help > Diagnostics > Examine" and select "system.last_query" i can see, that the data comes from a view called: "PQH_POS_BUDGETS_V".
But if i try to query this view in SQL*Plus, it is empty.
So i had a look at how this view is build, and i found, that the base tables should be PQH_BUDGETS and PQH_BUDGET_DETAILS.
How can i query the position_id in PQH_BUDGET_DETAILS in a concurrent program or an self-writen BI Publisher Report?
If i try to query in SQL*Plus it's empty.
Who can help me with this issue?
Thank you for your help!
Best regards,
Thomas

Hi!
Thats great!
Thank you very much!
Best regards,
Thomas

Similar Messages

  • [nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query

    Hi,
    On my local OBIEE 11.1.1.5 Windows 64 bit, I get [nQSError: 13049] error all the time. I understand this must be my configuration is wrong somehow, but comparing with correct installations I can't find a clue, and can't find anything from google either.
    Could you please suggest what can be wrong? How to add permissions?
    - log in to obiee as weblogic/welcome1
    - Administration -> Manage Privileges
    - get: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 13049] User 'BISYSTEMUSER' with 'empty' permission can not query user population.Please have your System Administrator look at the log for more details on this error. (HY000)
    I have
    - console: myrealm->Users->weblogic and BISystemUser, both in Administrators, BIAdministrators groups
    - em: bifoundation_domain->Security->Credentials, system.user=BISystemUser
    Thanks,
    Wei

    Try doing the following things:
    1) Make sure the user ID you are using as BISystemUser in EM is linked to the BISystemuser role
    2) Add the weblogic user ID to Bi administrator role. ( Do the association in EM ).
    This should solve your problem.
    Thanks,
    -Amith.

  • Apex 4.0 - Can see view data in SQL*Plus but no data in Object Browser

    Hi There,
    I have just started using Apex 4.o and migrated some apps. I have an issue with a report, but see the same issue with Object browser, which is easier to describe.
    I have a view:
    create or replace view V_PLJ_USERDEF_CODES (
             CODE_SET_ID,
             CODE_SET_CODE,
             CODE_SET_DESC,
             CODE_ID,
             CODE_SYS_CODE,
             CODE_VALUE,
             CODE_DESC,
             DISPLAY_SEQ,
             DISPLAY_FLAG,
             LANGUAGE_CODE) as
      select CS.CODE_SET_ID,
             CS.CODE_SET_CODE,
             CS.CODE_SET_DESC,
             C.CODE_ID,
             C.CODE_SYS_CODE,
             C.CODE_VALUE,
             C.CODE_DESC,
             C.DISPLAY_SEQ,
             C.DISPLAY_FLAG,
             C.LANGUAGE_CODE
        from PLJ_CODES C,
             PLJ_CODE_SETS CS
       where C.CODE_SET_ID         = CS.CODE_SET_ID
         and CS.CODE_SET_TYPE_CODE = SYS_CONTEXT('PLJUMPSTART','C_USERDEF_CODE_SET');This returns data in SQL*Plus, but no data in Object Browser OR report region based on this view.
    Workspace parses in the same schema as tested in SQL*Plus.
    If, in report, I swap out view, and use underlying table - no problem.
    Any ideas -
    thanks
    P

    Hi all,
    Thanks for getting back so promptly.
    It just seems weird to me, as tables are just fine, but not views.
    In the underlying schema:
    SQL> sho user
    USER is "ICSREPORTING"
    SQL> select count(*) from plj_codes;
      COUNT(*)
           107
    SQL> select count(*) from v_plj_userdef_codes;
      COUNT(*)
            29And in the APEX schema
    SQL> sho user
    USER is "APEX_040000"
    SQL> select count(*) from icsreporting.plj_codes;
    select count(*) from icsreporting.plj_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> select count(*) from icsreporting.v_plj_userdef_codes;
    select count(*) from icsreporting.v_plj_userdef_codes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>However, in SQL browser, I can see the data in PLJ_CODES but in V_PLJ_USERDEF_CODES, just the message "This view has no data". Indeed, it is like this for all views.
    I even explicitly granted access to APEX_040000 but no good.
    In fact, I would like to know more about how Apex gets access to do DML against the underlying parsing schema(s).
    This is a little frustrating though. It worked just fine in lots of apps in version 2.1 to 3.2
    Am I missing something
    paul
    p.s I knew there would be a question about the context, but I had already checked that. :)
    Edited by: PJ on Nov 19, 2010 4:09 AM

  • Can not display Chinese on discoverer plus

    i have moved this thread to this forum from discoverer.
    Dear,
    ebs 12.0.6
    OS OUL5x64
    AS 10.1.2.3
    using bi 10.1.2.3 with discoverer
    Discoverer Version:Server 10.1.2.55.26
    when connect to the viewer like
    http:10.10.10.10:7778/viewer
    it could display the Chinese character correctly
    when connect
    http:10.10.10.10:7778/plus
    the Chinese became square boxes.
    Please advise how to fix this error.
    Regards,
    Tom

    Hi Huusein,
    i found these file in application tier, they were all upper case.
    ALBANWTJ.ttf
    -rw-rw-r-- 1 oracle oinstall 18777080 Dec 29 2006 ALBANWTK.ttf
    -rw-rw-r-- 1 oracle oinstall 18676032 Dec 29 2006 ALBANWTS.ttf
    -rw-rw-r-- 1 oracle oinstall 18788548 Dec 29 2006 ALBANWTT.ttf
    copied them over and restart the opmnctl stopall and then startall but the discoverer/plus could not display Chinese, i then renamed it to lower case according with doc # Doc ID:      340944.1
    and restart the opmnctl again but it still could not display Chinese in discoverer/plus
    these files (5) from the doc 340944.1 but my actual from appl Tier only has 4 files with all upper case.
    AlbanWTJ.ttf
    AlbanWTK.ttf
    AlbanWTS.ttf
    AlbanWTT.ttf
    ALBANYWT.ttf
    can you please give me some suggestions.
    Regards,
    Tom

  • Can we invoke sqlloader from sql * plus

    Hi,
    I need to invoke sql * loader from sql plus.
    is it possible?

    SQL*Loader is an OS prompt command, why want to use it under sql*plus ?
    Anyway, you can find threads searching to see how run a shell scripts into the database.
    Nicolas.

  • How can I spool file in SQL*Plus using sysdate as filename?

    Dear Oracle Experts,
    Would you help me to solve following problem?
    I want spool a file in SQL*Plus but using sysdate as filename.
    e.g. today is 30-Nov-1999
    then the filename is 19991130.lst
    tommorrow is 1-Dec-1999
    then the filename is 19991201.lst
    My e-mail address is [email protected]
    Thanks!!!
    Tony Sit
    null

    Tony Sit (guest) wrote:
    : Dear Oracle Experts,
    : Would you help me to solve following problem?
    : I want spool a file in SQL*Plus but using sysdate as filename.
    : e.g. today is 30-Nov-1999
    : then the filename is 19991130.lst
    : tommorrow is 1-Dec-1999
    : then the filename is 19991201.lst
    : My e-mail address is [email protected]
    : Thanks!!!
    : Tony Sit
    Tony, hi!
    Let you test this way:
    set ECHO OFF
    set TERMOUT OFF
    set FEEDBACK OFF
    set VERIFY OFF
    SET PAGESIZE 0
    SET LINESIZE 80
    SET HEADING OFF
    spool setout.sql
    SELECT 'SPOOL '

  • Oracle8.1.7 - Can't log in to SQL*Plus

    I have just installed the Course Technology kit for Oracle8i (Oracle8i Personal Edition and Oracle Forms and Reports 6i). I am running Windows 98.
    I am able to start the database and have created the connect string in tnsnames.ora as instructed (I copy/pasted from the website so there shouldn't be any typo's), but when I try to start SQL*Plus and connect to the database I get
    ERROR:
    ORA-12547 TNS: lost contact
    What do I do now?

    GoodDay,
    Ok. You should try to restart the tnslnr.exe,lsnrctl.exe present in oracle/bin directory it should reinitiate the variables and after that one you should also change the contents of Listerner depending upon the type of protocal used such as TCP/IP,IPC etc and you should try Beq_LOCAL.world in Tnsnames.ora file that would help you resolve your problem.
    With Best Wishes,
    M.Ram Chaitanya

  • Can connect to DB via SQL plus but not Toad!

    I have installed: 10GR2 on D drive on XP machine, on C drive i have toad and Dev suite 6i (for connecting to old db's). Now, I can sqlplus from command line no problem, but when I try to connect through toad it says no listener, I also cannot tnsping my 10G db. Any idea's?

    steve contents of Devsuite tnsnames are here: the 10G db is LOCAL
    LOCAL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = weres09023)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = LOCAL)
    EISPATCH =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = rmerptest)
    (PORT = 2011)
    (CONNECT_DATA =
    (SERVICE_NAME = EISPATCH)
    MKPEURT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = KARL)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEURT)
    MKPEUR =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = BARNEY)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID = MKPEUR)
    UAT =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 1800)
    (CONNECT_DATA =
    (SID = UAT)
    DEV11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = drerptest)
    (PORT = 1700)
    (CONNECT_DATA =
    (SID = DEV11)
    PROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbprod)
    (PORT = 1600)
    (CONNECT_DATA =
    (SID = PROD)
    UPGD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = tcp)
    (HOST = rmdbtest)
    (PORT = 2200)
    (CONNECT_DATA =
    (SID = UPGD)
    which net manager? the 10G home or the Devsuite home?

  • Can not see all the SQL server views

    My SQL Server 2005 (SP2 STD)  has about 1000 views. When I created a Crystal Report using Crystal Report 10, I can only see about 225 views are listed in Database Expert. Here is the procedure to reproduce the problem:
    1. Create a new Crystal Report
    2. Create a new connection using ODBC RDO
    3. Drill into DSN Name->DB Name->dbo->Views. Only the first 200 or so views in alphabetical order are listed on Available Data Sources on the left pane.
    I am using SQL authentication and sa account to connect to SQL. So security should not be the problem. I can also use Access 2003 linked table to see all the views in my SQL server.
    Is there a restriction on how many views can be listed in Crystal Data Source? Is there another way to add data source to Report without using Database Expert?
    Thanks in advance!

    Youdao,
    There is a default limit of 8000 objects that Crystal will see in the database.
    I would suggest right clicking on your datasource and selecting Options. In the Data Explorer uncheck Tables and Stored Procedures leaving Views selected > press OK > then right click again and refresh.
    If the limit was being reached then you should now see at least more Views if not all.
    The default limit can be edited in the Registry (*Always recommended to back up the registry before editing).
    The key is HKEY_CURRENT_USER > Software > Crystal Decisions or Business Objects > (version number) > Crystal Reports > Fetch options > NTablesMax

  • Can not query AP Payment Batch.

    Hi All,
    Our payables department setup a payment batch today and it completed without any error. When we try to query the batch by batch name, the query returns nothing. We can see the rest of the batches that were processed today but not this one.
    Is this a known bug or something?
    We are on 11.5.9/9i.
    The invoices in this batch show 'Selected for Payment' status. I truncated ap_selected_invoices (after backing it up) but these invoices still show 'selected for payment' status.
    Thanks
    A/A
    Edited by: asgar_amin on Nov 30, 2010 12:15 PM

    Is there any other way to unselect these invoices??
    Anyone please??

  • BI Publisher can not establish connection to SQL Server.

    Hi,
    We are trying to create a connection from BI Publisher to SQL Server database. However, we are getting a message 'Could not establish connection'. We tried to google to find a solution.
    We are not sure what the problem is. We can ping to the SQL Server machine from the BI Application Server.
    Apparently it looks like the required JDBC Driver files are missing. We are using OBIEE version 11.1.1.3.0 and 11.1.1.6.0. How do we know whether or not we have the correct JDBC driver file? And also, where we should copy the JDBC driver/jar files to.
    Any help will be highly appreciated.
    Thanks and regards,
    Manoj.

    Hi Parham,
    Thanks for your reply.
    The "Use System User" check box is disabled. The default value for 'Database Driver Class' is "hyperion.jdbc.sqlserver.SQLServerDriver". Should that be correct?
    We have SQL Server 2012 but 'Driver Type' shows only two versions of SQL Server - 2005 and 2008.
    Folder 'C:\oracle\product\11.1.1\obiee11\wlserver_10.3\server\lib' contains three .dll files: "64sqljdbc.dll", "x64sqljdbc.dll" and "sqljdbc.dll". And "wlsqlserver.jar" is present too in the same folder.
    Any pointers, please?
    Thanks,
    Manoj.

  • Can not query from v$instance and v$session from within Pro*C program

    Hi there,
    We have Oracle 10.2.0.1 enterprise edition running on Linux (Red Hat 4 ES)
    Our Pro*C developer tries to query the version from v$instance view and is getting errors when compiling his Pro*C programs.
    The related Oracle user account has the SELECT ANY DICTIONARY privilege, so if he tries from the sqlplus, he has no problem querying the v$instance or v$session views. His problem is when he is trying to compile his Pro*C program against the very same Oracle account.
    Any help/input is greatly appreciated.
    R/ Zafer
    Here are the errors he is getting:
    Pro*C/C++: Release 10.2.0.1.0 - Production on Thu Jun 24 12:54:04 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    System default option values taken from:
    /home/oracle/product/10.2.0/Linux6
    4/precomp/admin/pcscfg.cfg
    Error at line 150, column 4 in file ../database.pc
    EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
    ...1
    PLS-S-00201, identifier 'V$INSTANCE' must be declared
    Error at line 150, column 4 in file ../database.pc
    EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
    ...1
    PLS-S-00000, SQL Statement ignored
    Semantic error at line 150, column 4, file ../database.pc:
    EXEC SQL SELECT version INTO :inputLine FROM V$INSTANCE;
    ...1
    PCC-S-02346, PL/SQL found semantic errors

    I issued FULL DB EXPORT / IMPORT privilege to the related Oracle user account and it works now.

  • NOT getting output in SQL PLUS

    Hi guys.......
    I have one table.fields are like EMP_CODE,ATTENDENCE.
    attendence are in like PPLLAAPPLL.
    i want to calculate no of P ,L,A.
    I wrote one procedure but it is not giving any output.
    create or replace procedure EMP1 as
    CURSOR c1 IS SELECT eam_daily_status FROM payream_test
    WHERE eam_year_month = '201109';
    v_eam_daily_status payream_test.eam_daily_status%TYPE;
    v_emp_code payream_test.eam_emp_code%TYPE;
    PRSNT VARCHAR2(2);
    LV_DAYS VARCHAR2(2);
    LV_TIMES VARCHAR2(2);
    REST VARCHAR2(2);
    N NUMBER := '1';
    L_VER NUMBER := '0';
    L_LENGTH NUMBER;
    v_sub varchar2(1);
    BEGIN
    FOR I IN C1
    LOOP
    l_length := LENGTH(I.eam_daily_status);
    for j in 1.. l_length
    LOOP
    V_SUB := SUBSTR(I.EAM_DAILY_STATUS,1,N);
    IF (V_SUB = 'P' OR V_SUB = 'X' OR V_SUB = 'N' OR V_SUB = 'T'
    OR V_SUB = 'B' OR V_SUB = 'K' OR V_SUB = 'I' OR V_SUB = 'Y')
    THEN PRSNT := PRSNT + 1;
    L_VER := '0';
    END IF;
    IF (V_SUB = 'G' OR V_SUB = 'C' OR V_SUB = 'H' OR V_SUB = 'M'
    OR V_SUB = 'S' OR V_SUB = 'Q' OR V_SUB = 'L'
         OR V_SUB = 'E' OR V_SUB = 'A' OR V_SUB = 'W'
    OR V_SUB = 'D' OR V_SUB = 'F' )THEN
    IF L_VER = '1' THEN
    LV_DAYS := LV_DAYS + 1;
    ELSE IF L_VER = '0' THEN
    LV_DAYS := LV_DAYS + 1;
    LV_TIMES := LV_TIMES + 1;
    L_VER := '1';
    END IF;
    END IF;
    END IF;
    IF (V_SUB = 'R' OR V_SUB = 'O')THEN
    REST := REST + 1;
    END IF;
    N := N +1;
    END LOOP;
    DBMS_OUTPUT.PUT_LINE('EMP CODE = ' || V_EMP_CODE || ',PRESENT = ' || PRSNT ||',
    LEAVE = ' || LV_DAYS || ',TIMES = ' || LV_TIMES || ',REST = ' || REST);
    N := '1';
    END LOOP;
    end EMP1;
    set serveroutput on
    execute emp1;

    What is the relation with Oracle Forms ?
    Francois

  • I can not get the backup assistant plus to work on LG Enact cell.

    switched from Droid 4 to LG Enact, needed a keyboard and this was only option. The backup assistant does not work I receive an unknown error message daily. Not happy. I have tried Apps, settings, device, apps, All tab, backup assistant, force stop, ok, storage, clear data, ok... then tryed to sync - no go received same error message. help?

        mamajamma,
    Oh my, let's get to the bottom of this! Have you tried removing Backup Assistant off your phone and readding it? What error message are you getting?
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Viewing Binary data in SQL*PLUS

    hi all,
    when i select a table to view the content, i received an error which i shown below.
    SP2-0678: Column or attribute type can not be displayed by SQL*Plus
    the error seems that the binary data cannot be view thru SQL PLUS.
    do anybody have idea to solve this issue.
    thanks in advance
    karthik.J

    Probably you are trying to view BLOB data. Try this to view the data:
    SQL> CREATE TABLE t (a BLOB)
      2  /
    Table created.
    SQL> INSERT INTO t
      2       VALUES (UTL_RAW.cast_to_raw ('Hello World'))
      3  /
    1 row created.
    SQL> SELECT UTL_RAW.cast_to_varchar2 (a) a
      2    FROM t
      3  /
    A
    Hello World

Maybe you are looking for

  • Backup software for 10.2.8

    OK, now that I have an external hard drive - I am trying to backup my Mac on OS 10.2.8. Per input here, I checked out Super Duper. This program does not seem to support OS 10.2.8. I want to back up, but really do not have time to fool with a complica

  • Application builder dll

    Hello, I'm going to build an app.exe for my customer. When I sent it to him he claimes several missing dll's. On my machine I have everything and nothing is missing. Is there a simple way to find out which dll's (and perhaps other things) are necessa

  • Cant get mike selection to work

    I have written my own chat software, and while the webcam selection (in settings) works, when I select different microphones, although they appear in the selection box as if they have changed, the same microphone that was on before, remains on. The v

  • I have an iPhone 4, but the computer does not not recognize, do not recharge the battery if it is off

    I have an iPhone 4, but the computer does not not recognize, do not recharge the battery if it is off

  • Free Plug-ins from OnOne Software

    Dave Cross posted a link to free Plug-ins from OnOne software on his blog this morning. Here is the link: http://davecross.blogspot.com/ I've downloaded them and they work fine with Photoshop, but PhotoFrame and PhotoTools are supposed to work with L