MDX Error for SAP Variables

Hi All,
We have used QAAWS for creating a dashboard in Xcelsius using Trigger cell for a selection variable in BI Query.When a different selection is maded for that variable getting the below error (In this case i have selected US for the variable)
A database error occured. The database error text is: The MDX query SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING US failed to execute with the error Unknown error. (WIS 10901)
checked in MDXTEST giving  the query
SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING US
It thrown an error saying the above query is invalid.
Later i tried with the below query
SELECT { [Measures].[4FYOXRUNHMI2F3N8G0Q6GNC0I] } ON COLUMNS , NON EMPTY [0SALESORG].[LEVEL01].MEMBERS DIMENSION PROPERTIES [0SALESORG].[40SALESORG] ON ROWS FROM [ZGC0_M001/TEST_2] SAP VARIABLES [TEST_BO] INCLUDING [0SALESORG].[US]
Now it perfectly worked fine.
Can any one let me know why a wrong MDX query is getting generated and how to rectify it?
Regards,
Pra

Hi Ingo,
Sorry for the late reply....
Yes i am sending the Key values as the input for the variables.
If you observe the 2 MDX Statements(the last line especially) .....i guess [SalesOrg] needs to get appended in the MDX Statement  for the Key values  that i input and as it is not happening it is throwing an error saying MDX error.
Regards,
Pra

