Error in answers while querying the same data

Hi folks,
i posted this question in forums, but found no answer
this is Oracle Delivered RPD. in answers - Presentation Columns where when i select a column(Division Name), its shows me Name of the Division Names. if i select the same Presentation Column with some other column(Division Number or any other column), this Division Column Names changes to Division Number. as it is delivered content, i went throught the Logic in the RPD and they all looked good. where might the problem we can guess. also to mention: this Organization name is logically connected to two sources i.e. two tables.
thank you
kumr

first clear the cache and run the reports. Some time the result might be hitting the cache.
Second have you checked the query log, Check sql queries for both criterias and compare. that will give you a clue.

Similar Messages

  • Error while adding a second template to the same data definition

    Hi,
    I am quite new to XML Publisher. I am developing a report using XML Publisher.
    I have added one template to the Data Definition. When I tried to add another Template(with different name as previous, to the same concurrent program and application) to the same Data Definition I am getting the following error.
    Error: You entered a duplicate template entry. Please change the Name, Code and/or Application and reapply.
    Can anyone help me out solving this problem. I am reaching my deadline. Please suggest me what can be done.
    Regards,
    Sita

    Hi
    Try to change the Template code name also and then check it.
    Thanks
    Sudheer

  • Multiple reads of the same data from Multiprovider by Query (Bex)

    Hello, guys!
    We're having issue with performance of a query built on Multiprivider. During our investigation, we've found out that within one run of a Query, it several times refers to InfoProvider for the same data (see image attached).
    Do you have ideas what can be a reason for multiply reads of the same data from Multipvovider?

    Hello Nikita,
    By "copy of a query" i meant something like this as shown below :
    *Kindly click on the screenshot for a better view.
    1) See the highlighted portions below in the screenshot . See Query 2 highlighted and name of the BEx query highlighted.
    2) See the highlighted portions . See Query 3 highlighted and name of the BEx query highlighted.
    As you can see from the above screenshots i have used the same BEx query 2 times by the name of Query 2 & Query 3 . Infact i have not attached the complete screenhsot . In that i have used it 6 times.
    I have to analyze this a bit in detail but what i am guessing is that when this WEBi is called the single BEx is also called multiple times. And hence it hits the Info Provider multiple times resulting in a decreased performance.
    But this does not mean that this is wrong approach. There are various areas where you can improve for example :
    1) Either improve your BEx query if possible or use aggregates or something like that .
    2) Use the  Query stripping setting in WEBi so that unused dimensions and measures are not pulled resulting in an improved performance. It's switched on by default.
    Thanks!!
    Regards,
    Ashutosh Singh

  • I currently have one input but need to run two loops. I cannot get the two while loops to run so that they both pick up the same data, they are both picking up alternate samples. How can I get them to both pick up all of the values?

    The system I am trying to create calculates a number of values based on an input. I need to make the calculations and display the values for an entire production run and for each hour. The only way I know to do this is to create two while loops, one looking at all the values that are received and one looking only at the values for hour long periods.
    Any help would be great.
    Thanks
    RossH

    Why do you think that you have to have two loops to accomplish this task? Why not use one loop and accumulate the same data into two data sets based on the two sets of criteria?

  • Error while activating the Master Data InfoSource for attributes

    Hai
    Im trying to load the attributes for master data characteristics .
    I created the InfoSource and when im trying to activate it .
      Then it gives the following error like below
    Diagnosis
    An error occurred in the program generation:
    Program / Template:   RSTMPL80
    Error code / Action: 6
    Row:        505
    Message:    The data object "P_S_COMM" has no component called
    Procedure
    If the problem occurred during the data load or transport, activate the transfer rule.
    If the problem persists, search in the SAP note system under 'RSAR 245'
    So please tell the what is the error and how to resolve this issue.
    And pls give the error 'RSAR 245' message from SAP note system.
    I will assign the points
    bye
    rizwan

    hi Rizwan,
    check if helps Note 602318 - RSAR 245 error analysis with RSTMPL80
    Summary
    Symptom
    The process of generating transfer rules or loading data terminates with error RSAR 245.
    The long text for error message RSAR 245 indicates the cause of the generation error.
    1. Error code: 6
    a) Message: The P_S_COMM data object has no component
    This is very likely to be due to an 'obsolete' communication structure.
    b) Message: <table name> is already declared.
    c) Other messages
    2. Error code: 7
    Other terms
    RSAR245, RSAR 245, activate transfer structure, monitor, request
    Solution
    1. Error code: 6
    a) 'Obsolete' communication structure:
                Due to an optimization algorithm, pressing the 'Generating button' does not have any affect on the communication structure. Therefore, use the following workaround:
    Select 'Communication structure' -> 'Change'.
    Add any InfoObject (for example, '0MATERIAL') to the communication structure -> 'ENTER'.
    Communication structure ---> 'Save'
    Selet the InfoObject you inserted and delete it.
    Communication structure ---> 'Save'
    Communication structure -> 'Generate'.
    a) Message: <table name> is already declared. Check whether the local part of your routines contains TABLE statements. TABLE statements always have global validity and should therefore be in the global part of the routine.
    b) If the error occurs when data is being loaded, the transfer rule should be generated using RSA1.
    In many cases, generating transfer rules using RSA1 results in a detailed error message.
    2. Error code:
               Program to be generated is locked by parallel process.
    This error can sporadically occur if parallel processes simultaneously try to generate the same program.
    Unfortunately, you cannot completely prevent the error from occurring since these types of lock situations can still crop up during data loading in parallel processes. We are currently working on improving system stability relating to lock situations during the load task.
    Reloading usually works without any problems.

  • Error while checking the rate data through installation

    Hi everyone,
    I am facing an error message while checking the rate data for an installation:
    "Internal error: Error when reading internal table IEGER in ISU_O_DEVICERATE_OPEN".
    Please guide.
    Thanks and Regards

    Hi,
    The error comes from FM  ISU_O_DEVICERATE_OPEN include LEG70F40 line number 2555.
    It is giving error on following code of line in FM.
          find the serialno.
            loop at ieger into eger_wa
              where equnr = reg_wa-equnr
              and   ab   <= reg_wa-ab
              and   bis  >= reg_wa-ab.
              exit.
            endloop.
            if sy-subrc <> 0.
              perform close_object changing obj.
              mac_msg_put 'E890(E9)' 'IEGER' 'ISU_O_DEVICERATE_OPEN'
                                     space space input_error.
              if 1 = 2.  message e890(e9) with ' ' ' ' ' '. endif.
            endif.
    I think that you are not checking the active installation. Check whether that installation has proper ebtry in table EASTS.
    Try changing
    BIS     BISZEITSCH     DATS     8     0     Date at Which a Time Slice Expires
    AB     ABZEITSCH     DATS     8     0     Date from which time slice is valid
    data for the installation.
    If this dosent work then debug the program by putting break point on the mentioned line and check.
    Regards,
    Pranaya

  • Different results for the same query and same data !  (oracle 9i)

    Hi,
    This is a mystery for me. I've got on my database exactly the same data that my customer (exported schema). We both launch the same query (generated by the software that we sold him). This query has a criteria IN (SELECT MAX()...) to get only data from the last year.
    The query gives 477 rows on my computer (correct answer), but no row on his! We have the same data! The only difference is the Oracle release : 9.2.0.6.0 for him, 9.2.0.1.0 for me.
    If he executes the subquery alone, it gives the expected result.
    If he replaces the MAX() in the subquery by the returned value (year 2016), he gets his 477 rows.
    I've rewritten the query with a NOT EXISTS, and now all is fine. (Less efficient but it works).
    I have no rational explication. Did I miss something ?
    Thanks for any answer.
    This is the query:
    SELECT ...
    FROM
    CRA, GRA, ...
    WHERE
    /* subselect */
    (CRA.COLLCOD, CRA.CRANEXE, CRA.CRANCODBUD, CRA.GRANNUM, CRA.CRANCOD1, CRA.CRANCOD2, CRA.CRANCOD3, CRA.CRANCOD4)
    IN (
    SELECT b.COLLCOD, MAX(cranexe), b.CRANCODBUD, b.GRANNUM, b.CRANCOD1, b.CRANCOD2, b.CRANCOD3, b.CRANCOD4
    FROM CRA b
    GROUP BY b.COLLCOD, b.CRANCODBUD, b.GRANNUM, b.CRANCOD1, b.CRANCOD2, b.CRANCOD3, b.CRANCOD4
    AND... /* other filters and joins */

    v9.2.0.1 was full of bugs. a lot of these bugs had to do with "incorrect results", typically associated with old stats or complex queries (certain types of subqueries were very likely to give wrong resutls, due to the way they were rewritten by the optimizer).
    apply the 9.2.0.6 patch set

  • Query result shows the same data twice

    Hello All,
    I've created UDFs like Supplier Name, Supplier Address, and (Excise Details like)Supplier ECC No,
    Supplier Range.
    And I've created Query for Supplier Name and Supplier Address, and I assigned to FMS, Its working Correctly.
    I've created Query for Supplier ECC No. the Query is,
    SELECT  T0.[ECCNo],T1.[CardName]
    FROM CRD7 T0  INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE T0.[ECCNo]  Like  '[%]'
    I saved the Query, and assigned to FMS.
    At this stage (i.e. Query for Supplier ECC No.) the above Query showing the same data twice.
    Please suggest to rectify the problem.
    Thanks,
    Pratheeviraj

    You can get rid of the duplicates by changing the query to
    SELECT DISTINCT T0.ECCNo,T1.CardName
    FROM CRD7 T0 INNER JOIN OCRD T1 ON T0.CardCode = T1.CardCode
    WHERE T0.ECCNo Like '[%]'
    But it is always worth understanding why you are getting multiple records to check that you are getting back what you want.  I think you may be seeing this because CRD7 can have multiple records for a business partner - maybe one for each of 'pay-to' and 'ship-to' address?

  • Query for retreiving table names that have the same data

    Hi,
    Does anybody know how to retreive all the table names that have the same data in their respective tables but i dont know the table names or its fields. Is there any possible query to perform this action???
    Thanks in Advance,
    Balaji.

    What about...
    WITH manager_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id
      AND   m.name = :P_MANAGER)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    ), all_list AS
    SELECT name,
            LTRIM(MAX(SYS_CONNECT_BY_PATH(id,','))
            KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
    FROM   (SELECT m.name,
                    e.id,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) AS curr,
                    ROW_NUMBER() OVER (PARTITION BY m.name ORDER BY e.id) -1 AS prev
             FROM   manager m,
                    join_table jt,
                    employee e
      WHERE m.id           = jt.manager_id
      AND   jt.employee_id = e.id)
      GROUP BY name
      CONNECT BY prev = PRIOR curr AND name = PRIOR name
      START WITH curr = 1
    SELECT a.*
    FROM   manager_list m,
           all_list a
    WHERE  m.employees = a.employeesWould be easier in 11g, but I don't have an installation here so this is based on 10g.
    Cheers
    Ben

  • Trigger problem -- can't insert the same data into audit table

    Sir/Madam,
    I'm trying to use insert trigger with a 'long raw' datatype data for my audit purpose. Each time, the data of original table can be inserted correctly. While the trigger for audit table in which it contains almost the same data as original would failed. The error messages are some thing like following:
    java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
    ORA-06512: at "CORPSEC.TI_ARCHIVE_PDF", line 9
    ORA-04088: error during execution of trigger 'CORPSEC.TI_ARCHIVE_PDF'
    If the column with 'long raw' datatype is taken out, then there is no error at all. I'm using Oracle 8i 8.1.6 for Windows NT and suspect there is bug in PL/SQL execution.
    The following are SQL text for the trigger:
    CREATE OR REPLACE TRIGGER "CORPSEC"."TI_ARCHIVE_PDF" AFTER INSERT ON "ARCHIVE_PDF" FOR EACH ROW DECLARE
    LOG_SEQ_NO NUMBER;
    BEGIN
    SELECT AUDIT_SEQ.NEXTVAL INTO LOG_SEQ_NO FROM DUAL
    insert into ad_archive_pdf (DOC_TITLE,PDF_FILENAME,CONTENT,DOC_DESC,AUDIT_REF_NO,AUDIT_DATE,AUDIT_MODE,AUDIT_BY)
    values (:new.DOC_TITLE,:new.PDF_FILENAME,:new.CONTENT,:new.DOC_DESC,LOG_SEQ_NO,sysdate,'I',:new.created_by);
    END;
    Any help on this. Thank in advance.
    Best regards,
    Ruijie

    See here for a discussion of how to incorporate LONG datatypes into triggers:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:635439::NO::F4950_P8_DISPLAYID

  • Communication exception occured while saving the thresholds data to the emd

    Hi All,
    I have a 2 node installation of R12 running on HP-UX whereby one node is the application tier and the second node is the database tier....
    I have configured Enterprise Manager Database console on the db tier.
    Am trying to edit the metrics but i keep getting the error below.I have enough disk space and my permissions are setup correctly but am still getting the same error.
    I have tried editing on different browsers but still i have failed.Could anyone please help me out.]
    Error occurred while editing the metric thresholds.
    Communication exception occured while saving the thresholds data to the emd.

    2008-10-20 17:43:35,075 [SeverityLoad http://erpdb.zantel.com:3938/emd/main] WARN jdbc.ConnectionCache _getConnection.303 - Got a fatal exeption when getting a connection; Error code = 17002; Cleaning up cache and retrying
    2008-10-20 17:43:35,075 [SeverityLoad http://erpdb.zantel.com:3938/emd/main] WARN jdbc.ConnectionCache _getConnection.306 - Io exception: Got minus one from a read call
    java.sql.SQLException: Io exception: Got minus one from a read call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:254)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:386)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:518)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:164)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:767)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:324)
         at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:114)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getNewPoolOrXAConnection(OracleConnectionCacheImpl.java:694)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getPooledConnection(OracleConnectionCacheImpl.java:540)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:346)
         at oracle.jdbc.pool.OracleConnectionCacheImpl.getConnection(OracleConnectionCacheImpl.java:324)
         at oracle.sysman.util.jdbc.ConnectionCache._getConnection(ConnectionCache.java:296)
         at oracle.sysman.util.jdbc.ConnectionCache.getUnwrappedConnection(ConnectionCache.java:423)
         at oracle.sysman.emSDK.svc.conn.FGAConnectionCache.getFGAConnection(FGAConnectionCache.java:156)
         at oracle.sysman.emSDK.svc.conn.ConnectionService.getPrivateConnectionNoWait(ConnectionService.java:659)
         at oracle.sysman.emdrep.receiver.FxferRecv.markFileAsError(FxferRecv.java:1083)
         at oracle.sysman.emdrep.receiver.FxferRecv.loadSeverities(FxferRecv.java:1216)
         at oracle.sysman.emdrep.receiver.FxferRecv.receiveFile(FxferRecv.java:1509)
         at oracle.sysman.emdrep.receiver.FxferRecv.doPost(FxferRecv.java:820)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:282)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    2008-10-20 17:43:35,192 [HttpRequestHandler-9114403] ERROR eml.FxferRecv doPost.828 - Upload repsonse header :-ERROR-400|Io exception: Got minus one from a read call-

  • Problem importing two service interfaces using the same data types

    Hi,
    I've been playing around with BPM for a while. Now I wanted to add a custom service interface to my starting event. I created the interface in ESR of CE 7.11. After importing I get this error message and I can't use the interface:
    Cannot change XsdSimpleTypeDefinition AcademicTitleCodeContent by importing the document http://sap.com/xi/APPL/SE/Global::src/wsdl/TestInterface.wsdl, because it is already defined in the document http://sap.com/xi/APPL/SE/Global::src/wsdl/rootwsdl_CustomerERPByIDQueryResponse_InService.wsdl in this project. Importing into another project might be possible.
    Of course the problem is clear, but how can I achieve importing two service interfaces that use the same data type without changing the xsd source?
    Thanks in advance,
    Mane

    Sorry for the late answer, but I am really busy at the moment.
    Unfortunately I can't the Interface and data types are already changed.
    But this happened various times. Each time I already had imported a SAP Enterprise Service into NW BPM that contains a bunch of inline data types. While creating my own interface I referenced one of those data types that are stored in a SAP namespace. After import the error message appeared.
    In the wsdl of the created interface there is a import statement for the namespace where the referenced data types origin from. Additionally there is a namespace definition xmlns:p1="SAPnamespace". In the element the type is "p1:ReferencedType". Could this maybe cause the error, because one time it is with this leading p1 in my created wsdl and once without in the SAP Service wsdl?
    Thanks and I am looking forward to next EhP of NW BPM,
    Mane

  • Multiple MM schedule lines for the same date

    Hello All Gurus,
    I am facing a problem where the MM schedule lines are divided into various quantites for the same date. For example on 02/11/2010 the total quantity is 120, it is appearing in the below form in ME38:
    02/11/2010 - 40
    02/11/2010 - 40
    02/11/2010 - 40
    Although this is not an error, but my client is not happy with this. Can someone tell me why I am getting this error? Is it because of the rounding value that we maintain in MRP 1 view of material master record? Or is there any other setting that I am missing?
    Please let me  know. I would be very much thankful to you.
    Thanks and Regards,
    Umakanth

    Hi,
    Before changing the setup, note that sometimes it is beneficial to split one demand into multiple delivery schedules. Especially if the demand is bigger than equipment type (container/truck etc.). If you want to manage inbound transportation for such delivery schedules, it is much simpler to do this when each delivery schedule is not bigger than one equipment.
    Regards,
    Dominik Modrzejewski

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • Short dump while changing the end date of infotype 0167 through PA30

    Hi all,
    I am getting short dump while changing the end date of infotype 0167(Health Plans) through Tcode PA30.
    dump descript is as below
    An exception occurred that was not caught.
    Runtime Errors         UNCAUGHT_EXCEPTION
    Except.                CX_HRPA_VIOLATED_POSTCOND
    Date and Time          11.03.2010 07:06:26
    What happened?
        The exception 'CX_HRPA_VIOLATED_POSTCONDITION' was raised, but it was not
         caught anywhere along
        the call hierarchy.
        Since exceptions represent error situations and this error was not
        adequately responded to, the running ABAP program
         'CL_HRPA_SAPUP50R_ADAPTER======CP' has to be
        terminated.
    thanks
    shahid

    Search OSS Notes for that.

Maybe you are looking for