Error in executing Std query -  Incorrect FRANGE row in FORM/DIM?FAC

Hi,
NOTE: We are on BI 7.0 Spport Pack 12 (SAPKW70012)...
When I try to execute a query(one of the standard queries in HR - 0PA_C01_Q021), I got the following error messages:
ABEND: Incorrect FRANGE row in FORM/DIM?FAC for InfoObject 0AGE
ABEND: Incorrect FRANGE row in FORM/DIM?FAC for InfoObject 0ORGUNIT
ABEND: Program error in class SAPMSSY1 method: UNCAUGHT EXCEPTION
I searched the OSS and found a note 1001621 which said apply support package: SAP_BW_VIRTUAL_COMP - Rel 700 - Pkg name SAPK70012NVCBWTECH
But, our basis guys came back with the reply that the solution suggested in OSS note is for SAPKW70011, but our system is already on SAPKW70012. So, this note cannot be applied.
Is there any hidden solution out there? Please respond asap.
Thanks

Hi Raj and Sunny,
Actually solution is very simple. You have to open this query in Query Designer and redefine the corresponding selection. The problem is that OLAP in BW 7.x is much more strict to query definition than in BW 3.x. Therefore queries from BW 3.x  are not accepted quite often. This error is just one example. So try to touch  the corresponding selection using hierarchy and save a query once again. For sure this will help. If not, create a message, we will look at the problem directly in your system.
Best regards,
Maxim

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

  • Error while executing BEX query via FM

    Hi Friends,
    I am getting following error while executing a query via FM RRW3_GET_QUERY_VIEW_DATA.
    Please see the error screenshot as follows.
    the I_T_PARAMETERS entered are as follows.
    Please let me know what is missing.
    Thanks.
    Regards,
    Hrishikesh

    the key date variable 0DAT is normally filled by a SAP exit variable, but this may not be the case.  it could have been changed in the query designer,  check the query in query designer and see.
    Try passing 0DAT in the variable list with todays date

  • 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

  • ORA-27092 Error while executing any query from client

    Hello
    I am getting following error while executing any query from client remotly.
    IAMDBA@TEST_OAT.ABCD > select userid from dual;
    select userid from dual
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01116: error in opening database file 1
    ORA-01110: data file 1: '/u01/prod/system/system01.dbf'
    ORA-27092: size of file exceeds file size limit of the process
    Additional information: 131071
    Additional information: 286209
    But while local connection,its working.

    hi,
    ulimit command- Limit user resources
    su - oracle
    ulimit -n (this command will show you the current value for ulimit the default value is 1024)
    to increase its value:---
    ulimit -n <some value> ( this command will change value for current session only)
    example
    ulimit -n 101062
    once done check the value as:--
    ulimit -n( for verification)
    search in google for more explanation or revert back to me for any suggestions.... :)
    Edited by: varun4dba on Jan 31, 2011 4:09 PM

  • Input Value long enough for date format ,Error in executing parallel query

    Hi,
    My Table: ANML( ID, STATUS,B_DATE,B_MONTH,B_YEAR, DEATH_DATE)
    status 1 for alive and 2 for dead.
    i wrote a view to get age.
    as
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top
    when i tried to fetch all values from view its working fine.
    But when i tried to fetch values based on condition like as follows,
    select * from view1 where anml_age > 20 and anml_age<30
    I am getting error like:
    Input Value long enough for date format and Error in executing parallel query
    Please tell me wht is wrong.

    Here is your formatted code
    create or relace view view1 as
    select top."ID",top."STATUS",top."DOB",top."DEATH_DATE",top."ANML_AGE",top."DAYSDIFF",
    CASE
    WHEN anml_age < 1
    THEN 'D'
    ELSE 'M'
    END age_unit,
    CASE
    WHEN anml_age < 1
    THEN TO_CHAR (daysdiff || ' Day(s)')
    WHEN anml_age < 12
    THEN TO_CHAR (anml_age || ' Month(s)')
    WHEN MOD (anml_age, 12) = 0
    THEN TO_CHAR (ROUND (anml_age / 12, 0) || ' Year(s) '
    ELSE TO_CHAR ( ROUND (anml_age / 12, 0)
    || ' Year(s) '
    || MOD (anml_age, 12)
    || ' Month(s)'
    END age_string
    from
    (SELECT a.*,
    CASE WHEN status IN ( 1)
    THEN FLOOR(MONTHS_BETWEEN(TRUNC(SYSDATE),dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(MONTHS_BETWEEN(death_date,dob))
    END anml_age,
    CASE WHEN status IN (1)
    THEN FLOOR(TRUNC(SYSDATE)-TRUNC(dob))
    WHEN death_date IS NOT NULL AND status IN (2)
    THEN FLOOR(TRUNC(death_date) - TRUNC(dob))
    END daysdiff
    from (
    SELECTanml.id, status,
    TO_DATE ( DECODE (b_date,
    NULL, 1,
    b_date
    || '-'
    || DECODE (b_month,
    NULL, 1,
    b_month
    || '-'
    || b_year,
    'dd-mm-yyyy'
    ) DOB,
    death_date
    FROM anml
    WHERE b_year IS NOT NULL
    ) a) top

  • Error while executing BEx Query on Composite Provider

    Hi,
    We have a BW on-HANA system, patch level SAPKW73105.
    We have created a Composite provider based on the union of two DSOs, two infoobjects, one SPO, and there are a couple of joins with two other DSOs, on the top of that we built a BEx query.
    While executing the BEx query, sometimes (depending on the filter values), We got the following error message
    "Attribute engine failed;Error executing physical plan: exception 6900: AttributeEngine/Parallel/DimensionFilter.cpp engine failed; $function$=getValidFemsPA;"
    "Error 6,900 has occurred in the BWA/SAP HANA server"
    "Error reading the data of InfoProvider @3ZSDRPCP5"
    "Error while reading data; navigation is possible"
    "Row: 59 Inc: MAP_TREX_EXCEPTION Prog: CL_RSDRH_TREX_STORAGE"
    (Attached error message)
    Ii We browse the composite provider data using the "display data" option in the RSA1, data is displayed without issue, the problem only appears during the BEx query execution and only with some filter vaues.
    Any idea on how to fix the issue.
    Thanks,
    Federico

    He's on 7.3 EhP1, which is on SPS12 today. It got pretty stable by SP08, SP09. SP05 was pretty early on, and had a lot of bugs in the HANA views.
    7.4 is on SP07 like you say, and most of our customers run at least SP06 - before then, you had to apply a bucketload of SAP notes. I would recommend customers apply SP08 with care because it's a feature release so will have a bunch of new features, which will no doubt need corrections.

  • Error when executing a query on master data

    Hi Friends,
    When I execute a query fon Master Data Characteristic infoObject ( 0BPARTNER ) from BEx Analyzer I got the below error. 0BPARTNER contains 15 attributes. I am getting the below error only for this query. Rest all other queries are working good with the same BEx Analyzer.
    <b>An error occured in the communication with the BW Server.
    Due to this connection has to be closed.</b>
    <b>Detailed Description:
    The system is configured incorrectly.</b>
    Please tell me what could be the problem? How to overcome this?
    Thanks,
    Sasi

    Hi Arun,
    Before the execution of query I did that. And it was ' Query is Correct'.
    Any more ideas?
    Thanks,
    Sasi.

  • Error while executing a query

    Hi,
    While executing a query in portal it is giving internal server error.
    In the input screen help, we are searchign using wild card characters.I.e "  141",its giving internal server error,
    If we are giving the one value/no value the report is executing correctly.
    The input variable is a heirarchy variable. We tried to give it in the heirarchy format also. Still its not working.
    Could anybody help on this.
    Thanks

    u might be using "select * from <table name>", instead try this
    "select slno as slnod,title as titled.."
    http://www.javagalaxy.com

  • Internal Error while executing a query with varaints in BEX

    HI All,
    I am executing a query which has 4 variants. when I use the first 3 variants the query is working fine.....but when I try to execute the same query for the 4th variant....the system is giving an error message called Internal Error.....
    when I executed the same query with same variant...in RSRT transaction code...I was able to see the results....
    The error messages that I am getting as follows...
    <Internal Error> receiving from the BW Server Failed. BW server raised exception SYSTEM_FAILURE. DO you want to see more information...
    when I selected YES....I got the following message
    Error in a ABAP statement when processing an Internal Table.table.
    Error Group
    RFC_ERROR_SYSTEM_FAILURE
    when clicked on the OK button the following message is displayed....
    <Internal Error> Can not determine text elements for the current query.
    Can any one explain me what went wrong...is there any thing that I need to do in the BEX settings...are there any patches that needs to be installed...or any OSS notes available for this sort of errors...?
    Advance in thanks
    Dilse...
    Hash

    Hi Harish,
    Execute the query in RSRT and check whether you have any short dump is in ST22. This would give a clear idea at what might have gone wrong.
    Another thing is to check whether the code for the variable is fine in the user exit.
    Hope this helps.
    Bye
    Dinesh

  • 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

  • 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 a query on upgraded system

    Hi All,
    We are in the process of upgrading our BI system. Currently we are on Quality system and its a copy of existing production system. I have executed a query on the production system (3.5 system) successfully.
    But the same query when I'm trying to execute on the upgraded quality system (BI 7.0), I get an error " warning info provider was changed or activated at runtime. The query cannot be opened". The same message doesn't pop up on the current 3.5 BI system.
    Can anyone help me how I can correct this error?
    regards,
    Suman

    Hi All,
    I activated the Infoset and I could eliminate the error. Now the issue is solved.
    Thanks

  • 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

Maybe you are looking for