OBIEE - ESSBASE   ERROR - 1200467 - Error executing formula for [MDX query]

I have an issue on essbase with a query with 50 member filters.
The environment is OBIEE 11g over ESSBASE 11.1.2 with an ASO cube.
The user for essbase are with database access filters.
I have the following issue, OBIEE returns a query that filter 30 members and the query runs ok, but the same query with a 50 member filter returns the following error when i execute it on MAXL :
MAXL Error
ERROR - 1200467 - Error executing formula for [MDX query]: status code [1130203] in function [].
ERROR - 1241101 - Unexpected Essbase error 1200467.
i paste an example of the query that returns OBIEE
With
set [_Account2] as '{Distinct({[Account].[Allocated FTE - Budget]})}'
set [_Employee0] as '[Employee].members'
set [_Fund4] as 'Generate([Fund].Generations(2).members, Descendants([Fund].currentmember, [Fund].Generations(4), leaves))'
set [_Position4] as '{Distinct({[Position].[POS111165], [Position].[POS111166], [Position].[POS111167], [Position].[POS111540], [Position].[POS112331], [Position].[POS113201], [Position].[POS113247], [Position].[POS113248], [Position].[POS113540], [Position].[POS113618], [Position].[POS113954], [Position].[POS114109], [Position].[POS114194], [Position].[POS115224], [Position].[POS115912], [Position].[POS115913], [Position].[POS116727], [Position].[POS117229], [Position].[POS117491], [Position].[POS117587], [Position].[POS117610], [Position].[POS117979], [Position].[POS119456], [Position].[POS121262], [Position].[POS121458], [Position].[POS121698], [Position].[POS123368], [Position].[POS124027], [Position].[POS124028], [Position].[POS124110], [Position].[POS124396], [Position].[POS125623], [Position].[POS125624], [Position].[POS126476], [Position].[POS127960], [Position].[POS129352], [Position].[POS129468], [Position].[POS129494], [Position].[POS129535], [Position].[POS129608], [Position].[POS129679], [Position].[POS129730], [Position].[POS129905], [Position].[POS130010], [Position].[POS130144], [Position].[POS133456], [Position].[POS134943], [Position].[POS135231], [Position].[POS135404], [Position].[POS135734]})}'
set [_Program3] as 'Generate([Program].Generations(2).members, Descendants([Program].currentmember, [Program].Generations(3), leaves))'
select
{ [Budget Item]
} on columns,
NON EMPTY {crossjoin({[_Account2]},crossjoin({[_Employee0]},crossjoin({[_Fund4]},crossjoin({[_Position4]},{[_Program3]}))))} properties GEN_NUMBER, [Account].[MEMBER_UNIQUE_NAME], [Account].[Memnor], [Program].[MEMBER_UNIQUE_NAME], [Program].[Memnor], [Employee].[MEMBER_UNIQUE_NAME], [Employee].[Memnor], [Fund].[MEMBER_UNIQUE_NAME], [Fund].[Memnor], [Position].[MEMBER_UNIQUE_NAME], [Position].[Memnor] on rows
from [BCPSASO2.BCPS_ASO]
any suggestions ?
Thanks
Niko
Edited by: user8367101 on Mar 1, 2011 10:31 AM

Here it is:
It is a Windows Server 2003 R2
Processor 8393 SE
31.9 GB of RAM
32-Bit
How does "memscaling" works?
I also think that are high but it is the way it was configured before I managed the application. For my DB
Index Cache setting: 205800
Index cache current value: 205800
Data file cache setting: 33768
Data file cache current: 0
Data Cache setting: 877273
Cata cache current: 71540
Block Size: 65408

