Syntax error  in Dashboard Dimension

Hi there,
In BI Presentation dashboard I got an error with a column which has a Dimension, when I click on it should get me two more columns but instead I got this:
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
The Syntax error is obvious in the error details, but when I go back to my BI Answer Request my <(> looks fine...
Please asses me.
Regards

Hi Mat
this is from Error details:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <(>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Access Measures"."Early Leaver", "Attendances"."Date", "Attendances"."Employee Email", "Attendances"."Region", "Attendances"."Working Hours", "Employee Specifications"."Department", "Employee Specifications".Department, Attendances."Employee Email", Attendances.Date, CAST (MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60 AS DOUBLE) / 60, Dim_Attendances.Region, Fact_Access.Absent, Fact_Access.Late, HOUR(Attendances."Working Hours") * 60, MINUTE(Dim_Attendances."Working Hours"), MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60, cast((extract(hour from "Attendances"."Working Hours")) * 60 + (extract(minute from "Attendances"."Working Hours")) as DOUBLE PRECISION ) / nullif( 60, 0) FROM Ain_Access')}
SQL Issued: SELECT "Access Measures"."Early Leaver", "Attendances"."Date", "Attendances"."Employee Email", "Attendances"."Region", "Attendances"."Working Hours", "Employee Specifications"."Department", "Employee Specifications".Department, Attendances."Employee Email", Attendances.Date, CAST (MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60 AS DOUBLE) / 60, Dim_Attendances.Region, Fact_Access.Absent, Fact_Access.Late, HOUR(Attendances."Working Hours") * 60, MINUTE(Dim_Attendances."Working Hours"), MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60, cast((extract(hour from "Attendances"."Working Hours")) * 60 + (extract(minute from "Attendances"."Working Hours")) as DOUBLE PRECISION ) / nullif( 60, 0) FROM Ain_Access
And this from Session Management/ Statment
SELECT Dim_Attendances.Region saw_0, "Employee Specifications".Department saw_1, Attendances."Employee Email" saw_2, Attendances.Date saw_3, Fact_Access.Late saw_4, "Access Measures"."Early Leaver" saw_5, Fact_Access.Absent saw_6, MINUTE(Dim_Attendances."Working Hours") saw_7, HOUR(Attendances."Working Hours") * 60 saw_8, MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60 saw_9, CAST (MINUTE(Dim_Attendances."Working Hours")+HOUR(Attendances."Working Hours") * 60 AS DOUBLE) / 60 saw_10, REPORT_SUM(saw_4 BY saw_0), REPORT_SUM(saw_5 BY saw_0), REPORT_SUM(saw_6 BY saw_0), REPORT_AVG(saw_10 BY saw_0), REPORT_SUM(saw_4 BY saw_0, saw_2), REPORT_SUM(saw_5 BY saw_0, saw_2), REPORT_SUM(saw_6 BY saw_0, saw_2), REPORT_AVG(saw_10 BY saw_0, saw_2), REPORT_SUM(saw_4 BY ), REPORT_SUM(saw_5 BY ), REPORT_SUM(saw_6 BY ), REPORT_AVG(saw_10 BY ) FROM Ain_Access ORDER BY saw_0, saw_2, saw_3 DESC
hope this what u requested,
Regards
MS

Similar Messages

  • #SYNTAX error while using Merge Dimension in webi report

    Hi All,
    # Syntax error when using merge dimension in webi report
    screen shot has been attached.
    iam using BO 4.0 SP6
    checked the datatypes in BW
    they are same in BW in both the queries
    i followed the given links but no result.
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3138343530303526
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3136323339323126
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3137353438313026
    http://scn.sap.com/thread/3592588#15241008
    Need Help!!!!!
    Regards
    Sushma

    Hi Mark,
    Thanks for the reply,
    I did not use any formula,
    I used merge dimension
    Anyways i tried in other system,it s working fine.
    Regards
    sushma

  • Merged dimension gives #syntax error

    Hi everybody,
    i have a simple report that contains 2 query.
    i merged two dimensions and everything looks like fine.
    but when i just refresh the query it gives me syntax error;
    bo system : 4.1 sp3 and both of queries are bex queries.any suggestion please.

    Hi Veer,
    1) same behaviour with Applet as well as web mode
    2) No
    3) I created a webi report, added two bex queries, Country Code is the common dimension which I'm trying to merge. Once both BEx queries are freshed and the objects from both queries are available in in the report to choose from, I try to merge them Country Code, however the merge option isn't even available (i.e. it does not allow merging by selecting objects or choosing the merge from the menu). As a work around I pull the Country code in the report pane from each query as a seprarate objects, ( i notice Country code object from Query one has the values while the Country Code from the second query has the #TOREFRESH, although both query were refreshed at start).
    Since both Country Code objects are on the report cavas, I refresh both queries again. Now I see the values in both objects. Now if I select the Country code from the left hand panel it allows merging. After merging, I drag the new merage counry code on the report Cavas i see the combined values (so far so good). Next I refresh the report again and magically the merged objects is disappeared from the report canvas and the #SYNTAX erro is it remains there.
    As I said, I am using 4.1 with Sup Pak 3, build 1257.
    Any help would be appreciated.
    Regards
    WAK

  • Syntax error Creating Transparent Partition in MaxL

    Hello,
    I'm trying to create a simple transparent partition (no mapping needed, just using all the 3 dimensions and descendants in the source database to the target database. I'm getting a syntax error, I went through the MaxL naming conventions and also tried a couple of diffferent things but to no avail. Please help as to what the error might be:
    My code is as below. The error I get is: Getting a syntax error near '@IDESCENDANTS("Accounts"), @IDESCENDANTS("Products"),@IDESCENDANTS("Market)
    Code:
    create transparent partition student8.coke area '@IDESCENDANTS("Accounts"), @IDESCENDANTS("Products"),@IDESCENDANTS("Market")' sourceArea to student8.cokepart at lab01 as essadmin identified by 'password' area '@IDESCENDANTS("Accounts"), @IDESCENDANTS(Products), @IDESCENDANTS("Market")' targetArea;

    Nobody replied to this, but actually the error was the double quotes on Accounts, Products and Market.

  • Error In Dashboard Prompt after navigation

    Hi All,
    Getting View Display Error while navigating using the Dashboard Page names..
    Error Generating Drop Down Values
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <ORDER>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT "Paint".Region FROM "Paint" WHERE ORDER BY 1
    Please help me in resolving this..

    Thats right...
    Err..Ohk. Don't tell me that you are using Hierarchical columns and other attributes in same prompt (i.e. Single GO Button)
    Like you have columns like Region-Country-State-City and say Category in same prompt where Region-Country-State-City is hierarchy in OBIEE RPD.
    You will have to create 2 seperate prompts here to get it work.
    Prompt 1: Region-Country-State-City (Constraint on each level)
    Prompt 2: Category and other attributes
    This will have 2 prompts so 2 GO button. No way you can achieve this in Single GO even if you change the XMLs and all.
    This is OBIEE logic working behind pulling the common fact and also fetching hierarchical data based on level above i.e. constraints here...
    Hope this clears your doubt. Or may be give the exact structure of your prompts.

  • A general error has occurred. [nQSError: 27002] Near local : Syntax error

    Hi
    I am using oracle BI Dashboard.
    i had configured my physical , business and presentation layers.
    when i click on the answers in the dashboard it also show me my
    new create presentation layer.
    even i can directly query my database using OBI but when i start using OBI Answers.
    i got this error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <local>: Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "amount total".INVOICE_AMOUNT, STOREMAIN.STOREID FROM local')}
    SQL Issued: SELECT "amount total".INVOICE_AMOUNT, STOREMAIN.STOREID FROM locallocal is name of my presentation layer.
    while if i Issue SQL Directly it give me result.
    like
    select * from storemain
    storemain is name of table.
    Thanks
    umesh
    Message was edited by:
    Umesh Sharma
    Message was edited by:
    Umesh Sharma

    My understanding is Dim01 is taking values from the column - *"Company"."Company Name"*
    this being the case, try replacing the column name with one of the values from the column
    like @{Dim01}{value1}
    value1 being a value from the column *"Company"."Company Name"*..only then it will act as a default value
    Hope this helps...

  • Unexpected syntax error executing MDX sentence with a "LIKE" predicate

    Hello,
    I am executing the next MDX sentence correctly on a SAPBW server
    SELECT NON EMPTY
              FILTER (
                   [0VENDOR].[LEVEL01].MEMBERS ,
                   [0VENDOR].CURRENTMEMBER.PROPERTIES("MEMBER_CAPTION") LIKE "V01*"
         DIMENSION PROPERTIES [0VENDOR].[20ADDR_NUMBR], [0VENDOR].[20CITY_2] ON ROWS,
         {[Measures].[0NUMDAY], [Measures].[0RSPL_FCPER]}  ON COLUMNS
    FROM [$MY_CUBE]
    The MDX is working OK and returning all members that their caption start by "V01".
    The problem appears when I execute the query in another SAP server. This new server is returning the next syntax error.
    Syntax error: Syntax Error : ....CURRENTMEMBER.PROPERTIES("MEMBE, row 113, item: 113
    I was searching about SAP and MDX, LIKE operator, the syntax error... but I did not find any interesting.
    Why this query could fail in a certain SAP server but work OK in another?
    I tried to change the FILTER condition with a "=" operator and it works OK, but I need the "LIKE" one.
    Thanks in advanced.

    Thanks for your response.
    The MDX query works OK at SAP 7.0SP1, but it does not work at SAP 7.3.1SPS5.
    Yes, all attributes are the same and exists, and query was tested also with MDXTEST transaction. At this transaction, the error was the same "Syntax error: Syntax Error : ....CURRENTMEMBER.PROPERTIES("MEMBE, row 11" ...
    Note that is a parsing error and it happens parsing the left part of the "LIKE" predicate, so I do not think that attributes were important on this, no?

  • Syntax error [nQSError: 27002] Near NA : Syntax error [nQSError: 26012] .

    All,
    I would like to cache few dashboard SQL's manually. For that I am seeding this logical SQL to BI. I got this SQL from the Advanced tab of analytics.
    Call SASeedQuery('SELECT s_0, s_1, s_2, s_3, s_4, s_5, s_6, s_7, s_8, s_9, s_10, s_11, s_12 FROM (
    SELECT
    0 s_0,
    "RProBIEE"."Date"."Calendar Month" s_1,
    "RProBIEE"."Date"."Calendar Year" s_2,
    "RProBIEE"."Stores"."Sbs Name" s_3,
    "RProBIEE"."Vendors"."Vend Name" s_4,
    DESCRIPTOR_IDOF("RProBIEE"."Stores"."Sbs Name") s_5,
    "RProBIEE"."PO Amounts"."PO Quantity" s_6,
    "RProBIEE"."PO Amounts"."PO Received Quantity" s_7,
    "RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."PO Amounts"."PO Quantity"*100 s_8,
    REPORT_AGGREGATE("RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."PO Amounts"."PO Quantity"*100 BY "RProBIEE"."Date"."Calendar
    Month","RProBIEE"."Vendors"."Vend Name") s_9,
    REPORT_AGGREGATE("RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."PO Amounts"."PO Quantity"*100 BY "RProBIEE"."Date"."Calendar
    Year") s_10,
    REPORT_AGGREGATE("RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."PO Amounts"."PO Quantity"*100 BY "RProBIEE"."Date"."Calendar
    Year","RProBIEE"."Date"."Calendar Month") s_11,
    REPORT_AGGREGATE("RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."PO Amounts"."PO Quantity"*100 BY "RProBIEE"."Date"."Calendar
    Year",DESCRIPTOR_IDOF("RProBIEE"."Stores"."Sbs Name"),"RProBIEE"."Vendors"."Vend Name") s_12
    FROM "RProBIEE"
    WHERE
    (Stores."Sbs Name" NOT IN ('NA', 'UNK'))
    ) djm ORDER BY 1, 5 ASC NULLS LAST, 2 ASC NULLS LAST');
    and I get below error
    te"."Calendar Month") s_11,
    REPORT_AGGREGATE("RProBIEE"."PO Amounts"."PO Received Quantity"/"RProBIEE"."P
    O Amounts"."PO Quantity"*100 BY "RProBIEE"."Date"."Calendar Year",DESCRIPTOR_IDO
    F("RProBIEE"."Stores"."Sbs Name"),"RProBIEE"."Vendors"."Vend Name") s_12
    FROM "RProBIEE"
    WHERE
    (Stores."Sbs Name" NOT IN ('NA', 'UNK'))
    ) djm ORDER BY 1, 5 ASC NULLS LAST, 2 ASC NULLS LAST')
    [10058][State: S1000] [NQODBC] [SQL_STATE: S1000] [nQSError: 10058] A general er
    ror has occurred.
    [nQSError: 43113] Message returned from OBIS.
    [nQSError: 27002] Near <NA>: Syntax error [nQSError: 26012] .
    Statement preparation failed
    Processed: 1 queries
    Encountered 1 errors

    Hi,
    When u press editing data target button in session variable a new popup window opens 'Session variable Initialization block variable target'
    In that Just give one variable name in User
    for example in EditDatasource i have given syntax as
    SELECT
    FND_GLOBAL.RESP_ID,
    FND_GLOBAL.RESP_APPL_ID,
    FND_GLOBAL.SECURITY_GROUP_ID,
    FND_GLOBAL.RESP_NAME,
    FND_GLOBAL.USER_ID,
    FND_GLOBAL.EMPLOYEE_ID,
    FND_GLOBAL.USER_NAME
    FROM DUAL
    in target give EBS_RESP_ID and select ok, again open datatarget and give in User as ' EBS_REPS_APPL_ID' like wise.......
    I think you can understand it and go a head.........

  • Syntax Error in Object Dependancy in Class

    Hi All,
    We are working out bacth specific unit opf measurement in steel industry.
    The base unit of measure in Tonne. The batch specific UOM is Pieces.
    We want system to calculate the batch speific UOM from the production order quantity which is tonnes.
    For this we have defined following charactsristics in class which is assigned to materilals,
    1. PIECES- Number of pieces in batch
    2. SECTIONWEIGHT- This is the fixed value for every material the unit is KG/M i.e. Kilogarm per meter
    3. Z_LENGTH- Length of the material which is order specific
    4. WEIGHT- Batch weight which is nothing but the production order quantity in Tonnes.
    We are defining the following formula to calculate the number of pieces in object dependancy in 'Procedure',
    $SELF.'PIECES'=$SELF.'WEIGHT'1000$SELF.'Z_LENGTH'/$SELF.'SECTIONWEIGHT'.
    While consistency check that is whether the formula is correct or not, system throwing me an error, 'Syntax error in simple action/procedure'
    Kindly help to resolve this and also give input to handle the above scenario.
    SmanS

    Dhaval,
    Thank you.
    I correcetd the error with your solution.
    The syntax error has been resolved.
    Could you please guide me further for resolving the main issue.
    Let me explain you the scenario in details.
    Client manufactures stell angle.
    The base UOM is Tonnes.
    It is having following dimensions,
    Width, Thikness, height, Length.
    We have created material codes with the combination of width, thikness & height.
    Length would be part of classification as one of the characteristics.
    Beside length the other characteristics are PIECES, Z_LENGTH & SECTIONWEIGHT.
    My requirement is whenever the production order is created for specific quantity, say 5 tonnes, the pieces should be calculated automatically in the batch classification.
    Also after GR when the batch comes into stock, it should get updated if the batch quantity in tonnes changes throughout the logistics chain.
    How to incorporate this as it is hampering the process a lot.
    I feel you could help me to solve this.
    SmanS

  • Formula syntax errors

    Hi All,
    I have a formula like this
    NODIV(100((A-B)/A))
    But this is showing that syntax errors are there. Please let me know if any error is and is it correct?
    Thanks in advance
    Sravani

    Hi,
    It is just a matter of doing to much calculation in one fromula.
    I presume that there is something missing between 100 and (
    First: are the dimensions of A and B the same.
    if not first make tho CKF NIDOM(A) and NODIM(B) and then do 100/((A_B)/A)
    Hide the first CKF (in properties)
    If the dimensions of A and B are the same, first calculate 100/((A_B)/A) and do NODIM with the result.
    Udo

  • The following syntax error occurred during parsing: Invalid token, Line 1,

    Hello Experts,
    I hope someone could help me. I am trying to create a MDX formula in Account dimension (Cuenta).
    When formula created use "Iif" syntax, system give the following error:
      - [CUENTA].[H1].[#X000] Parser: The following syntax error occurred during parsing: Invalid token, Line 1, Offset 15, [.
    My Account dimension (Cuenta) has 3 parent, and the formula introduces is:
    'Iif([Cuenta].[H1].[BLOQ_FASEC]<0.5 and [Cuenta].[H1].[BLOQ_FASEC]>-0.5,0,[Cuenta].[H1].[BLOQ_FASEC])
    We try another syntax
    'Iif([Cuenta].[BLOQ_FASEC]<0.5 and [Cuenta].[BLOQ_FASEC]>-0.5,0,[Cuenta].[BLOQ_FASEC])
    But same error persist.
    Could you have any idea?
    Thanks

    Can you check into dimension properties what is the size of FORMULA propertiy?
    Make sure is bigger than number of chars from your formula.
    Do you have multiple hierarchies for CUENTA?
    The formula which you mentioned it has to be into column: FORMULAH1.
    Also make sure that your formula doesn't have an end of line at the end. That can cause again problems.
    Regards
    Sorin Radulescu
    Edited by: Sorin Radulescu on Apr 22, 2010 11:03 AM

  • Syntax error in my code and I can't figure out the problem

    When I try to compile a program, I get this message:
    Syntax error on token "(", "Identifier" expected
    This is the part of the code that is giving me trouble:
    JTextPane textPane = createTextPane();
              JScrollPane paneScrollPane = new JScrollPane(textPane);
              paneScrollPane.setVerticalScrollBarPolicy(
                                  JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
              paneScrollPane.setPreferredSize(new Dimension(250, 155));
              paneScrollPane.setMinimumSize(new Dimension(10, 10));Can you see what's wrong?
    Thanks

    The code's syntax is perfectly fine. The compiler is not falgging an error message in this part of your code. One silly thing you can do:
    Try out this silly change...I don't think it will make any difference but still.
    paneScrollPane.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);That is, put it all in a single line.
    If it is already in a single line then you can be sure that the problem is being flagged from elsewhere in your code and this portion.
    Vijay :-)

  • Syntax error while writing a select query.

    Hi all,
    I have a requirement where I have to pick a value if the text for that value is
    MYCARu2019S Lovliest Car.
    And so I wrote a query that
    SELECT     RUECK INTO XRUECK FROM AFVC WHERE ltxa1 = ' MYCARu2019S Lovliest Car'.
                    ENDSELECT.
    But it gives me a syntax error saying     
    u201CLiterals taking up more than one line not permittedu201D.
    Can some one tell me what is wrong. I need to select RUECK value from AFVC  table if
    ltxa1 value is ' MYCARu2019S Lovliest Car'.
    Kindly help what is going wrong...
    Regards,
    Jessica Sam

    Hi,
    Narendran is right use two single quotes.
    also careful wile comparing string. i think as you write ltxa1 value is ' MYCARu2019S Lovliest Car'.
    so while comparing you must not use space just before staring use the following
    SELECT  rueck INTO xrueck FROM afvc WHERE ltxa1 = 'MYCAR''S Lovliest Car'. " Not use Space before M
    ENDSELECT.
    Hope will help you.
    Kind Regards,
    Faisal

  • Syntax error while running a driver program

    Hi experts,
                 I have developed a smartforms,in which i have declared the following,
                    ITAB TYPE TABLE OF MARA, in import tab of form interface...
    and in se38 i have declared...
    data: itab like mara occurs 0.
    bujt when i am running this program, i am getting syntax error "ITAB" is neither specified under "TABLES" nor defined as internal tabels..
    plz tell me why this probleming is occuring?and how can i solve this....
    thnks n regards,
    Ashmita.

    in form interface try to declare in tables tab
    or
    global data > types tab and declare global  table using that type.

  • Select-options in SELECT query - syntax error

    Hi all,
      I get the error below when I try to use the select options in a SELECT query . Please help me.
    "The IN operator with "SO_AWART" is followed neither by an internal
    table nor by a value list."
    The code i have used(Logical database  PNP is used):
    TABLES: pernr,
            catsdb.
    INCLUDE ztime_cwtr_top.    " global Data
    INCLUDE ztime_cwtr_f01.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME.
    SELECT-OPTIONS SO_AWART FOR CATSDB-AWART.
    PARAMETERS P_THRES TYPE I.
    SELECTION-SCREEN END OF BLOCK B1.
    Get data from CATSDB table. Workdates within the date interval are considered.
      SELECT pernr workdate awart catsquantity beguz enduz status
      FROM catsdb
      INTO TABLE it_catsdb
      WHERE pernr  = pernr-pernr    AND
           workdate GE pn-begda     AND
           workdate LE pn-endda     AND
           status   IN ('20', '30') AND
           awart    IN  so_awart .
          awart    IN ('1100', '1137', '1138', '1139', '1140',
                      '1147', '1148', '1149', '1157', '2003' ).
    when I give the values directly i do not get any syntax error, but when I use select options in the where condition I get the syntax error.
    I have tried different options like using only the select-options in the where condition.
    Thanks in advance.....
    Madhu

    Solved.
    Code with syntax error:
    include z...top .
    include z...fo1.
    select-options: xxxxxxx
    Code  with no syntax error:
    select-options: xxxxxxx
    include z...top .
    include z...fo1.
    Thanks for all your help,
    Madhu

Maybe you are looking for