Error in executing the query

Hi Gurus,
We have  5 queries on a multiprovider which is built on two cubes,one query is not getting executed and all other queries are working fine, we are restricting the query for one cube which has only 32 records, all these queries are  working fine in dev sys and in the quality we got this error for one query .
Can any one give some solution for resolving it
regards
Tilak

But what error is it giving when you execute the query?

Similar Messages

  • Serious system error while executing the query: java.lang.OutOfMemoryError

    From ALSB, we are trying to insert records in a table, by calling the ALDSP webservice. It is working fine when the xml (ie., given as input to the ALDSP webservice) is small. But facing the following error when the input xml size is large.
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space
    We do not want to increase the heap size. Is there any other way we can solve this problem?

    In logical dataservice of ALDSP we have created a procedure called createTest, which is used to insert mulitple rows in the table. We have created a webservice for that logical DataService.
    Using the ALSB, we are calling the webservice -> createTest Operation and we are passing xml as input to that createTest function.
    Input xml:
    <ns1:createTest>
    <ns1:createTemps>
    <ns0:createTemp>
         <ns0:field1>1</ns0:field1>
              <ns0:field10>test1</ns0:field10>
    </ns0:createTemp>                
    <ns0:createTemp>
         <ns0:field1>2</ns0:field1>
              <ns0:field10>test2</ns0:field10>
    </ns0:createTemp>
         </ns1:createTemps>     
    </ns1:createTest>
    each ns0:createTemp represent a row that need to be inserted in the table.
    When the number of ns0:createTemp is less ( when the number of rows that need to be inserted is less) then no problem occurs, it is getting inserted properly. But when there are more number of ns0:createTemp then we are getting the following error
    <ALDSP> <BEA-000000> <Product> <Serious system error while executing the query:
    {ld:ABC/Test}createTest:1
    java.lang.OutOfMemoryError: Java heap space

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

  • Error while executing the query in RSRT

    Hi to all,
    I am executing the query in client development system in RSRT.
    Error coming (Query could not open Genun  id is invalid)
    I shall be thankfull to you for this.
    Regards
    Pavneet Rana

    Hi,
    Plz check ur report and execute at the designer and take its technical name and go to RSRT. log out and log in and try..
    if not check ur authorisation.
    Regards....KP

  • Error while executing the query-VIMP

    Dear alll
    I am executing the query in production i am getting this below error message
    BRAIN 629 Specify a value for variable companycode(single values,entry,mandatory)
    BRAIN  629 specify a values for variables Simulkation ID1Individal values,requireed entry)
    RSBOL 000 Program error in class SAPMSSY1 Method UNCAUGHT_EXCEPTION
    BRAIN 633 varibale contain invalid values
    It have been worked untill yesterday
    Please suggest me in futhuru its very very imp to deliver the reports

    Hi,
    Try one of these
    1. Take of the infoobject from the query definition and see if the query is working.
    2. Try saving this Query as another one and try executing it.
    REgards
    Govind

  • Error while executing the query

    Hi all,
    I am facing two errors while executing my query namely
    1)The validity interval has initial value as lower limit.
    2)Diagnosis
    Query  uses non-cumulative key figures. It requires calculation for non-cumulative values for more than 2000 periods in time. The most common reason for this is that the non-cumulative InfoCube has a very large validity interval and the query has no time restrictions. With exception aggregation AVERAGE (AV1 or AV2) in particular, this lack of time restriction would result in considerable memory and performance problems.
    System Response
    Query  cannot be executed in this way.
    Please suggest a possible reason for these errors.
    Thanks and Regards.
    Mudit Khanna

    Hi,
    See
    Refer Notes 496638,571364
    210432
    528202
    1318741
    208546
    and also see simila thread
    Problem getting data from BF cube in report (Non cummulative keyfigures)
    Thanks
    Reddy

  • Error when executing the query or refreshing the workbook

    Hi All,
    Whenever I am trying to execute a query or refresh a workbook a error message is poping up saying that
    Error: <internal error> Problem when writing table: E_T_cel.
    I face this error in few of the queries and when i refresh workbooks. These queries have lot of calculations and filters and they sum up lot of records.
    Any help greatly appreciated.
    Thanks
    Raj.

    Hi Maik,
    Thanks for reply, I went into tran sm21 but i could not understand the messages there. Below is the list of messages in sm21
                         System Log: Local Analysis of cdsap9d                    1                                                    
    From date/time............. 04/20/2005 / 10:00:00
    To date/time............... 04/21/2005 /        
    User....................... KADALPR    
    Transaction code...........                    
    Terminal...................        
    Task.......................  
    Problem class..............           
    Further restrictions.......                                                                               
    Sorted ? ................ SOFI
    Pages with single entries 00000100
    With statistics............ 
                         System Log: Local Analysis of cdsap9d                    2                                                    
    Time     Ty. Nr Cl. Tcod MNo Text                                                                                Date : 20.04.05 
    12:58:10 DIA  0 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    12:58:10 DIA  0 100      R5A > Conversation ID: 29858195                                                                               
    12:58:10 DIA  0 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    12:58:10 DIA  0 100      R68 Perform rollback                                                                               
    12:58:10 DIA  0 100      R47 Delete session 001 after error 003                                                                             
    23:54:49 DIA  1 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    23:54:49 DIA  1 100      R5A > Conversation ID: 44959947                                                                               
    23:54:49 DIA  1 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    System Log: Local Analysis of cdsap9d                    3                                                    
    Time     Ty. Nr Cl. Tcod MNo Text                                                                                Date : 21.04.05 
    09:32:50 DIA  2 100      R49 Communication error, CPIC return code 019, SAP return code 728                                                 
    09:32:50 DIA  2 100      R5A > Conversation ID: 83536783                                                                               
    09:32:50 DIA  2 100      R64 > CPI-C function: CMSEND(SAP)                                                                               
    Reading:  
    Number of records read.........       2777
    Number of records selected.....         11
    Old records skipped............       2733
    Records of invalid users skippe         33
    Further selection:  
    Number of records read.........         11
    Number of records selected.....         11
    Number of records printed......         11
    End of system log
                         System Log: Local Analysis of cdsap9d                    4                                                    
                        C o n t e n t s                              
    Contents              Page              Start            End  
    Selection criteria     1
                           2        20.04.2005  12:58:10 - 23:54:49
                           3        21.04.2005  09:32:50 - 09:32:50
    Contents               4
    End of program  -
    If you can help me out as where to look at these messages then it great.
    Thanks,
    Raj.

  • Getting error while executing the query in query generator

    Hi all
    I need to execute on query where I set perameter ''delivery doc date'' but when I execute its giving me error
    Please help
    Error is :- 1) .[Microsoft][SQLSERVER NATIVE CLINT 10.0][SQL SERVER] MUST SPECIFY TABLE TO SELECT FROM ,2 [Microsoft][SQLSERVER NATIVE CLINT 10.0][SQL SERVER] STATMENT 'BLANKET AGREEMENT'(OOAT) (s) COULD NOT BE PREPARED .HELP
    SELECT ELECT T0.[CardName] PartyName, T1.[Dscription] as 'Item description', T0.[NumAtCard] as 'Customer Ref No',
    T1.[ShipDate] as  'Del Date', T0.[DocNum] as 'SO No', T0.[DocDate] as 'SO Date', T1.[Quantity],
      T1.[Price],T1.[Quantity]*T1.[Price] as 'Line total without tax', ISNULL( T1.[DelivrdQty],0) As DelivrdQty,
      ISNULL( T1.[DelivrdQty]*T1.[Price],0) as  'Delivered amount', T1.[OpenQty] as 'pending qty',
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0) as WIP,
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0)*T1.Price as Value
        FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry join OCRD T3 on t3.CardCode=t0.CardCode                 
    where T1.ShipDate between [%0]and [%1] and t3.groupCode in('115','116') ORDER BY T1.ShipDate

    hi
    you need to use parameters.
    try this:
    /*select from [dbo].[RDR1] T1*/
    DECLARE @FromDate datetime
    /*where*/
    set @FromDate =/* T2.ShipDate  */N'[%0]'
    /*select from [dbo].[RDR1] T1*/
    DECLARE @ToDate datetime
    /*where*/
    set @ToDate =/* T2.ShipDate  */N'[%0]'
    SELECT  T0.[CardName] PartyName, T1.[Dscription] as 'Item description', T0.[NumAtCard] as 'Customer Ref No',
    T1.[ShipDate] as  'Del Date', T0.[DocNum] as 'SO No', T0.[DocDate] as 'SO Date', T1.[Quantity],
      T1.[Price],T1.[Quantity]*T1.[Price] as 'Line total without tax', ISNULL( T1.[DelivrdQty],0) As DelivrdQty,
      ISNULL( T1.[DelivrdQty]*T1.[Price],0) as  'Delivered amount', T1.[OpenQty] as 'pending qty'
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0) as WIP,
    ISNULL((select sum(a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) from BMM_PNITEM A inner join bmm_PNFGALLOC B On A.PnRecordId = B.PNRecordId
    and A.LineId = b.LineId and A.Linetype =7 and (a.ActualQtyDispUOM - a.IssuedReceivedQtyDispUOM ) >0 and a.Status<>'C' and T1.ItemCode=A.ItemCode),0)*T1.Price as Value
        FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry join OCRD T3 on t3.CardCode=t0.CardCode                 
    where T1.ShipDate between @FromDate and @ToDate and t3.groupCode in('115','116') ORDER BY T1.ShipDate

  • Error when executing the query.

    Hello ,
                I have some customer exit variables used in my reports , and when I execute the report I get an error like " My variable name cannot be interpreted as number " The way I declared the variable is of customer exit type and as a Number, in my customer exit I'm using it as 'My variable" in computation , is this why ?
    thanks ,

    Hi Rakesh ,
    Are you talking about a formula variable of type Customer Exit??? - Yes
    Then if you have mentioned it as Number then it can only hold Numerical value and nothing else. - I dont see anyother option (dat type) which suits my rek. I need to declare a variable where user can enter a value like 2,3 ...12. And I have to use this variale in my customer exit code.
    Diffferent options availble in BEx for a formula variable are ,
    Number , Amount , Quantity , Price.
    And in my customer exit I'm using as  Y = X + 'My customer Exit Variable'.
    Can you please give me your thoughts.
    thanks alot.

  • While executing the query getting an error u2018Page Not Foundu2019 in the bowser.

    Hello,
    I opened a Bex Query in Query Analyzer and clicked on the Execute button to execute the query in our portal site. But I am getting an error u2018Page Not Foundu2019 in the bowser.
    As I am new to BI,Kindly guide me through the steps.
    what all setting needs to be done?
    Regards,
    Rachel

    Hi,
    The Path is C:\WINDOWS\system32\drivers\etc\hosts
    You need to update "host file" in your server/in your PC. So ask Network people to do it and also you need to change your browser LANsettings.
    Eg:   11.11.8.161     BWQ1     BWQ1.***.com
    Like above you need to change in your host file.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Nov 27, 2008 8:12 AM

  • Receiving SQL Error: INTERNAL_ERROR  while executing the query

    Dear All,
    I am receiving the below error while executing a query.
    SQL Error: INTERNAL_ERROR
    Diagnosis
    The database system registered an SQL error. As available, the error number and a description are included in the short text. Possible causes for SQL errors include:
    Overflow of database objects such as buffers, temporary tablespaces, rollback segments or data containers/tablespaces.
    ->These problems can generally be eliminated by system administrators.
    Missing generated database objects such as tables or views based on inconsistent or inactive InfoCubes or InfoObjects. Examples of this include the view of the fact table for an InfoCube or the attribute SID table (X/Y table) of a characteristic.
    -> These problems can generally be eliminated by a BW administrator.
    SQL requests with incorrect content.
    -> Problems of this type are generally programming errors.
    System Response
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    If there is no error description, look for one in the reference from the database producer.
    Decide on the correct category for the SQL error and check if it can be eliminated. Generally the error can also be found in the syslog (transaction sm21). From there, transactions sm51 and sm50, the developer's trace log of the work process can be determined and the erroneous statement can be viewed in the log. This procedure is described in SAP Note 568768.
    Notification Number DBMAN 257 
    I verified the table spaces and also done RSRV Repair of InfoObjects and InfoCubes and didnt find any error. But I am receiving this error for one particular month and remaining months are executing fine. Any ideas why i am receiving this error.
    Regards
    Ravi Y

    OSS Note 1305568:
    Symptom
    A data mart query that
    you want to execute within a data transfer process (DTP), for example, terminates with the
    SQL error -1013 "Too many order columns".
    The following is displayed in the monitor log of the data transfer process:
    Error while extracting from source xxxxxx (type InfoProvider)
    Message number RSBK 242
    Exception CX_SQL_EXCEPTION occurred (program:
    CL_SQL_STATEMENT==============CP, include:
    CL_SQL_STATEMENT==============CM004, line: 32).
    Message number RS_EXCEPTION 000
    SQL error: POS(3306) Too many order columns
    Message number DBMAN 257
    Error reading the data of InfoProvider xxxxxx
    Message number DBMAN 305
    You have already implemented Note 1065380.
    Other terms
    CX_SQL_EXCEPTION, message number, RS_EXCEPTION 000, DBMAN 257,  RSBK 242,
    RS_EXCEPTION 000
    Reason and Prerequisites
    The MaxDB internal limit of 4016 bytes or 128 fields for GROUP BY columns was exceeded.
    Solution
    When you implement these corrections, no aggregation is performed for the data (GROUP BY) if the limits of the MaxDB database have been exceeded.
    The limit values for the aggregation bahavior can also be manually reduced if there are problems with the default values.
    Two RSADMIN parameters are provided for this.
    MAXDB_MAX_GROUP_BY_FLDS is the maximum number of GROUP BY fields. The default value is 128.
    MAXDB_MAX_GROUP_BY_LEN is the maximum total length of the GROUP BY fields. The default value is 4000.
    SAP NetWeaver BI 7.00
               Import Support Package 21 for SAP NetWeaver BI 7. 00 (SAPKW70021) into your BI system. The Support Package is available when Note 1270629"SAPBINews NW 7.00 BI Support Package 21", which describes this Support Package in more detail, is released for customers.

  • Error while executing the workbook query.

    Hi guyz
    i'm getting an error while executing the workbook Query. The actual problem is there is a filter for REQUID in the query definition for removing the doble count. there is customer exit written. the report works fine in DEVELOPMENT but it is not working in quality.
    The query on which this workbook is created is working fine, but the problem is when we execute the workbook i'm facing this issue.
    we re-transported the queries but still we are facing the same problem.
    while we execute the query we are prompted for variable entry(Optional) for date. when we press OK we get the below error
    " NO SID value found for the value REQU_4DQT75Y2RJPVT4PXZ4LHC70V3 of characteristic"
    the request is not available in the BW system. the request was deleted long back, but it is still referring to the same the request id
    could someone please tell me where we went wrong and why we are getting this error.
    Regards,
    Anil Vadde

    Hey ,I think data load to your target on which the query was based had some issue.
    Can you check the data load to the data target.change the status of request concerned to red and delete.do reconstruct if neeed..I think the request had some issue.
    Even you can go to RSRQ or RSMO and filter on the basis of this request and see its status.
    Regards,
    RK

  • [Execute SQL Task] Error: Executing the query failed with error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION."

    I have an package with source , data flow and destination to execute on begin and commit.
    in the below i have just used for questioning purpose with diagram removing my Data Flow task explaining my problem
    on execution, i get error as
    [Execute SQL Task] Error: Executing the query "COMMIT TRAN DimCompanyCode" failed with the following error: "The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION.". Possible failure reasons: Problems with the query, "ResultSet"
    property not set correctly, parameters not set correctly, or connection not established correctly.
    as mentioned , i have checked the ResultSet, parameters , connection establish.. all are fine.
    Kindly advice on what has to be done.
    ShanmugaRaj

    To avoid this error, the RetainSameConnection property should set to 'True' for the Connection Manager - Application_DB.
    Narsimha

  • [Execute SQL Task] Error: Executing the query "DECLARE_@XMLA nvarchar(3000) ,__@DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,

    Hi
    DECLARE @XMLA nvarchar(3000)
    , @DateSerial nvarchar(35);
    -- Change date to format YYYYMMDDHHMMSS
    SET @DateSerial = CAST(GETDATE() AS DATE);
    --SELECT @DateSerial
    Set @XMLA = 
    N' <Batch xmlns="http://schemas.microsoft.com/analysis services/2003/engine">
     <ErrorConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2"
    xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2" xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200"
    xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200">
    <KeyErrorLimit>-1</KeyErrorLimit>
    <KeyNotFound>IgnoreError</KeyNotFound>
    <NullKeyNotAllowed>IgnoreError</NullKeyNotAllowed>
     </ErrorConfiguration>
     <Parallel>
    <Process xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ddl2="http://schemas.microsoft.com/analysisservices/2003/engine/2" xmlns:ddl2_2="http://schemas.microsoft.com/analysisservices/2003/engine/2/2"
    xmlns:ddl100_100="http://schemas.microsoft.com/analysisservices/2008/engine/100/100" xmlns:ddl200="http://schemas.microsoft.com/analysisservices/2010/engine/200" xmlns:ddl200_200="http://schemas.microsoft.com/analysisservices/2010/engine/200/200"
    xmlns:ddl300="http://schemas.microsoft.com/analysisservices/2011/engine/300" xmlns:ddl300_300="http://schemas.microsoft.com/analysisservices/2011/engine/300/300">
     <Object>
     <DatabaseID>MultidimensionalProject5</DatabaseID>
     <CubeID>giri</CubeID>
     <MeasureGroupID>Fact Internet Sales</MeasureGroupID>
     </Object>
     <Type>ProcessFull</Type>
     <WriteBackTableCreation>UseExisting</WriteBackTableCreation>
     </Process>
      </Parallel>
    </Batch>';
    EXEC (@XMLA) At SHALL-PCAdventureWorksDw ;
     iam executive the    query when iam getting below error.
      [Execute SQL Task] Error: Executing the query "DECLARE
    @XMLA nvarchar(3000)
    , @DateSerial nvarch..." failed with the following error: "Incorrect syntax near '-'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set
    correctly, or connection not established correctly. 
     how to solve this error;
     please help me

    What are you trying to do? What sort of data source is  SHALL-PCAdventureWorksDw?
    When you use EXEC() AT, I would execpt to see an SQL string to be passed to EXEC(), but you are passing an XML string????
    If you explain why you think this would work in the first place, maybe we can help you.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Error in when i am executing the query

    Hi Guru's,
    I am new to BI.then any body please help us to solve this issue.When  iam trying to execute the query i got the error like:"ABORT UNABLE TO GENERATE QUERY WITH OUT ERRORS".when i go through in detail for tht error it says like "RSR_BAD_CODING" is syntatically incorrect.
    could any body help us to solve this issue as soon as possiable.
    regards,
    suman.

    Hi,
    check out these notes:
    https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1039985&_NLANG=EN
    https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=796559&_NLANG=EN
    https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=920911&_NLANG=EN
    https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=930008&_NLANG=EN
    https://websmp205.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=935957&_NLANG=EN
    may be one of them is relevant in your case.
    regards
    Siggi

Maybe you are looking for