Similar Messages

  • Error while Creating a formula for field AZNOR (T-Code : OP17)

    Dear Experts,
    i am facing a problem in Transaction OP17 while creating a formula for field AZNOR ( No of indivual capacity in work center) in work center (T-Code : CR02) .
    It shows the error
    The data object "F" has no component called "AZNOR''..
    Please let me know the solution..
    Thanks & Regards
    Birendra Kumar

    Hi,
    I have the same problem.
    Could You tell me witch is the correct origin?
    Thanks a lot!
    Bye
    Laura

  • Formatting MDX report,Error=One or more axes in MDX query have been skipped

    Hi All
    Need to show the measures on row-ways instead of Column-ways in MDX report. Able to generate report with measures Column-ways.
    Getting error when tried the following:
    #) when used "{} On Rows" instead of "{} On COlumns".
    ERROR - 1200545 - One or more axes in MDX query have been skipped.
    ERROR - 1241101 - Unexpected Essbase error 1200545.
    If anyone faced something like this before, please share some work-around.
    Thanks & Regards
    sharma

    Hi,
    Take a look at this SAP Note:  1580524 - Xcelsius Dashboard does not display variable popup
    Also go through the below discussion, it may help you.
    Bex Variable PopUp does not come up launching Xcelsius dashboard
    One or more mandatory variables of query XXX no... | SCN
    Bex Variable PopUp does not come up launching Xcelsius dashboard
    BICS - Passing Mandatory Filter Variable value to a BEx Query
    Passing parameters between XCelsius dashboards using BI direct connection
    Hope this helps brother.
    Regards,
    Suman T

  • Missing field for MDX query for All Members

    Hello,
    I'm using MDX query with SSRS for report and I ran into this issue:
    Query 1:
    select non empty ([Product].[Category].allmembers*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    go
    Query 2
    select non empty ([Product].[Category].[All]*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    In case I run query 2 in SSDT (query designer), it doesn't return first column whereas if I run above two queries in SSMS, I get similar columns/fields.
    How it can be resolved in SSRS to return all columns for query 1 and 2.
    Thanks,
    P
    mark it as answer if it answered your question :)

    Hello,
    I'm using MDX query with SSRS for report and I ran into this issue:
    Query 1:
    select non empty ([Product].[Category].allmembers*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    go
    Query 2
    select non empty ([Product].[Category].[All]*[Date].[Calendar].[Calendar Year].allmembers ) on 1,
    ([Measures].[Internet Sales Amount]) on 0
    from [Adventure Works]
    In case I run query 2 in SSDT (query designer), it doesn't return first column whereas if I run above two queries in SSMS, I get similar columns/fields.
    How it can be resolved in SSRS to return all columns for query 1 and 2.
    Thanks,
    P

  • Error executing formula for [Spread %]: status code [1130203] in funciton [@_VAL]

    <p>anyone ever seen an error message like this?  it occurswhen trying to pull spread % at any level...</p><p> </p><p>restarting the app temporarily fixes it, but it keeps comingback...any thoughts?</p>

    <p>I have seen this error before.    Firstly checkout the suggestions for that error code.</p><p>In my case I checked just about everything, it turned out to bethat the ESSSRV process (for that cube) was using too much memory(about 1.8Gb) which seems to be a magic threshold for AIX. Once I stopped and started the app it started running ok. For this particular cube I was constrained as to the outlineconfiguration, so I could make very few changes (e.g. reducingblock size etc).</p><p>I built a process to shut apps down during the day if noconnects which reduced the number of times this happened from a oneor two times a month to never.</p>

  • SYntax error while creating a formula for %

    Hi All,
    I have to calculate Growth percentage and creating formula.  But its giving me a syntax error.
    I am writing like this:-
    (Month to Date Sales-MTD PRior Year Sales)/ MTD PRior Year Sales*100 %
    Can anyone please tell me where I am making a mistake.
    Regards

    Syntex for Percentage Deviation (%)
    Plan Sales % Actual Sales (this will give the percentage deviation between Planned Sales and Actual Sales)
    this is identical to formula
    100 * (Planned Sales - Actual Sales) / (Actual Sales)
    please check the space in your foumula
    Dev

  • Error(1200467) while running FR report.

    Hi,
    We are getting the below error just for one of the reports. Even the person with Admin acess is getting the below error
    *5200: Error executing query: [Thu Jul 12 11:42:03 2012]USNCPDHYPEDB1v/Asia_Pac/Asia_Pac//Error(1200467) Error executing formula for [MDX query]: status code [1130001] in function [@_MDX_RETRIEVE]*
    Can someone help me understand what could be the cause for the same?

    Hil,
    Looks like it is a known issue and there is a patch available. This is from Oracle Support:
    Financial Reporting (FR) Error: "5200: Error executing query:Error(1200467) Error executing formula for [REGION DEFINITION]: status code [1130001] in funcation [@_MDX_RETRIEVE" [ID 1414388.1]
    Modified 21-FEB-2012 Type PROBLEM Status PUBLISHED
    In this Document
    Symptoms
    Cause
    Solution
    References
    Applies to:
    Hyperion BI+ - Version: 11.1.1.3.00 and later [Release: 11.1 and later ]
    Information in this document applies to any platform.
    Symptoms
    In version 11.1.1.3, when running a Financial Reporting (FR) report in Workspace the following error occurs:
    Error: "5200: Error executing query: Error(1200467) Error executing formula for [REGION DEFINITION]: status code [1130001] in funcation [@_MDX_RETREVE"
    Cause
    The cause of this issue is unknown.
    This issue has been identified and verified as unpublished Bug 13529607.
    Solution
    This issue has been fixed in Patch 11.1.1.3.501.
    You can download the patch from "Patches and Updates" and searching for <>
    Follow the steps in the Readme to install the patch.
    References
    PATCH:13529589 - MERGE PATCH FOR BUG 12820641
    Cheers,
    Mehmet

  • Error In MDX query

    Statement: SELECT{ CROSSJOIN({ [Product].[Product] }, { [Measures].[Shipping Units] })} ON ROWS FROM [Shipment]
    com.interlacesystems.iquery.QueryException: COLUMNS axis specification missing
         Statement: SELECT{ CROSSJOIN({ [Product].[Product] }, { [Measures].[Shipping Units] })} ON ROWS FROM [Shipment]
         at com.interlacesystems.iquery.imdx.QueryCommand.resolve(Unknown Source)
         at com.interlacesystems.iquery.imdx.QueryCommand.resolve(Unknown Source)
         at com.interlacesystems.iquery.imdx.IMDXQueryFactory.parseStatement(Unknown Source)
         at com.interlacesystems.iquery.QueryFactory.createStatement(Unknown Source)
         at com.interlacesystems.iquery.DefaultQueryExecutionHandler.<init>(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.makePreviewURL(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.exportQuery(Unknown Source)
         at com.interlacesystems.isclient.admin.query.QueryAction.preview(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)
         at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)
         at com.interlacesystems.isclient.common.ISAction.process(Unknown Source)
         at com.interlacesystems.isclient.common.ISAction.execute(Unknown Source)
         at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
         at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
         at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:304)
         at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:190)
         at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
         at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.SessionInitFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.AuthorizationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.AuthenticationFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.hyperion.css.wls.CssJpsFilter.doFilter(CssJpsFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.interlacesystems.isclient.auth.RootFilter.doFilter(Unknown Source)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    I am getting following error in While Executing a folllowing MDX Query.....

    general mdx format is
    SELECT
    { } ON COLUMNS,
    {} ON ROWS
    FROM [Cube]
    I think you are missing { } COLUMNS, in query.
    Thanks,
    Sumant

  • Essbase Error: Error executing formula

    Problem Description: When running query in BI Answer, error message is shown as the following:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. Essbase Error: Error executing formula for [MIX %]: status code [1130203] in function [@_VAL] (HY000)
    How can I fix it??

    Hi,
    It seems this problem is related to Data Cache And Data cache file settings, Had you tried with increasing it.
    Thanks
    Focusthread Hyperion Trainer
    [http://focusthread.com/training]

  • Essbase Error(1200370) while executing business rule

    Hi,
    I am getting the error - Cannot calculate. Essbase Error(1200370): Error executing formula for [Average] (line 15): attempt to cross a null member in function [@X]
    on executing the following script-
    FIX(@RELATIVE("AltHierarchyProducts",0))
    FIX("FY13","Draft1","Budget")
    "Average"= @MEMBER(@CONCATENATE("P", @NAME (@PARENT(@CURRMBR ("Products")))))->"Variable" * (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    ENDFIX
    ENDFIX
    "Variable" is an account dimension member. When I remove the '->"Variable"' part, the script executes, but obviously gives no result since the account member is missing.
    I have read a lot of posts on this error but could not resolve this issue.
    A basic view of the hierarchy is as under -
    Products -
    AltHierarchy
    --Cat1
    ---Prod1
    ---Prod2
    --Cat2
    ---Prod3
    ---Prod4
    PCat1->"Variable" and Pcat2->"Variable" are the placeholders where the variable values are stored.
    Please help.
    Thanks.
    Note: I am using Essbase 11.1.2.1

    Is it possible that your @MEMBER function never actually returns anything. You have assumed that it works but perhaps it never works and it is only when you add the cross-dimensional operator that the issue becomes apparent.
    e.g. If it is not working:
    Without cross dim: "Average"= @MEMBER()* (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    I'm not sure but perhaps the above will return something like #missing* (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3)
    With cross dim:
    "Average"= @MEMBER()->"Variable" * (("Sales"->"Month1+ "Sales"->"Month2" +"Sales"->"Month3")/3);
    Which I would assume would fail.
    Do you see what I'm getting at? You could test that theory fairly easy.

  • Error: 1200370 Error executing formula

    Hi,
    I am running a calc script, which is verified successfully but is getting failed with following error:
    Error: 1200370 Error executing formula for [EffectedDistrict] (line 138): attempt to cross a null member in function
    Code at line 138 is:
    Normal= @SUMRANGE(normal, @RELATIVE(@CURRMBR("districts"),0));
    where 'normal' and 'districts' are the members in my outline and districts is having lot many districts as children.
    Please help me in resolving this
    Thanks,
    Ashish

    In 11 there is a set command SEt EMPTYMEMBERSETS On;^^^SET EMPTYMEMBERSETS is also available in System 9: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/calc/set_emptymembersets.htm
    For once I get to correct you Glenn, no matter how small or trivial the correction may be. My ego requires me to count my successes -- I think the above is number four for me versus eleventy billion for you. :)
    Regards,
    Cameron Lackpour

  • Error executing formula :scalar double argument expected in function [@DIV]

    Hi,
    I'm getting the following error when I try to run this calc. The syntax check says ok, but the calc won't run. I don't understand what the [@DIV] means ... Can someone help? Thanks!
    Error executing formula for [Alloc Factor] (line 0): scalar double argument expected in function [@DIV]
    sts = 1200400 CalcObject = DBadDebt
    Command Failed. Return Status = 1200400
    Fix(&Cscenario,@descendants("Currency"))
    /*Direct allocation for BNA cost center 10471*/
    FIX("Not Applicable Cost Center",CYTDC,"Bosch Power Tools Corded","Bosch Power Tools Cordless","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Bosch Power Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Bosch Power Tools"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10471"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for ACN cost center 10472*/
    FIX("Not Applicable Cost Center",CYTDC,"Bosch Accessories","Skil Accessories","VA Accessories","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Accessories"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Accessories"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10472"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for SNA cost center 10470*/
    FIX("Not Applicable Cost Center",CYTDC,"Skil Power Tools Corded","Skil Power Tools Cordless","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Skil Power Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt",@CHILDREN("Skil Power Tools"))
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10470"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for MT cost center 10473*/
    FIX("Not Applicable Cost Center",CYTDC,"Measuring Tools","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Measuring Tools"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt","Measuring Tools")
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10473"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    /*Direct allocation for Service cost center 10474*/
    FIX("Not Applicable Cost Center",CYTDC,"Measuring Tools","Canada")
         "Alloc Factor"("Bad Debt" =
         "Net_Sales"->Input->&Cscenario /
         ("Net_Sales"->&Cscenario->"Canada"->"Skil Parts Brand","Bosch Parts Brand"->Input);)
    ENDFIX
    FIX("Canada","Not Applicable Cost Center",CYTDC, "Bad Debt","Skil Parts Brand","Bosch Parts Brand")
    "Direct Alloc"("Bad Debt"="Alloc Factor"->"Bad Debt"*
    ("Input"->"Other Operating Income and Deductions"->"10474"->"Not Applicable Brand"->"Not Applicable Region"->"Current YTD");)
    ENDFIX
    endfix

    Hello Stella Jones,<BR><BR>The error message means:<BR><BR>##1200400 Error %s formula for [%s] (line %s): scalar double argument expected in function [%s]<BR><BR>Is the same post of Jstrater above......<BR><BR>

  • Error Executing Formula

    I am getting the following error while trying to copy data from Workforce Planning database to Expense Planning database:
    Error executing formula for [Other FTE - SG&A]: status code [1013009] in function [@_XREF]
    The member that "Other FTE - SG&A" is trying to XREF is a stored member so I wouldn't think that it woul max out the memory reading the other member.
    The XREF formula for the member is:
              @xref(_WFCube_,"Emp Other FTE - SGA","JobGrade","Employee_Dimension",@name(@currmbr("Period")),@name(@currmbr(HSP_Rates)),@name(@currmbr("Currency")),@name(@currmbr("Year")),@name(@currmbr("Location")),@name(@currmbr("Version")),@name(@currmbr("Areas")));
    Database Cache settings are:
    Index Cache = 150000
    Data cache = 25000
    Currently running Planning 9.3.1 on 32-bit windows environment.
    Any help will be greatly appreciated.

    Do you really need to use these?
    name(@currmbr("Period")),@name(@currmbr(HSP_Rates)),@name(@currmbr("Currency")),@name(@currmbr("Year")),@name(@currmbr("Location")),@name(@currmbr("Version")),@name(@currmbr("Areas))
    I think you can delete those and try again.
    if the dimension or member names exists in both source and target, xref will be able to recognize both,
    so that you don't really need to define it. Simply define the intersection of the source which is different from the target.

  • JDBC receiver adapter for AS400-query time out due to Escape Symbol

    Hello,
    I am uisng JDBC receiver adapter for AS 400, When I execute query, the query needs to have arguments in the open and close single ticks ('    12345' )
    My XML pay load looks like this, which is RFC sender. Look at dcudcstmr in <i><b>(' 838912')</b></i>.  When receiver gets this message the ' (single quotes are disappeared.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MT_Cma_Customer_Select_Request xmlns:ns1="http://freemanco.com/xi/Get_Customer">
    - <Statement>
    - <LawsonCustomer action="SQL_QUERY">
      <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <i><b>(' 838912')</b></i> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
      </LawsonCustomer>
      </Statement>
      </ns1:MT_Cma_Customer_Select_Request>
    On the Receiver JDBC adapter I have tried with different combinations of Escape Symbol for Aposrophe as follows
    <b>   \
       '</b>
    As you know this is related to epcape character, I get following error all the time. Looks like the query is not able to execute in the specified time. My question is how do I get single quote as part of query.
    <b>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( 100001) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr) 2007-09-20 15:56:42 Error Unable to execute statement for table or stored procedure. 'LawsonCustomer' (Structure 'Statement') due to java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Exception caught by adapter framework: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000. 2007-09-20 15:56:42 Error Delivery of the message to the application using connection JDBC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000.. Setting message to status failed. 2007-09-20 15:56:42 Error The message status set to FAIL. 2007-09-20 15:56:42 Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'LawsonCustomer' (structure 'Statement'): java.sql.SQLException:
    [SQL0666] Estimated query processing time 13766 exceeds limit 8000</b>
    Any feedback or helpfull tips appreciated.
    Thank you,
    Balaji

    Raj,
    Thank you for the reponse. I am using UDF on sender to generate sql statement as you see in sender XML message. After the message reaching receiver, gets executed but no response from AS400 becasue of missing single quotes in the sql query executed.
    Sender XML sends
    <access>select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in <u><b>(' 838912')</b></u> and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)</access>
    Receiver executes as
    select f1.DACMCMPNY from sap.sapcustvew f1, sap.sapcustvew f2 where f2.dcudcstmr in ( <b><u>838912</u></b>) and (f1.dcudcstmr=f2.dcudcstmr or f2.komaster=f1.dcudcstmr)
    As you see the single quotes are missing. Like I said in previous posting I tried with following Escape Symbol for Aposrophe.
    Let me know if you need more information.
    Thank you,
    Balaji

  • Essbase Error(1200329): Error compiling formula for [Asset Description] (li

    Hi,
    I am having some problem in debugging one error
    Detail:Cannot calculate. Essbase Error(1200329): Error compiling formula for [Asset Description] (line 37): invalid assignment
    I am just creating a Add asset script as my client does not have license to CapEx module.
    Script Below- please let me know what can be an issue
    VAR numAsset = [NumAsset];
    VAR usFulLife=[UsefulLife];
    FIX(@CHILDREN("Total New"), [Scenario], [Version], [Entity], [Department], [AssetClass],[Year],"BegBalance","Local", "HSP_InputValue")
    "Asset Description" (
    IF (numAsset > 0 AND @MAXS(SKIPMISSING, @CHILDREN("Asset Properties")) == #MISSING )
    numAsset = numAsset - 1;
              "Asset Status" = 0; /* flag to know this is a new asset*/
              "Asset ID" = [AssetID];
    "Asset Description" = [AssetDesc];
              "CAR No." = [AssetCAR];
              "Purchase Units" = [AssetUnits];
              "Purchase Amount(per unit)" = [AssetRate];
              "In Service Date" = [InserviceDate];
         /*     "Total Cost" = "Purchase Units" *"Purchase Amount(per unit)";*/
    IF(usFulLife > 0)
              "Useful Life (in Years)" = usFulLife;
    ELSE
                   "Useful Life (in Years)" = "No Scenario"->"No Version"->"No Entity"->"No Department"->"No LineItem"->"Useful Life (in Years)";
    ENDIF
    ENDIF
    ENDFIX
    FIX([Scenario], [Version], [Entity], [Department], "Local", "HSP_InputValue")
    CALC DIM ("TimePeriod");
    @IANCESTORS("Line Item 1");
    @ANCESTORS([AssetClass]);
    ENDFIX
    Note- "Asset Description" is a member of Text type and in this script [AssetDesc] is a global variable of StringAsNumber
    Regards,
    -KP

    Thanks for responding but my issue resolved, it was a Space in the member name.
    -KP

Maybe you are looking for