Similar Messages

  • (x86) Inline assembler syntax errors for 8bit variables

    Hello,
    I am porting some gcc code to Solaris and have some issues
    with the inline assembler. It works reasonably well on most of
    my code but with some instructions I have difficulties.
    In gcc, when I declare a variable as char/unsigned char and
    reference it within an asm-statement the assembler will generate
    'half'-register names for it (e.g. %al, %cl, ...).
    sunCC generates full registers for these variables and so
    certain instructions fail to assemble.
    e.g.
    char flag;
    asm ("setz %0" : "=q"(flag) : :);
    Syntax error is given then for:
    "setz %eax"
    Is there a way to force the use of 8bit registers?
    --L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Even worse:
    char flag, char* ptr;
    asm("xchgb %0, %1" : "=q"(flag),"=m"(*ptr):"0"(1), "m"(*ptr):);
    produces
    xchgb %edx,(%eax)
    on sunCC even when no "-O" flag is given.
    But
    char flag, char* ptr;
    flag = 1;
    asm("xchgb %0, %1" : "=q"(flag),"=m"(*ptr):"0"(flag),"m"(*ptr):);
    produces
    xchgb %dl,(%eax)
    on sunCC if no "-O" flag is given.
    Strange behaviour indeed... :/
    --L                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Repository import error for SAP Basis 640 SWC

    Hi,
    I am getting an error when importing SAP Basis 640 Software components into Integration repository. It is giving thsese java errors:
    com.sap.engine.services.ejb.exceptions.BaseRemoteException: Exception in method importFromImportSource. at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl10.importFromImportSource(TransportServiceRemoteObjectImpl10.java:850) at com.sap.aii.ib.sbeans.transport.TransportServiceRemoteObjectImpl10p4_Skel.dispatch(TransportServiceRemoteObjectImpl10p4_Skel.java:100) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) Caused by: java.lang.NoClassDefFoundError at com.sap.aii.utilxi.core.strings.StringConversion.xml2String(StringConversion.java:645) at com.sap.aii.utilxi.dtd.api.DtdHelper.getString(DtdHelper.java:381) at com.sap.aii.utilxi.dtd.api.DtdParser.parseInputSource(DtdParser.java:68) at com.sap.aii.ibrep.bom.extdef.DtdInternalExternalCategoryService.getDtdSchema(DtdInternalExternalCategoryService.java:72) at com.sap.aii.ibrep.bom.extdef.DtdInternalExternalCategoryService.getExternalReferences(DtdInternalExternalCategoryService.java:48) at com.sap.aii.ibrep.bom.extdef.ExternalCategoryServiceImpl.getExternalReferences(ExternalCategoryServiceProvider.java:51) at com.sap.aii.ibrep.bom.extdef.ExternalDefinition.getExternalReferences(ExternalDefinition.java:35) at com.sap.aii.ibrep.server.persist.extdef.ExtDefInternalPersistSevice.writeTypeData(ExtDefInternalPersistSevice.java:95) at com.sap.aii.ib.server.persist.gen.PersistServiceProvider$PersistServiceImpl.writeObjectVersion(PersistServiceProvider.java:446) at
    The environment is same as in our development server.
    Any idea what causes this error.
    Thanks for your help.
    Madhu

    Hi Vijay,
    1.Check the pre-requsites of Basis patch # 9.
    2.What is your abap patch # ?
    3.Sometimes if you apply the patches by bundling them in queue,it will error out.
    4.Try to clear the import queue,and apply the patches one after another instead of in queue.
    I hope this helps,reply back.
    Rgs
    vikas

  • Installation error for SAP NW 7.01 ABAP Trial version

    Hi ,
    I am trying to install SAP NW 7.01 Trial version on my local PC which runs on OS windows XP SP2.
    I am getting following error while installation Process:
    (May 24, 2009 12:40:08 AM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installation failed.  Look at the log file D:\sapdb\NSP\log.txt for details.
    (May 24, 2009 12:40:08 AM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/Amar/LOCALS1/Temp/MaxDBSAPNWPREV.log")
    STACK_TRACE: 22
    ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/Amar/LOCALS1/Temp/MaxDBSAPNWPREV.log")
         at com.sap.installshield.maxdb.maxdb_call_sdbinst.install(maxdb_call_sdbinst.java:193)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProduct(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
         at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
         at com.installshield.product.service.product.GenericProductService.installProduct(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installAssembly(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.access$900(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
      Can anyone please suggest me how to overcome this error.?*
    Thanks
    Regards,
    Amar Kamat
    Edited by: Amar  Kamat on May 24, 2009 12:49 AM

    Hi ,
    I am trying to install SAP NW 7.01 Trial version on my local PC which runs on OS windows XP SP2.
    I am getting following error while installation Process:
    (May 24, 2009 12:40:08 AM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, An error occurred and product installation failed.  Look at the log file D:\sapdb\NSP\log.txt for details.
    (May 24, 2009 12:40:08 AM), Install, com.sap.installshield.maxdb.maxdb_call_sdbinst, err, ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/Amar/LOCALS1/Temp/MaxDBSAPNWPREV.log")
    STACK_TRACE: 22
    ProductException: (error code = 601; message="An Error happened during call of MaxDB Tool sdbinst. Check end of Logfile C:/DOCUME1/Amar/LOCALS1/Temp/MaxDBSAPNWPREV.log")
         at com.sap.installshield.maxdb.maxdb_call_sdbinst.install(maxdb_call_sdbinst.java:193)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProduct(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
         at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
         at com.installshield.product.service.product.GenericProductService.installProduct(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installAssembly(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.access$900(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
      Can anyone please suggest me how to overcome this error.?*
    Thanks
    Regards,
    Amar Kamat
    Edited by: Amar  Kamat on May 24, 2009 12:49 AM

  • Installation error for SAP CE 7.2 Trial

    Hello,
    I would like to instal SAP CE 7.2 Trial on my PC (XP Pro SP3).
    I have this message error :
    Modifying the USER AUTORITE NT\SERVICE LOCAL failed. Original error message was:
    ind-rel.ind-os.ind-db.j2ee-eng.emptyPassword:
    Password for user 'AUTORITE NT\SERVICE LOCAL' is empty.
    SOLUTION: Modify the account manually and choose OK to continue. If you choose Cancel, the installation will be aborted.
    Do you know why and what to do ?
    Regards

    Hi Nicolas
    Have you found a solution for this problem?
    Regards,
    Jens

  • Getting error for bind variables

    Hello Experts ;
    SQL> DECLARE
      2  l_eid  number;
      3  l_name  varchar2(30);
      4  BEGIN
      5  l_eid:=1000;
      6  select name into l_name from tab1 where no = l_eid;
      7  l_eid:=9999;
      8  select name into l_name from tab1 where no = l_eid;
      9  l_eid:=299999;
    10  select name into l_name from tab1 where no = l_eid;
    11* END;
    PL/SQL procedure successfully completed.
    when  creating bind variables  i am getting error :
    SQL> variable b1 number;
    SQL> exec :b1 :='select name from tab1 where no = :b1';
    BEGIN :b1 :='select name from tab1 where no = :b1'; END;
    * ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 1

    @ SY
    SolomonYakobson wrote:
    You need to explain "method not workable for me". I have no idea what method you are talking about and what are you trying to achieve.
    SY.
    SQL>DECLARE
        v_value  number;
        v_dispaly varchar2(30);
        BEGIN
       v_value :=100000;
        select name into v_display from tab1 where no = :v_value;
        DBMS_OUTPUT.PUT_LINE(v_display);
        v_value :=20000;
        select name into v_display from tab1 where no = :v_value;
        DBMS_OUTPUT.PUT_LINE(v_display);
         v_value :=250000;
        select name into v_display from tab1 where no = :v_value;
        DBMS_OUTPUT.PUT_LINE(v_display);
      * END;
    RS>/
    PL/SQL procedure successfully completed.
    >>  This is not workable for me ,  Here getting error  >>
    SQL> DECLARE
      2  variable  b1  number;
      3  exec  :b1;
      4  BEGIN
      5  select  name  from  tab1  where no =: b1;
      6* END;
    RS>/
    variable b1 number;
    ERROR at line 2:
    ORA-06550: line 2, column 13:
    PLS-00103: Encountered the symbol "NUMBER" when expecting one of the following:
    := . ( @ % ; not null range default character
    Thanks !

  • DDIC Activation error for SAP HR SP 23

    Hello,
    We have installed ECC 6.0 SR3 with DB2 as database and HP UX OS.
    When I am updating HR Software component to SP23, it gives an DDIC Activation error. After checking the logs, "Table Type HRPP_T_PPDIT_HASH could not be activated" was displayed.
    Did a consistency check on table PPDIT, which said it was consistent.
    Kernel level is latest 185. R3 trans and Tp is also latest.
    Kindly help.
    Regards,
    Sagar

    Hi
    Please check the following SAP Notes
    Note 672651 - OCS: Known problems with Support Packages in Basis Rel.6.40
    Note 573044 - Unicode conversion for HR application
    Regards
    Chen

  • Access denied error for shared variables in application builder

    I'm trying to use SVs in my app.  I build an exe using app builder.  When I run my VI from the project, it works fine.  When I run from the app exe, I get an access denied error (-2147024891) trying to write a value to a SV.  My SV lib is hosted on my computer (it's a local SVE).  I've disabled autodeploy and my VI calls deploy library on the lvlib file before I try to use it.  What could I be dong wrong?

    Hi knicewar!
    Thank you for posting on the discussion forums!  What are you refering to when you say SVs?  Here is a KnowledgeBase article discussing the same error, although I am not sure it will be a direct application to your VI, since I am unsure what you mean by SV.  
    Kristen H.

  • RCA:Database Monitoring error for SAP Systems on OS/4000 with DB4

    Hello Experts,
    We are trying to add ECC systems in DATABASE monitoring(DBACOCKPIT) in RCA workcenter of solman 7.0 ehp1 sp26, the DBSID of the systems are shown as *LOCAL.hence the system is not getting added .This is the case only for system on OS/400 and DB4.
    The DBSID in RCA is fetched from SMSY-Which is fetched from SLD->The data supplier in  ECC pushing the data to SLD
    The DBSID in System(Menu)-Status is showing as LOCAL, hence this DBSID(LOCAL) is reported in SLD->SMSY
    any pointers on this?

    Hi Nilesh,
    Please have a look into below SAP note
    1887354 *
    [ODBC SQL Server Driver] Associated statement is not prepared
    Hope this helps.
    Regards,
    Deepak Kori

  • OLAP BAPI - MDX Extension - SAP VARIABLES

    Hello,
    we use OLAP BAPI in oder to run queries angainst BW. Queries are written in MDX using the SAP VARIABLES extension to MDX. When using a variable for characteristic "0MATERIAL", the system returns an error stating that the specified value is not correct with this characteristic (we test our queries using tx "mdxtest"). In fact, the specified value exists for 0MATERIAL. Are there any further restrictions to using the SAP VARIABLES-clause (e.g., ALPHA-conversion exit)?
    Thank you!
    Kind regards,
    Tom

    Hello Rishi,
    thank you for your comment. You are right - the conversion exit is MATN1. In fact it does not work either using a material number in external format or using a material number in internal format. Any further ideas - are there any specifics to MDX using clause SAP VARIABLES?
    Thank you!
    Kind regards,
    Tom

  • Getting error after putting variable in select statement

    Hi All,
    Kindly help me with Pl/sql code
    here i'm trying to put variable in select statement ....
    I successfully put the Yr and Mnth ..but getting error for loop variable "i"
    Here i'm getting error that too because of " i" only-->TRIM(UPPER(TO_CHAR(TO_DATE(i||'-'||Mnth||'-'||Yr,'dd-Mon-YYYY'),'DAY')))
    Please find the full code below.
    Declare
    Yr number not null:=2010;
    Mnth varchar2(20) not null:='Jun';
    v_val number:=0;
    begin
    for i in 1..2 loop
    case i
    SELECT count(*) into v_val
    FROM DUAL
    WHERE TRIM(UPPER(TO_CHAR(TO_DATE(i||'-'||Mnth||'-'||Yr,'dd-Mon-YYYY'),'DAY')))
    in (UPPER('Monday'),UPPER('Tuesday'),UPPER('WEDNESDAY'),UPPER('THURSDAY'),UPPER('friday'))
    end case;
    end loop;
    end;

    Declare
      Yr number not null:=2010;
      Mnth varchar2(20) not null:='Jun';
      v_val number:=0;
    begin
      for i in 1..2 loop
      SELECT count(*) into v_val
      FROM DUAL
      WHERE TRIM(UPPER(TO_CHAR(TO_DATE(i||'-'||Mnth||'-'||Yr,'dd-Mon-YYYY'),'DAY')))
      in (UPPER('Monday'),UPPER('Tuesday'),UPPER('WEDNESDAY'),UPPER('THURSDAY'),UPPER('friday'));
    end loop;
    end;

  • Crystal Report doesn't prompt for SAP credentials / errors out on refresh

    2 Environments tested with same results:
    <p>
    BOE XI 3.1 SP2 & BOE XI 3.1 SP2 FP2.5<br>
    SAP Intg Kit on mirrored SP/FP levels in each environment.
    <p>
    We've been successfully creating Crystal Reports against BEx queries in BW for months now as well as ECC master data.  We've also built universes and have WebI reports actively working against similar BEx queries in the same.  However, we're getting some curious behavior when we refresh the Crystal Reports against BEx queries in BW.  Verified all necessary transports and authorizations have been provided for both authoring, as well as refreshing/viewing on demand, etc.
    <p>
    We've setup all the Crystal Reports we're testing to:
    <p>
    a) Use custom database logon information specified here.<br>
    b) Specify a custom driver, leveraging the crdb_bwmdx driver<br>
    c) Prompt the user for database login
    <p>
    We have not enabled SNC as of yet.
    <p>
    1) When we refresh a WebI report hitting a BEx query with security applied, it doesn't prompt for the credentials, but we confirmed through tracing on the SAP side that if the user hits a paramater it has access to, the data comes through and when we hit a paramater they do not have access to, we can clearly see SAP reject it and it spits out a logical error on the BO side in InfoView and in the WebI logs on the BO server. 
    <p>
    2) When we refresh a Crystal Report hitting ECC data, we are prompted for the SAP credentials and everything works as expected
    <p>
    However:
    <p>
    3) When we refresh a Crystal Report hitting a BEx query in BW, we are not promtped for SAP credentials.  We immediately get the "LOV" prompts.  Now, if we use a test user in SAP that has NO SECURITY restrictions at all and open access to the query, the data comes through.  However, as soon as any security is applied to the query level, even if it is SAP ALL, we cannot retrieve the data.  Tracing is also strange, as we can see on the SAP side it buffer the selected paramaters, but unlike with the WebI reports, it never shows it reaching the point where it checks each paramater against what the role has access to.  An error is then spit back.  We run the same queries with the same users within SAP and get normal behavior.  It's as though as soon as we apply security to the query the mdx driver doesn't like it.  Dependant on the type of InfoView viewer we use, the errors we consistently get on the BO side are:
    <p>
    Interactive Viewer: "Error in File %reportname%: Encapsulating Page Failed"<br>
    Java Viewer:  "Error in File %reportname%: Database Connection Error"
    <p>
    Nothing glaring in the event logs on the BO servers or in the Crystal logs that I can see, however just because it isn't spitting a specific error in the crystal logs doesn't mean I'm not missing something because I don't know what to look for behavior wise. To reduce the liklihood that it has to do with the way the report was built, we've tried against the same query by building a report using standard methods, as well as the SAP Toolbar using a very plain jane report.  Same behavior.
    <p>
    Thoughts?
    Edited by: Jay Riddle on Mar 1, 2010 8:55 PM

    Hi,
    1) When we refresh a WebI report hitting a BEx query with security applied, it doesn't prompt for the credentials, but we confirmed through tracing on the SAP side that if the user hits a paramater it has access to, the data comes through and when we hit a paramater they do not have access to, we can clearly see SAP reject it and it spits out a logical error on the BO side in InfoView and in the WebI logs on the BO server.
    >> Which authentication are you using to logon to InfoView ? Whats the configuration in the Universe Connection for Authentication ?
    2) When we refresh a Crystal Report hitting ECC data, we are prompted for the SAP credentials and everything works as expected
    >> The user is using which authentication ? and against which system does he log on ?
    However:
    3) When we refresh a Crystal Report hitting a BEx query in BW, we are not promtped for SAP credentials. We immediately get the "LOV" prompts. Now, if we use a test user in SAP that has NO SECURITY restrictions at all and open access to the query, the data comes through. However, as soon as any security is applied to the query level, even if it is SAP ALL, we cannot retrieve the data. Tracing is also strange, as we can see on the SAP side it buffer the selected paramaters, but unlike with the WebI reports, it never shows it reaching the point where it checks each paramater against what the role has access to. An error is then spit back. We run the same queries with the same users within SAP and get normal behavior. It's as though as soon as we apply security to the query the mdx driver doesn't like it. Dependant on the type of InfoView viewer we use, the errors we consistently get on the BO side are:
    >> The user is using which authentication ? and against which system does he log on ?
    >> You mentioned security restrictions and I assume we talk about BI authorizations in form of data level security. If so - does the BW query include the authorization variables ?
    Ingo

  • BPC 7.5NW SP08: "unknown MDX error" message for simple dimension formula

    Hi everyone!!
    We are facing many different issues concerning dimension formulas and
    script logic. Maybe it's something related to SP08. For instance,
    consider the following:
    - there is a dimension named P_Account, with members Price, SalesCost,
    and others
    - there is a dimension named P_Product, which consists of a hierarchy,
    for instance: Prod1 with two children, Prod1A and Prod1B
    We want to set the following dimension formula in P_Product for Prod1 member:
    IIF([P_Account].CURRENTMEMBER.PROPERTIES("ID") = "Price", Null, 1)
    that is, we wanted to try to be able to avoid summing Price, returning
    Null for (Price, Prod1). Later we would try to replace "1" with the
    appropriate formula to sum children of Prod1 for all other members of
    P_Account. The result is an odd error: "MDX statement error: unknown MDX
    error" (or something similar, since I get the error message in portuguese).
    We have spent almost two days studying alternatives in SDN Forum, blogs,
    google, etc, trying to find a reason for the error but couldn't find it.
    Could anyone help on this one?
    Thanks!
    Luigi

    Hi everyone!
    After contacting SAP, we were asked to try to reproduce the error in APSHELL. I did the following:
    1) created another application set, copying APSHELL, named it TESTAPPSET;
    2) added two members to dimension P_ACCT (ID, ACCTYPE, SCALING, RATETYPE):
       (PRICE, INC, Y, END)
       (SALESCOST, INC, Y, END)
    3) saved to server and processed P_ACCT dimension successfuly
    4) added a UD dimension copied from P_Activity, named P_Product
    5) deleted all members of P_Product, processed the dimension sucessfuly
    6) added FORMULA property to P_Product, with size 200
    7) added three members to P_Product (ID, PARENTH1)
       (Prod1, "")
       (Prod1A, Prod1)
       (Prod1B, Prod1)
    8) saved to server and processed the dimension successfuly
    9) edited P_Product members and added the following as FORMULA for Prod1:
    IIF([P_ACCT].CURRENTMEMBER.PROPERTIES("ID") = "PRICE", Null, 1)
    Result was sucess!!
    10) edit P_Product again and removed the formula, saved to server and processed dimension successfuly;
    11) created an Application named SALES, type Financial Report, copied from PLANNING with dimensions
    12) edit dimensions, removed P_Activity and added P_Product to the list
    13) went back to step (9) and tried to add the formula again, saved to server and processed P_Product dimension. Result was success again!!
    So I imagined the issue might be caused by the user I was log in with. I went back to our application set, logged in as BPC_SYSADMIN and tried to set the formula again and it didn't work. User was not the problem.
    Since I had tried all the above creating everything with all UPPERCASE, I decided to try the following Formula
    IIF([P_ACCOUNT].CURRENTMEMBER.PROPERTIES("ID") = "Price", Null, 1)
    that is, P_ACCOUNT instead of P_Account. Result: success in processing dimension!!! And the formula worked as expected when I opened an Input Schedule to test it.
    When I check my dimension list in BPC Admin it says P_Account (mixed case), instead of P_ACCOUNT (all uppercase) since it was the way we created it.
    So, I spent 1hour to do the whole test, but it worked. I sent two questions/requests for correction or improvement to SAP:
    I) which case should be used in formulas? given I see P_Account in Dimension list, how should I know that I should write formulas with P_ACCOUNT, all uppercase?
    II) could BPC provide more descriptive error messages when processing dimensions and validating script logic? a simple error message such as "unidentified command or reference at P_Account" or anything similar would have saved us 4,5 days of work! it's a lot!
    Thank you guys for your support!!

  • SAPinst Error--Phase 2--Creation of User for SAP System

    Hi,
    I am installing SOLMAN 7.0 on Red Hat Linux 5 with IBM Java SDK version 1.4.2_10
    When I run the SAPinst it gives ERROR in the 2nd phase of Creating users for SAP system.
    The SAPinst log file shows as below:-
    WARNING[E] 2008-06-07 17:49:28.362
    FSL-01002  Unable to create account user="orasmd". useradd: cannot create directory /oracle/SMD (return code 12)
    WARNING[E] 2008-06-07 17:49:28.363
    MUT-03025  Caught ESyException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2008-06-07 17:49:28.427
    FCO-00011  The step createAccounts with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_Users_Create_Do|ind|ind|ind|ind|5|0|createAccounts was executed with status ERROR .
    Please suggest and help me in resolving this error asap.
    Regards,
    Abhijeet K

    Hi,
    Thnx a lot for the suggestion Markus
    I have created the directories required.
    The SAP installation has started, but now I am getting the message as below during the ORACLE DB Installation phase,when I run the Oracle ./RUNINSTALLER in Bash Unix:-
    [orasmd@SOLMAN SAP]$ ./RUNINSTALLER
    oracle_stage is not set (OK)
    oracle_base is not set (OK)
    oracle_home is not set (OK)
    oracle_sid is not set (OK)
    oracle_home_name is not set (OK)
    oracle_inst_group is not set (OK)
    from_location is not set (OK)
    tmp_netca_file is not set (OK)
    tmp_dbca_file is not set (OK)
    Working in /oracle/stage/102_64/database/SAP ...
    The environment variable ORACLE_HOME is not set! abort ...
    I have set the ORACLE_HOME env variable as below:-
    ORACLE_HOME=/oracle/SMD/102_64
    export ORACLE_HOME
    But I get the same message again as above.
    Do we need to set the ORACLE_HOME env variable in the BASH_PROFILE directly??? Coz I heard that if we set it with the Export command then the env is set only for the current instance and not permanently.
    If so what is the exact entry I need to make in the BASH_PROFILE???
    Rgds,
    Abhijeet K

  • SAP Variable Tech Name in MDX

    Hi Friends,
    I have a question related to SAP Variable usage in MDX statement.
    I have a hierarchy node variable, which is mandatory and has a default value..
    When technical name of this variable is something like ZXYZ_SM, it appears differently in MDX, as !V0000017..
    Problem is, i have to use this variable in two seperate queries and this MDX technical name changes query to query..
    Eg.: when it is !V0000017 in Query A, it is !V0000015 in Query B.. I need them to be identical across queries, because this is a global filter of a huge dashboard..
    Can you please help me how to proceed? I need solution on Bex side..
    Thanks in advance,
    Sunil
    ====================================================
    SAP Variable tech name needs to be shorter than 10 chars in order to be supported by MDX. So, changing variable name fixed the issue...
    ====================================
    Edited by: SunilKmr on Nov 29, 2010 1:27 PM

    What Rohit is trying to say is that the technical name of the BEX variables is not shown to an end user,
    and also not used to combine user input, only the prompt text is.
    (BTW, the technical name is determined by the position of the variable prompt in the BEX query,
    so the first variable shown will be !V000001, the second !V000002, etc.
    So in your case the order in the two BEX queries is different)
    So if you have two BEX queries, this means two universes.
    Now when you want to report data out of these two universes you will build a query in the WebI report on each universe.
    Both queries will ask you for input for their respective BEX variables,
    but to do that they using the prompt text, not the tech name.
    By default this prompt text will be the name of the BEX variable,
    but you can change the text in the universe without implications.
    As long as the two prompt texts are the same for these two different tech name variables,
    BO will give just one prompt and feed it to !V0000017 in the query on the universe for BEX query A
    and !V0000015 in the query on the universe for BEX query B.
    Hope this is clear enough,
    Marianne

Maybe you are looking for

  • Mass data update in Value mapping table

    Hi ,   I have used Value mapping replication to update the mass data from external source to Value mapping table . Its updatating in Runtime Cache but i want the data to be visible in GUI Value mapping table as well. Is it possible ? Because i doubt

  • SAP webdispatcher and URL redirect?

    Hi, I just installed SAP web dispatcher with the purpose of using it (similar to saprouter for sapgui) as single point of entry for all http(s) requests to our SAP systems. I configured parameters icm/HTTP/redirect_x to accomplish that but to only li

  • Customer code

    hi all , my scenario is ECC--XI--customer  using synchronous communication. I want    customer code   by java to test my scenario . can anybody help me ? thank you .

  • App Store keep asking to update for 10.9.4 and its already installed

    Hello , In the past two days App Store keep telling me to update for 10.9.4 and its already installed on my laptop . and if i press to download App Store is downloading the whole mavericks again which is 5.* GB . in order to try solving the problem i

  • Validate Parent Entity Row when Child Entity Row got changed

    Guys, I want to Validate Parent Entity Row, when a child Entity Row got changed. How can i do it?