Error while executing query in SQL Developer

I am getting the following error whenever I login to sql developer.
SEVERE 56 0 oracle.jdbc Error while registering Oracle JDBC Diagnosability MBean.
I get below error whenever I execute any query.
SEVERE 70 53918 oracle.dbtools.worksheet.sqlhistory.SqlHistoryTask oracle.dbtools.worksheet.sqlhistory.db.HistoryDB.readHistory(HistoryDB.java:99)
I use following versions
Java(TM) Platform 1.6.0_35
Oracle IDE 3.2.20.09.87
Versioning Support 3.2.20.09.87
I am working on Oracle11gR2.
Please help me to resolve this and let me know if you need more information.

Got same issue with :
Component
Version
=========
=======
Java(TM) Platform
1.6.0_41
Oracle IDE
3.2.20.09.87
Versioning Support
3.2.20.09.87
Alternate path for SqlHistory directory :
C:\Users\USER_NAME\AppData\Roaming\SQL Developer
Best Regards,
F.L.

Similar Messages

  • Web Analysis Error -- Error while executing query and retrieving data

    Regarding Web Analysis:
    We have a number of reports that we created. yesterday they were all working fine. today we try to open them and most are generating an error.
    The error is:
    Error while executing query and retrieving data.; nested exception is:
    com.hyperion.ap.APException: [1033] Native:
    1013033[Thu Oct 22 09:08:17
    2009]server name/application name/database name/user name/Error91013033)
    ReportWriter exit abnormally
    Does anyone have any insight into what is going on?
    My version information is:
    Hyperion System 9 BI+ Analytic Administration Services 9.3.0.1.1 Build 2
    Web Analysis 9.3.0.0.0.286
    Thanks in advance for your help.
    DaveW

    Hi,
    And also click on check option by opening the query in Query designer,as Mr . Arun suggested.
    And if you get any error in checking, see the long message(detail).
    With rgds,
    Anil Kumar Sharma .P

  • Error while executing query in OLAP server

    Dear all,
    we are using APD to extracted sales data for the last 3 months .this APD was executed perfectly till yesterday.
    in today's run APD got failed with error message as below
    "@5C\QError@     Fiscal year variant Z3 is not maintained for calendar year 9999
    "@5C\QError@     Error while executing query in OLAP server; redesign query.
    Please suggest corrective action .
    I have tried executing manually with less selections on creation date by no success..
    regards,
    puru

    Purushotham wrote:
    Hi Jeeth,
    >
    > in query we have selection for " currency type " and created on "  .we are not using fiscal year variant.
    >
    > in first strep of APD design only we have a problem and also recently there are no changes to this APD .
    >
    > It was executed perfectly on till 4th .
    >
    > Edited by: Purushotham on Feb 6, 2012 12:48 PM
    Dear Purushotham, You can maintain the Fiscal year Variant in OB29. 2 possibilities, #1 : Data for the FYV/Year could be wrong. #2 : Updates for Fiscal Year might not have been done. You can maintaine FY varients up to FY 2XXX in your BW system. This should fix the error. The table T009 must be the same as we get when we do OB29 TCode in BW, so via SPRO do rebuild of table again.
    Edited by: Arun Bala G on Feb 6, 2012 4:05 PM

  • Error while executing one pl/sql

    i am facing one error while executing a pls/sql
    kindly suggest the possible cause and solution for the same
    declare
    ERROR at line 1:
    ORA-08102: index key not found, obj# 31850, dba 104863849 (2)
    ORA-06512: at "ERP.DELBATCHID", line 24
    ORA-06512: at line 13

    08102, 00000, "index key not found, obj# %s, dba %s (%s)"
    // *Cause:  Internal error: possible inconsistency in index
    // *Action:  <b>Send trace file to your customer support representative, along
    //           with information on reproducing the error</b>

  • BAM Deployment error - Microsoft.BizTalk.Bam.Management.BamManagerException: The BAM deployment failed. --- Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server "ServerName".

    HI,
    I am getting below error while deploying BAM activity ...Pls help me resolve this issue.
    Microsoft.BizTalk.Bam.Management.BamManagerException: The BAM deployment failed. ---> Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server
    "ServerName". ---> System.Data.SqlClient.SqlException: An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or
    [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed.
    Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias
    to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An
    object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column
    name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing
    or empty. For SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For
    SELECT INTO statements, verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements,
    verify each column has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column
    has a name. For other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For
    other statements, look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.An object or column name is missing or empty. For SELECT INTO statements, verify each column has a name. For other statements,
    look for empty alias names. Aliases defined as "" or [] are not allowed. Change the alias to a valid name.   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 
     at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
    Boolean asyncClose)   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)   at
    System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean
    sendToPipe, Int32 timeout, Boolean asyncWrite)   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteBatches(String cmdText)   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String
    cmdText, CommandType cmdType, Boolean inTransaction, Transaction transaction)   --- End of inner exception stack trace ---   at Microsoft.BizTalk.Bam.Management.SqlHelper.ExecuteNonQuery(String cmdText, CommandType cmdType, Boolean inTransaction,
    Transaction transaction)   at Microsoft.BizTalk.Bam.Management.ViewModule.Create(XmlDocument defXmlDoc)   at Microsoft.BizTalk.Bam.Management.WorkerModule.DispatchOperation(OperationType operation, XmlDocument defXmlDoc)   at
    Microsoft.BizTalk.Bam.Management.BamManager.ProcessOneBamArtifactType(BamArtifactType bamArtifact, OperationType operation)   at Microsoft.BizTalk.Bam.Management.BamManager.ManageInfrastructure(OperationType operation)   at Microsoft.BizTalk.Bam.Management.BamManager.Deploy() 
     --- End of inner exception stack trace ---   at Microsoft.BizTalk.Bam.Management.BamManager.Deploy()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.HandleDeployAll()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.DispatchCommand() 
     at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Run()   at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Main(String[] args)

    Your View Name, OLAP Cube Name and certain other restrictions listed @http://msdn.microsoft.com/en-us/library/aa561577.aspx
    Please review your BAM Definitons.
    Regards.

  • Error while executing query in BEX

    Hi All,
    I am experiencing an issue while executing query on FIAR_C03.
    "Abort No Values could be determined for variable 0P_FVAEX
    Error specify a value for 0P_FVAEX
    Abort system error in program SAPLRRKO and form APPEND_KHANDLE_1-01-
    I had searched SDN forums and found the similar error which is inculded in the below link:
    Bex Variable
    However, the solution specified is only for a particular 3 queries. Also the solution is that the 3 queries(Which are having errors) are replaced by another 3 queries.
    Can anybody help us in this regard.
    Regards
    YJ

    hi JY,
    try 858477 steps for other 'infected' webtemplates ?
    try implement correction in 660514 ?
    (also search other notes with keyword 0P_FVAEX
    e.g 585202)
    hope this helps.

  • ORA-01722: Error while executing query in Query Designer

    Hi All;
    I am getting the below error while executing a query
    ORA-01722: invalid number
    Error reading the data of InfoProvider
    Error while reading data; navigation is possible
    Have anyone encountered this before? How do i resolve this?
    Thanks!
    ~ Arun KK

    Hi,
    Did you checked all the setting required to run this query are present in the Qualtiy system??
    Which means all the characteristics,key figures are in active state.
    Also all the cubes are in active state with no issues with the involved in the dimensions used for the query.
    Also do a check in the query and if you have authorization try to save the same query and execute the saved one again in quality and see if the same error happens again.
    Thanks
    Ajeet

  • Error  while executing query through rsrt

    hello experts,
    I am facing following error while executing one HR query through rsrt.
    "System error in program SAPLRRI2 and form REP_ASSIGN_INITIAL_OPT-01- (see long text) "
    while executing query through rsrt it automatically goes to debug mode, coming out of debug mode i get the screan showing above error message.
    What would be an issue?
    Regards,
    Nirav
    Edited by: Nirav Shah on Apr 21, 2008 8:19 AM

    Hi ramesh,
    I havent kept any execlusion selection. Though i saw long text, it is like this:
    "Diagnosis
    This internal error is an intended termination resulting from a program state that is not permitted.
    Procedure
    Analyze the situation and inform SAP.
    If the termination occurred when you executed a query or Web template, or during interaction in the planning modeler, and if you can reproduce this termination, record a trace (transaction RSTT).
    For more information about recording a trace, see the documentation for the trace tool environment as well as SAP Note 899572.
      Notification Number BRAIN 299 "
    Regards,
    Nirav

  • SQl Error while executing query in BEx

    Hi All,
    We are executing a Report in Bex 7.0 and we get the selection screen once i give the slections and execute it after running for few mins ( say 3 mins), its giving the below error message.
    Error Sql: 1578
    Error ORA-01578 ORACLe DATA BLOCK Corrupted(file #120, block #21118) ORA.
    Errors occured during parallel process of Query 15;RC:3
    Error while reading data Navigation is not possible.
    I have regenerated the Query in RSRT, but no errors from it.
    Other queries are working fine from BEx in the same BW system.
    Plaese provide any inputs on this.
    Thanks & Regardsm
    Ganesh Thota

    HI,
    Try the below sequence, not sure if it works for you.
    Go to query properties
    In advance tab
    Check the box "Allow external access to this query" and re-execute the query
    this might help
    regards,
    ray

  • Error while executing bts_ConfigureBizTalkLogShipping with SQL Server 2012 and BTS 2013

    Hi,
    while configuring the DR site for Log shipping (http://msdn.microsoft.com/en-us/library/aa560961(v=bts.10).aspx)
    exec bts_ConfigureBizTalkLogShipping @nvcDescription = '<MyLogShippingSolution>',
    @nvcMgmtDatabaseName = '<BizTalkServerManagementDatabaseName>',
    @nvcMgmtServerName = '<BizTalkServerManagementDatabaseServer>',
    @SourceServerName = null, -- null indicates that this destination server restores all databases
    @fLinkServers = 1 -- 1 automatically links the server to the management database
    Getting errors while trying to execute the stored procedure "bts_ConfigureBizTalkLogShipping".
    OLE DB provider "SQLNCLI11" for linked server "(null)" returned message "Login timeout expired".
    OLE DB provider "SQLNCLI11" for linked server "(null)" returned message "A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible.
    Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online.".
    Msg -1, Level 16, State 1, Line 0
    SQL Server Network Interfaces: Error Locating Server/Instance Specified [xFFFFFFFF].
    This is very strange because with the same server name (which I am passing in above query) I am able to connect from SQL Server Studio from DR site.
    Any help would be much appreciated.
    Thanks!
    Regards,
    Gautam
    Thanks! Regards, Gautam

    You need to check the DTC Connectivity between your DC and DR SQL Instance. The Linked Server requires DTC connectivity. Secondly this activity is better done from the SQL Server in question (the DC server in your case).
    You can also manually add the Linked Server. Refer
    http://msdn.microsoft.com/en-IN/library/ms188279(v=sql.105).aspx - Linking Servers and
    http://msdn.microsoft.com/en-IN/library/ff772782(v=sql.105).aspx - Creating Linked Servers.
    After having created the Linked Server(s) you can run the log shipping configuration again BUT using @fLinkServers = 0.
    Regards.

  • Error while executing query longer thank 32K using dbms_sql

    Hi,
    I'm using oracle database version is 10.2.0.4.0
    I've a query of size 41K.
    I can't run it with execute immediate, so when I'm running it with dbms_sql I'm getting error -
    ORA-06502: PL/SQL: numeric or value error.
    But when I'm running it in my pl/sql developer it is running fine.
    Code snippet is below
    -- Created on 24/05/2010 by TSHARMA
    declare
    -- Local variables here
    cursor_name INTEGER;
    i integer;
    tc clob;
    begin
    -- Test statements here
    select col1 into tc from temp where a1 = 't1'; --getting the long query from a temp table
    tc := 'create table temp1 as ' || tc;
    cursor_name := dbms_sql.open_cursor;
    DBMS_SQL.PARSE(cursor_name, tc, DBMS_SQL.NATIVE);
    i := DBMS_SQL.EXECUTE(cursor_name);
    DBMS_SQL.CLOSE_CURSOR(cursor_name);
    end;
    -------------------------------

    Hi,
    DBMS_SQL.PARSE is overloaded to accept a VARCHAR2A as the statement parameter. This is a table of VARCHAR2(32767) which can be built up using your long query. I've written the following to handle long CLOB's. Just call the execute_sql procedure passing in the long sql:
    PROCEDURE execute_sql (p_sql IN CLOB) IS
       l_sql_table DBMS_SQL.VARCHAR2a;
       l_ds_cursor PLS_INTEGER;
       l_ret_val   PLS_INTEGER;
    BEGIN
       l_sql_table := populate_sql_table(p_sql => p_sql);
       l_ds_cursor := DBMS_SQL.OPEN_CURSOR;
       DBMS_SQL.PARSE(l_ds_cursor, l_sql_table, l_sql_table.FIRST, l_sql_table.LAST, FALSE, DBMS_SQL.NATIVE);
       l_ret_val := DBMS_SQL.EXECUTE(l_ds_cursor);
       DBMS_SQL.CLOSE_CURSOR(l_ds_cursor);
    END execute_sql;
    FUNCTION populate_sql_table (p_sql IN CLOB) RETURN DBMS_SQL.VARCHAR2a IS
       l_buffer_length CONSTANT PLS_INTEGER := 32767;
       l_lob_length PLS_INTEGER;
       l_offset PLS_INTEGER := 1;
       l_amount PLS_INTEGER := l_buffer_length;
       l_sql_table DBMS_SQL.VARCHAR2a;
    BEGIN
       l_sql_table.DELETE;
       l_lob_length := DBMS_LOB.GETLENGTH(p_sql);
       LOOP
          IF l_buffer_length > l_lob_length THEN
             l_amount := l_lob_length;
          END IF;
          l_sql_table(NVL(l_sql_table.LAST, 0) + 1) := DBMS_LOB.SUBSTR(p_sql, l_amount, l_offset);
          l_offset := l_offset + l_buffer_length;
          l_lob_length := l_lob_length - l_amount;
          IF l_lob_length <= 0 THEN
             EXIT;
          END IF;
       END LOOP;
       RETURN(l_sql_table);
    END populate_sql_table;Hope that helps

  • Error while executing query after migration

    I have migrated a  query to 7. While executing the report following error occurs
    When I attempt to open a query, (I get past the login and query selection screens) I get the following error:
    "Creation of item TEXTELEMENT_xx Failed" (20 or so lines)
    After which the variable entry screen pops up, but no data is displayed when the query returns due to the creation of the elements failing.
    Excel 2007 Office SP2. SAP GUI 710
    Please suggest.
    Regards,
    Raj.

    Hi Raj,
    I also faced this problem with Excel 2007 BI
    I was able to resolve the problem with the following
    This problem is because changes to excel in the 2007
    first try reinstalling the GUI components If it works with the reinstallation then its fine
    if not try Installing FEP 900 (Latest patch for BEX Suite) and GUI 7.10 patch 13
    this definitely solves your problem
    Thank you

  • Error while expanding tables in SQL Developer

    Hi All,
    I am using Oracle 11g, SQL Developer Version 3.1.07,
    I have saved a connection for testing, for the default account (scott/tiger).
    Connection Test is successful, but when I tried to expand the tables folder, it is showing an error.
    Error:
    java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
         at oracle.dbtools.db.DBUtil$15.call(DBUtil.java:959)
         at oracle.dbtools.db.DBUtil$15.call(DBUtil.java:945)
         at oracle.dbtools.db.DBUtil.assertLock(DBUtil.java:1723)
         at oracle.dbtools.db.DBUtil.bind(DBUtil.java:945)
         at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1404)
         at oracle.dbtools.raptor.controls.grid.OracleRSTModel.prepareStatement(OracleRSTModel.java:89)
         at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.openResultSet(ResultSetTableModel.java:458)
         at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.fetchNext(ResultSetTableModel.java:183)
         at oracle.dbtools.raptor.controls.grid.ResultSetTableModel$4.doWork(ResultSetTableModel.java:636)
         at oracle.dbtools.raptor.controls.grid.ResultSetTableModel$4.doWork(ResultSetTableModel.java:620)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:515)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:662)
    Note:
    1. I have tried the query "SELECT * FORM TAB", it fetch all the tables name from the database.
    2. I have the following privilege
    PRIVILEGE
    CREATE SESSION
    UNLIMITED TABLESPACE
    CREATE TABLE
    CREATE CLUSTER
    CREATE SEQUENCE
    CREATE PROCEDURE
    CREATE TRIGGER
    CREATE TYPE
    CREATE OPERATOR
    CREATE INDEXTYPE
    Please suggest me some idea how to solve this issue.

    Hi Kamal,
    Some of the comments in this earlier post may be of help:
    Can't view database objects
    Bottom line: the missing method is found in jdbc jars like ojdbc5.jar and ojdbc6.jar, but not in earlier versions. Not sure of exact names, but probably something that came with an Oracle 8i client (maybe ojdbc14.jar?) or even a (much older) jar like classes12.jar would not have that method.
    If you would rather not clean up this probable ORACLE_HOME conflict, you can try a common workaround noted again today in the forum to force use of the ojdbc6.jar that ships with SQL Developer:
    Re: Migrate from sql developer 1.5x to 3.x
    Regards,
    Gary
    SQL Developer Team

  • CX_SY_NO_HANDLER Error While executing query in RSRT T-Code

    Hi Experts,
    I have created a data source extraction using function module.
    Then i have created customer exit variable, dso, infocube and all....
    my variable name is ZWBS_VAR and
            query name is WBS_VAR.
    while executing this query name I'm getting the exception CX_SY_NO_HANDLER.
    If i use WBS_VAR instead of ZWBS_VAR in when condition.. it is not showing that error.
    this is my code i have written in ZXRSRU01 include.
    DATA:it_wbs_elemt TYPE STANDARD TABLE OF /bic/awbsdsogn00,
         wa_wbs_elemt like line of it_wbs_elemt,
         L_S_RANGE TYPE RSR_T_RANGESID with header line,
         LOC_VAR_RANGE like line of i_T_VAR_RANGE,
         ZLOW TYPE C,
         LV_USER LIKE SY-UNAME,
         lv_user1 LIKE /bic/awbsdsogn00-/BIC/WBSE.
    CASE i_vnam.
    *****************************Start of Code for 'ZWBS_VAR' variable******************************
    when 'ZWBS_VAR'.
    lv_user = sy-uname.
    if lv_user CP '/BIC/WBSE'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    input = lv_user
    IMPORTING
    output = lv_user1.
    CLEAR wa_wbs_elemt.
    SELECT * FROM /bic/awbsdsogn00 INTO TABLE it_wbs_elemt WHERE /BIC/WBSE = lv_user1.
    READ TABLE it_wbs_elemt INTO wa_wbs_elemt WITH KEY /BIC/WBSE = lv_user1.
    IF sy-subrc = 0.
    l_s_range-low = wa_wbs_elemt-/BIC/WBSE.
    l_s_range-sign = ' I '.
    l_s_range-opt = ' EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIF.
    ENDCASE.
    IF I_STEP = 3.
    LOOP at i_t_var_range INTO loc_var_range WHERE vnam = 'ZWBS_VAR'.
    CLEAR : l_s_range.
    zlow = loc_var_range-low.
    lv_user = sy-uname.
    CALL FUNCTION 'CONVERSIOn_EXIT_ALPHA_OUTPUT'
    EXPORTING
    input = loc_var_range-low
    IMPORTING
    output = loc_var_range-low.
    IF lv_user NE loc_var_range-low.
    IF lv_user CP '/BIC/WBSE'.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'RSBBS'
    I_TYPE  = 'E'
    I_NUMBER = '000'
    I_MSGV1 = 'You are not authorized for the WBS ELEMENT'
    I_MSGV2 = loc_var_range-low
    I_MSGV3 = 'Enetr your valid WBS ELEMENT'
    I_MSGV4 = lv_user
    EXCEPTIONS
    OTHERS = 02.
    RAISE Again.
    ELSE.
    l_s_range-low = loc_var_range-low.
    l_s_range-sign = loc_var_range-sign.
    l_s_range-opt = loc_var_range-opt.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIf.
    ENDLOOP.
    ENDIF.
    If you find any errors in this piece of code please let me know..
    Thanks&Regads,
    Sirisha.

    Hey think other way round .
    Filtering the report with the partner(current user executing the report) will suffice your requirement .
    Am I correct ?
    If yes then follow this simple approach .
    Create a variable(mandatory, not ready for input ) of type customer exit on partner infoobject and filter your report with this variable .
    In this way the current user executing the report can see data only related to him .
    Type the below code in cmod .
    WHEN '(give your variable name).
         DATA :lv_bp        TYPE /bi0/oibpartner,
        CHECK i_step EQ '1'.
        lv_bp = sy-uname.
        IF lv_bp IS NOT INITIAL.
          lv_bp = ( sy-uname ) .
          CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
            EXPORTING
              input  = lv_bp
            IMPORTING
              output = lv_bp.
          l_s_range-sign = 'I'.
          l_s_range-opt  = 'EQ'.
          l_s_range-low  = lv_bp .
          APPEND l_s_range TO e_t_range.
          CLEAR : l_s_range,lv_bp.
        ENDIF.
    If this approach is not flexible in ur case then let me know will change the code what u have written as I can see many errors in that .
    Also I can figure it out that the whole code is ctrl c ctrl v of that sdn document but his requirement was quite different than yours .

  • Error while connecting database from SQL developer

    Hello experts,
    i have installed oracle 11g R2 database on WIN32 platform, and my database is working in sql plus but while connecting the same via sql developer am getting the following error:
    NO more data to read from socket
    Vendor code 17410
    Kindly suggest.
    Regards,
    KK

    I have restarted the listener service but still getting the same in sql dev
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:56:29
    Uptime 0 days 0 hr. 2 min. 44 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    The command completed successfully
    LSNRCTL> start
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Production
    System parameter file is d:\app\Karan\product\11.2.0\dbhome_1\network\admin\list
    ener.ora
    Log messages written to d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.xm
    l
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521
    ipc)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 05-JAN-2013 21:59:45
    Uptime 0 days 0 hr. 0 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "OIMDB" has 1 instance(s).
    Instance "OIMDB", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    Edited by: 958122 on Jan 5, 2013 9:59 PM

Maybe you are looking for