Re-naming columns in Analytic View

Hi,
I have an analytic view with a join of multiple tables. They all have a column with the same name. Upon validation HANA studio renames them e.g. Name_1, Name_2 etc. How can i re-name them?
Thanks.

Hi Shruti,
Validation does not modify models. This auto name proposal happens during adding columns to the output. As all columns belong to the same name space there should not be name clash among them. So to avoid any name clashes, studio auto proposes alternative names. You can rename them in properties view or alternatively you can also use rename dialog available in the output pane.
Regards,
Raghu

Similar Messages

  • How to perform Descending Order function on a DATE column in Analytical View

    Hi,
    I have the below requirement
    For the article/site having a+ stock quantity from table MARD field LABST, check the last goods movement date as a receipt table MSEG field SHKZG value "H".  To get this information fetch the data from the table MSEG & MKPF.  The lead time from that date till the present date is the ageing information.  Show the output sorted on the duration as ageing information.
    Created a calculate column with the below code and it is populating data i.e. multiple records for the same item for different dates like
    daysbetween(date("BUDAT"),date("CURRENT_DATE"))
    MC25001;1001;08;DC01;;H;WL;20150317;20150317;000000000000000233;2015-04-20;34;1,003
    MC25001;1001;08;DC01;;H;WL;20150312;20150312;000000000000000233;2015-04-20;39;2,006
    MC25001;1001;08;DC01;;H;WL;20141203;20141203;000000000000000233;2015-04-20;138;3,009
    MC25001;1001;08;DC01;;H;WL;20150409;20150409;000000000000000233;2015-04-20;11;1,003
    MC25001;1001;08;DC01;;H;WL;20141201;20141201;000000000000000233;2015-04-20;140;1,003
    Now I have to sort the date (BUDAT) (highlighted in bold above) to be sorted in Descending and then take the first record and then apply the the above formula to get the aging stock. 
    Any suggestions?
    Best Regards,
    Vijaya

    Hi,
    But I don't think you need to go for scripting view. What you can do here is create one more calculation view , insert this analytical view in the projection and select date as measure and pick max value and then create one calculated column and put your logic.
    I hope i got your requirement correctly.
    BR
    Sumeet

  • Error in Restricted Column of Analytic View

    Hi,
    I created a Analytical view and performed join between the tables. All the data has been populated successfuly.
    I restricted for the Column PER UNIT SALES PRICE based on the attribute value MATERIAL_NUM = 25. I do get an error when i validate the current view. Errors are displayed below for your reference and the screen shot of Data Preview Analytic view is placed below the errors.
    Message :
    Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Analytic View: nn'PER UNIT SALES PRICE' is an invalid value(7)nnSQL: transaction rolled back by an internal error: column store error: <?xml version="1.0" encoding="utf-8"?><createCubeResult version="1.0"><status><message>The scenario XML is not valid</message><errorCode>2112</errorCode></status><details><errors><detail><element>cubeSchema -> cubes -> cube (_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap) -> measures -> measure (MONITOR_PERUNITSALES) -> formula</element><code>7</code><message>'PER UNIT SALES PRICE' is an invalid value</message></detail></errors></details></createCubeResult>nnCreate OLAP Scenario statement: CREATE OLAP SCENARIO '<?xml version="1.0" encoding="utf-8"?><cubeSchema version="3" operation="createHanaCube"><cube name="_SYS_BIC:ID403381.Customerdetails/ANAL_CUSTOMER_MATERIAL/olap" registerCubeForApsFlag="true" registerCubeForSqlApsFlag="false"><cubeTables><cubeTable name="ID403381:CUSTOMER" type="d-table"/><cubeTable name="ID403381:CUSTOMER_FACT" type="f-table"/><cubeTable name="ID403381:MATERIAL" type="d-table"/></cubeTables><joinConditions><joinCondition name="JOIN_CUSTOMER_FACT_CUSTOMER_1" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="CUSTOMER ID"/><partner2 table="ID403381:CUSTOMER" column="ID"/></joinCondition><joinCondition name="JOIN_CUSTOMER_FACT_MATERIAL_2" referentialIntegrity="true" joinType="inner"><partner1 table="ID403381:CUSTOMER_FACT" column="MATERIAL NUM"/><partner2 table="ID403381:MATERIAL" column="MATERIAL NUM"/></joinCondition></joinConditions><joinPaths><joinPath name="PATH_CUSTOMER_1"><joins><join name="JOIN_CUSTOMER_FACT_CUSTOMER_1"/></joins></joinPath><joinPath name="PATH_MATERIAL_2"><joins><join name="JOIN_CUSTOMER_FACT_MATERIAL_2"/></joins></joinPath></joinPaths><dimensionAttributes><dimensionAttribute name="SALES REP ID"><columnMappings><columnMapping name="SALES REP ID" technicalName="SALES REP ID" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REP ID" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="SALES REVENUE"><columnMappings><columnMapping name="SALES REVENUE" technicalName="SALES REVENUE" type="key" table="ID403381:CUSTOMER_FACT" column="SALES REVENUE" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ID"><columnMappings><columnMapping name="ID" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ID" type="key" table="ID403381:CUSTOMER" column="ID" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$NAME"><columnMappings><columnMapping name="NAME" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$NAME" type="key" table="ID403381:CUSTOMER" column="NAME" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$AGE"><columnMappings><columnMapping name="AGE" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$AGE" type="key" table="ID403381:CUSTOMER" column="AGE" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS"><columnMappings><columnMapping name="ADDRESS" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$ADDRESS" type="key" table="ID403381:CUSTOMER" column="ADDRESS" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY"><columnMappings><columnMapping name="SALARY" technicalName="ID403381.Customerdetails/ATTR_CUSTOMER$SALARY" type="key" table="ID403381:CUSTOMER" column="SALARY" joinPath="PATH_CUSTOMER_1" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM"><columnMappings><columnMapping name="MATERIAL_NUM" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NUM" type="key" table="ID403381:MATERIAL" column="MATERIAL NUM" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute><dimensionAttribute name="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME"><columnMappings><columnMapping name="MATERIAL_NAME" technicalName="ID403381.Customerdetails/ATTR_MATERIAL$MATERIAL_NAME" type="key" table="ID403381:MATERIAL" column="MATERIAL NAME" joinPath="PATH_MATERIAL_2" isVisible="true"/></columnMappings></dimensionAttribute></dimensionAttributes><measures><measure name="QUANTITY SOLD" table="ID403381:CUSTOMER_FACT" column="QUANTITY SOLD" aggregationType="sum" isVisible="true"/><measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures><constraints/></cube></cubeSchema>'n
    The below displayed are the Data Preview of the Analytic view
    ANALYTICAL VIEW OUTPUT
    ID
    NAME
    AGE
    ADDRESS
    SALARY
    MATERIAL_NUM
    MATERIAL_NAME
    SALES REP ID
    SALES REVENUE
    QUANTITY SOLD
    PER UNIT SALES PRICE
    6
    Dinesh
    18
    Kerela
    2,829.34
    53
    TOLL
    267
    2660 EUR
    6
    5
    12
    Matthews
    41
    UP
    28,282.24
    25
    TRIMAS
    170
    1145 EUR
    9
    31
    10
    Thomas
    19
    Bihar
    27,282.21
    35
    CORES
    109
    1757 EUR
    11
    4
    I need guidance to proceed further!!!
    Thanks and regards
    Sanjay

    One quick question:
    The measure definition as shown as:
    <measure name="PER UNIT SALES PRICE" table="ID403381:CUSTOMER_FACT" column="PER UNIT SALES PRICE" aggregationType="max" isVisible="true"/><calculatedMeasure name="MONITOR_PERUNITSALES" aggregationType="max" isVisible="true" calculateBeforeAggregation="false" datatype="fixedString" length="10" scale="0"><formula>PER UNIT SALES PRICE</formula></calculatedMeasure></measures>
    Can you please check and confirm the data type for the Calculated measure.
    Regards,
    Ravi

  • How to get user name as a calculated column in Analytic View or Calculation Graphical View?

    Hi Folks,
    I needed something like this. In the output, I needed a column which displays the SESSION USER who is seeing the results of the model.
    In Script , we can have something like this
    SELECT SESSION_USER FROM DUMMY
    How can I do the same using calculated columns in the model?
    Regards,
    Krishna Tangudu

    Hi Nick,
    Since you have said "Month Name", I am guessing you are interested in getting values such as "January", "February" and so on as opposed to 01, 02.... Is that right?
    If so, I don't think there exists a built-in function in HANA that could give you that. A calculated attribute with a case or if statement on the hard-coded descriptions (January, February...) for month values (01,02...) derived from the data column (BEZDT) is what I can think of.
    Thanks,
    Anooj

  • Can anyone tell how to use daysbetween() function in analytical view?

    I have been trying to create a calculated column in analytical view. Column needs to calculate days between two dates.
    Using daysbetween (date1,date2) function, I have been trying to bring the difference but while validating i m getting error as date 1 is not an attribute.
    Infact, I am using fields from my column itself but still not able to move further. Please help
    Regards,
    Vikram Sharma

    Hi Peter,
    The datatype is date, initially it was NVARCHAR type but i wanna keep it to date type so i changed it.
    However, the query that you have given will calculate days from current date, right?. I have one date as a column in a table and another date is from input parameter.
    So I need to calculate days lapse between two specified dates in which i have been unsuccessfull so far..
    Also, just for your info. when i used this date function in HANA SPS 07 it was working fine but don't know what happen now when I am using it in SPS08.
    Regards,
    Vikram

  • Use different column Name in Analytic View depending by logon session language

    Hi everybody.
    Is it possible to have different column names for ONE single Analytic View column depending by the Client session language?
    For instance:
    - we have one (only one)  column name let's say that is 'fatturato' (for an Italian Client session) and 'invoiced' (for an English Client session) etc.. etc..
    in other word the 'column name' changes depending by the language but the column is only 1 (one).
    Is it possible to manage this and how? In SAP Hana Studio?
    Is it possible to store in some way the different names of that column and relate them to the column itself?
    Thank you in advance
    Best regards.
    Sergio

    Hi Sumeet.
    We already did your suggestion...
    But after the action:
    " tab--> Migrate--> Add---> OK"
    what do you have to do to have a multi-language column naming?
    Let's say we have a column name = 'product' (in English).
    We'd like to have for the same column also the following name:
    - 'prodotto'  ->  for Italian
    - 'produit'  -> for French
    - 'produkt' -> for German
    .. and so on
    depending  by the Client session language (and this has to be done automatically of course).
    How this can be achieved?
    Thank you
    Sergio

  • Test whether named column exists in a  view

    hi,
    I need a test, for an if..then else clause to tell me whether there is a column named 'family' in a view.
    Thanks in advance,
    Jon

    Hallo,
    DECLARE
    v_dummy number;
    BEGIN
    select 1 into v_dummy from dual
    where exists (select null from dba_tab_columns
                        where table_name = 'YOUR_VIEW'
                        and column_name = 'FAMILY'
                        and owner = 'YOU');
    EXCEPTION
    WHEN NO_DATA_FOUND
    THEN
       v_dummy:= 0;
    END;
    IF v_dummy = 1 THEN
    dbms_output.put_line('Column exists');
    ELSE
    dbms_output.put_line('Column doesn't exist');
    END IF;
    Read about dba(all)_objects here
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_2005.htm#i1583352
    Regards
    Dmytro
    dbms_output corrected
    Message was edited by:
            Dmytro Dekhtyaryuk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Filter (variable) applied at analytical view is not reflected in Caculation view.

    Hello All,
    I am new to hana and would like to discuss one issue here.
    Model is something like this:
    Calculation  view  ---- >   has one Analytical View  --->  has one attribute view and a fact table.
    Now, in analytical view I have applied a filter using a variable on dimension attribute ( column of attribute view). When I do data preview on  analytical view I get a prompt (asking single value to put in - mandatory). However when I do a data preview for calculation view (which involves analytical view created earlier) ...I don't get a prompt this time.
    Calculation view is a 2 level only [ semantic --> projection/aggregation(analytical view) ].
    Please assist with it.
    Thanks
    Sumit

    Thanks for your reply Ravi.
    It seems like this approach is applicable for "Input Parameters" only and not for "Variable" ?
    I created a variable & an Input parameter in Analytical view, and created same variable & input parameter in calculation view...and then clicked on "Input parameter managed mapping" button under section "Variables/Input parameters" of semantics. I could see only Input parameters listed on both sides not the variables.
    1. I am curious now to understand ...when it is recommended that the data needs to be filtered out at the lowest level...however we still need to define parameters at calculation level ?
    2. The prompt based filters applied at analytical view is getting reflected in calculation view when it(calculation view) is refreshed for data preview ?
    3. Is it possible to expose analytical or attribute view directly into the business objects universe ?
    Yours, and other member's reply on it will be appreciated.
    Thanks
    Sumit

  • How do i filter the records in analytic view by using variable/parameter for a time range

    i have a analytic view which has a output column as date type. i want the user who use this view have the control to decided the output records based on a time range (from x to y).
    i tried to create 2 variables, 1 for start_time, 1 for end_time. Ideally, i should have a expression for filtering data like this:
    $$start_time <= date_column <= $$end_time
    However, the variable windows doesn't seem to be feasible for the expression as above.
    Does anyone has the same problem and get it solved?
    Thanks!

    just figured out by my own. So the answer is using "variable" with "range" option.
    Making a variable, then set the "selection type" to "range".
    When preview the data, the variable input window pops up with operator on default "equal", use dropdown list to swtich it to "between", then you can enter the start_time and end_time as a range filter.

  • Error while executing the the SQL on top of Analytical view

    Hi all,
    below is the generic pattern of the query I am using on my Analytic view,
    Select a. col1, a.col2, a. sum(col3)
    from _SYS_BIC.SIMPLE_AN_VW  a
    where a. col3_date_field > a. col4_date_field and
    a. col5<=15
    group by a.col1,a.col2;
    I am getting the following error
    Could not execute '
    Select a. col1, a.col2, a. sum(col3) from _SYS_BIC.SIMPLE_AN_VW  a where ...' in 43 ms 446 µs .
    SAP DBTech JDBC: [7]: feature not supported: not allowed over OLAP VIEW : search without aggregation or grouping by expression other than view column    
    when I removed the where clause 'a. col3_date_field > a. col4_date_field' it is working fine.
    I know that this error occurs when there is no group by clause but I have the group by clause but I am still getting the error.
    Does any one have any idea on why this is happening??
    Please advice!! thank you!!
    -Gayathri

    Hi Krishna,
    Thank you for the reply.
    Option #2 :I added a dummy calculate column and the query just ran successfully.the calculated column is just a column with hard-coded value.
    Do you by any chance know the reason why this works??
    option #3 : Do you know how to do that filter ?
    the static filters can be applied if we have a know value like col1>50 but how can I apply them to filters such as col 1>col2
    Please advice!!. Thank you
    -G

  • Error While opening an Analytic View (Imported View)

    Dear Colleagues,
    Procedure Followed as:
    I exported (through Developer mode) an analytic view named with "abc" from a system called "123"  to my local system. From my local machine I   imported the view into another system called "456", these two processes are successful.
    Issue:
    When we are trying to open the imported model ("abc") from "456" system it is through following error.
    Regards,
    Sharath 

    Hi Sharath,
    When you get error, below in job log you can see completed with errors. Just double click it.
    Through SYSTEM user, admin will give privileges to your user. If you are practicing HANA then if you have the access to do so, then you can do by yourself.
    If you are in project then ask your admin to give privileges.
    By the way what are all the privileges you have? It helps to know what additional privileges required under each category
    Regards
    Raj

  • Error when activate analytic view (join tables)-Exception during activation

    Dear guru,
    I suffered an error showed "Exception during activation" when activate a newly created analytic view.
    I used two tables, one is NASDAQDAILY, one is NYSEDAILY.
    Private attribute are "DATE, STOCK(NYSE.STOCK), STOCK_1(NASDAQ.STOCK"
    Measure are "PRICEOPEN(NYSE), PRICEOPEN_1(NASDAQ)"
    JOINS are: Left Table-NASDAQ, Left Column-DATE
    Right Table-NYSE, Right Column-DATE
    Validate is sucessfully.
    But when "Save and Activate", it gave below error.
    Kindly help me on this. Thank you so much.
    com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentException: Error during deployment
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.processMeasures(CubeElement.java:591)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeElement.initialize(CubeElement.java:170)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.cv.CubeSchemaRoot.initialize(CubeSchemaRoot.java:80)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentExecutor.initialize(DeploymentExecutor.java:159)_
    _     at com.sap.ndb.studio.sdk.resource.deployment.bi.CubeDimensionDeploymentExecutor.initialize(CubeDimensionDeploymentExecutor.java:78)_
    _     at com.sap.ndb.studio.sdk.resource.bi.core.impl.BiResourceImpl.activateObjects(BiResourceImpl.java:236)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceImpl.activateObjects(ResourceImpl.java:868)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceImpl.activate(ResourceImpl.java:727)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:166)_
    _     at com.sap.ndb.studio.sdk.resource.repository.core.impl.ResourceManager.activateAll(ResourceManager.java:202)_
    _     at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.activateObjects(ActivateJob.java:92)_
    _     at com.sap.ndb.studio.modeler.job.type.activate.ActivateJob.run(ActivateJob.java:71)_
    _     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)_

    Hello,
    This issue is resolved now.
    The problem was with the file system space on the Unix server(on which portal is installed).
    The server administrators and the Basis team extended the disk space and issue got resolved.
    Thanks for all your inputs.
    Sonali.

  • Analytic View activation fails because of a Calculated Measure

    I'm working with HANA SPS02 here.
    Step 1
    I have an Analytic View where I have CALDAY among Private Attributes and VALUE in Measures. I add an Attribute View with UCALDAY (whatever it means) and implement a new calculated measure CALCVAL with logic as follows: if( (date("CALDAY") <= date("ATV_SEL_UCALDAY")), "VALUE", 0). It works fine.
    Step 2
    I added another Attribute View where the key attribute is its own CALDAY field, making a join by that field. Activated the Analytic View failed with the error log as follows:
    Error preparing and executing OLAP column view DDL: SAP DBTech JDBC: [2048] (at 15): column store error: <?xml version="1.0" encoding="utf-8"?><createCubeResult version="1.0"><status><message>The scenario XML is not valid</message><errorCode>2112</errorCode></status><details><errors><detail><element>CalculationNode (finalAggregation) -> attributes -> calculatedAttribute (CALCVAL) -> expression</element><code>46</code><message>Attribute 'CALDAY' is missing in node finalAggregation</message></detail></errors><warnings><detail><element>cubeSchema</element><code>46</code><message>Default language not set. Use 'en'</message></detail></warnings></details></createCubeResult>
    Exception: class com.sap.db.jdbc.exceptions.JDBCDriverException
    com.sap.db.jdbc.exceptions.SQLExceptionSapDB.createException(SQLExceptionSapDB.java:284)
    com.sap.db.jdbc.exceptions.SQLExceptionSapDB.generateDatabaseException(SQLExceptionSapDB.java:149)
    com.sap.db.jdbc.packet.ReplyPacket.createException(ReplyPacket.java:98)
    com.sap.db.jdbc.ConnectionSapDB.throwSQLError(ConnectionSapDB.java:1124)
    com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:774)
    com.sap.db.jdbc.ConnectionSapDB.execute(ConnectionSapDB.java:639)
    com.sap.db.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:433)
    com.sap.db.jdbc.CallableStatementSapDB.execute(CallableStatementSapDB.java:309)
    com.sap.db.jdbc.trace.PreparedStatement.execute(PreparedStatement.java:153)
    com.sap.ndb.studio.sdk.resource.deployment.bi.DeploymentExecutor.getAndExecuteActivationDDl(Unknown Source)
    com.sap.ndb.studio.bi.deployment.DeploymentJob.activateObjects(Unknown Source)
    com.sap.ndb.studio.bi.deployment.DeploymentJob.run(Unknown Source)
    org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Step 3
    If I delete that CALCVAR measure, Analytic View can be activated just fine.
    No hints in OSS Notes so far. Any ideas what went wrong?

    Hello,
    it is extremely hard from such description to figure out what is the problem...
    You might need to paste the screenshots so that we can take a look...
    Just one hint - make sure that you do not take attribute and use it as calculated measure or vice versa - this will definitely lead to error.
    Tomas

  • Blank records are showing as '0' in Analytical View

    Hi,
         How to avoid blank records not to be shown as '0' in Analytical View?  Can you please help me on this?
    For your information: from the above image, there's no data for column 3 for Fiscal Period 005 - 012 but it's displaying as '0' rather than showing it as blank while I do a data preview of an analytical view.
    Regards,
    Antony Jerald.

    Hi,
         The analytical view generated in Hana is based on Bex query imported from BW.
         Actually I'm calculating Year till date (YTD) Last Year(LY) Sales, TY(This year) Sales based on posting period.
         In Bex query for YTD Sales last financial year data its posting period would be from 1-12(ie., for the entire last year what's my sale).
          While doing calculation for YTD current year, since we are in posting period 4 which is july month(i.e,calculation would be from 1-4), rest of the month's would not have any data for YTD Current year.  It's showing as blank in Bex query.  But hana analytical view is displaying as '0' which ideally should come as blank. 
         Kindly let me know how can we handle this.
    Regards,
    Antony Jerald.

  • Substring function not working in Analytical view

    Dear All,
    I am trying to use substring function in my analytical view .It says valid expression during syntax check but getting activation error.
    thanks
    Sourav

    Hi Krishna,
    This is Kiran, I am trying to restrict a (string) filed value by removing the spaces and wring to calculated column field in an Analytical view for position 6 - 10.
    Example: Field name XYZ (Values showing as: ASDFG GETVALUENW  2345) --> (data type :22 VARCHAR)
    Output Value must be : GETVALUENW (which is 10 characters, from position 6 after trimming)
    Please advice which function use and how to apply the syntax
    Your inputs are highly appreciated.
    Thanks
    Kiran.

Maybe you are looking for

  • Error while running simple JAXB test class

    I am new to JAXB and trying to run simple tutorial code. I created Java project and added required jar files in a classpath. But I get error as "com.jaxbtest" doesnt contain ObjectFactory.class or jaxb.index I am using Eclipse and I have added these

  • Messages in abap program

    Hi All, When iam using a message type as 'W' (Warning) in my program , the output is not showing the warning message , instead it showing the error message . Can any one solve my doubt .  Plz tell me the explanations for my problem . My Sample Code :

  • Integration with Oracle Applications from composite applications

    Hello all , I'm trying to connect to eBusiness Suite via Oracle Applications adapter from the Jdevelopver - all on SOA 11g platform . And I want to insert an purchase order from supply chain business domain . The problem is the order has and header a

  • Applet in linux

    Hi, i want to run applet in linux. here appletviewer command is not working in terminal(comman promt). so i tried using html file, but here aksing plugin download. can any one help me how to run applet in linux)

  • Commitment dates to be informed to the customer

    Dear Experts, For my clients requirements, we are using strategy 56(characteristics planning) because they use variant configuration. When we create a sales order say for a quantity of 2 nos. the system proposes dates for both the items on the same d