Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all 9165 articles
Browse latest View live

Re: abap call proxy procedure


Re: Updating UI5 resource version on HANA DB

$
0
0

According to SAP support, the only way to update SAPUI5 on HANA DB is to update to the DB to a new revision level. Even with the latest revision number (1.00.110.00) you would only get SAPUI5 1.28.15.

 

SAP doesn't seem to provide a static/standalone version of SAPUI5 either.

 

So there is no way to get SAPUI5 version 1.32 on HANA server as of now.

Re: Updating UI5 resource version on HANA DB

$
0
0

Thanks Manoj for your timely response, appreciate that.

Re: Wrong Aggregation using Hierarchy in HANA MDX Provider with Excel or MDX in Hana Studio

$
0
0

Hey all,

 

Did anyone find a resolution to this problem? I'm finding a similar issue, where Distinct Count measures don't aggregate up a hierarchical dimension.

 

Cheers,

Will.

Problem using 2 Input Parameters

$
0
0

Hello,

 

I'm trying to develop an analytic model with HANA using an Analytic view.

 

I have one Fact table with one attribute and one measure, for example:

 

DIMMeasure
A1000
B500
C3000
D2000
E1500

 

In my HANA Analytic view I create 2 input parameters like PARAM_1 and PARAM_2. They are equally configured, with an static list of A, B, C, D and E posible values.

 

Moreover, I create 2 calculate columns with the following code:

 

MEASURE_1 -> if ('$$PARAM_1$$'="DIM","Measure",0)

 

MEASURE_2 -> if ('$$PARAM_2$$'="DIM","Measure",0)


The problem I have it is that when I previsualize the result of this analytic view, if for example I introducte PARAM_1 = B and PARAM_2 = D,


the result is:


 

DIMMEASURE_1MEASURE_2
A00
B5000
C00
D00
E00


 

Why is the MEASURE_1 / PARAM_1 only working? Why MEASURE_2 doesn't work and didn't show value for DIM=D?


HANA only supports 1 Input Parameter? I have SPS10



Thanks to all



Pass dynamic values to HANA query view paramaters

$
0
0

Hello,

 

I would like to consume standard HANA Live view (VDM) content delivered for SAP EWM into Fiori analytical application as well SAP Lumira. Now the questions is some of these calculation views or query views have parameters such as data range. I am not able to figure it out how we can query by passing dynamic date range. I want to get data from these views on dynamic date range for e.g. (current date) to (current date -15 days) etc

 

Please let me know your views. Thanks !

 

Regards,

Chandra         

Error on concatenating strings in calculated cloumns while creating Analytic Views

$
0
0

Hi

 

I am facing an issue when I am Concatenating Columns using "+" operator in the Calculated Columns the Final result of the Concatenated String is

for

 

eg Karthik Karan Joe

the O/P of the Concatenated string is KarthikKaranJoe

instead I want the O/p as Karthik, Karan, Joe or each name in a new line which I am unable to do  any trick to insert a Space Comma or a new line character in the Formula for the Calculated Column A

 

                                                                                             Thanks in advance

 

Regards

Rahul

Re: Error on concatenating strings in calculated cloumns while creating Analytic Views

$
0
0

Hi Rahul

 

Can you try using ',' between your columns ? Assuming your column names as name1,name2,name3, then try this in expression editor name1 + ', ' + name2 + ', ' + name3.

 

Regards,

Nithin


Re: Problem using 2 Input Parameters

$
0
0

Hello,

 

Are you previsualizing it with Eclipse/Hana Studio or Lumira?

 

If you're using Eclipse, check if the generated SQL command is passing both input parameters

 

 

 

There should be a line with "Generated SQL:"

 

 

Double click it and check whether both PLACEHOLDERs ($$PARAM_1$$ and $$PARAM_2$$) are being passed on.

 

For test purpose, you can copy/paste that SQL command on a SQL console and manually add the missing param (if any).

How to read CSV data from a CLOB column in HANA DB using SQL script?

$
0
0

Hi, Anybody knows how to do these listed below?

1. How to read CSV data from a CLOB column in HANA DB using SQL script?

2. How to convert a table data into CSV format and save it into a CLOB column using SQL script?


Thanks and regards,

Yuxin

Re: system generated indexes and explicit indexes in HANA ?

$
0
0

Technically there are two kinds of system generated indexes: the ones that are created with a name in the catalog (it's a generated name, easy to identify as such) and the ones that are only created in the column store table data structure but not in the catalog.

Examples for the later would be concat attributes, inverted indexes and extended primary keys (more than one column in a primary key).

These can be found by explicitly checking for them in M_CS_ALL_COLUMNS.

 

For the row store, system generated indexes can be created. Again, the name of these indexes makes them clearly identifiable.

Re: system generated indexes and explicit indexes in HANA ?

$
0
0

Thank you for your response Lars Breddemann.

 

But is there any way, like a column or attribute in any metadata tables which can clearly differentiate between the two other than the naming convention.

 

Thank you,
Abhisek

Re: Error on concatenating strings in calculated cloumns while creating Analytic Views

$
0
0

Hi Nithin

thanks for your help it worked 1 more thing If I am able to get the 2nd concatenated column in the new Line it would be best

 

Name :Rahul

Surname: Khanna

 

Regards

Rahul

Re: Sort oder of CDS-View

$
0
0

There exists no annoation to define a kind of "default sort" (UI Annotations - Reference - SAP Library). On the backend side it would also make no sense to define a hard sort criterion because from the client side different sort criteria may be used (specific to the requirements).

On the client side you could add a default sort criterion during start up which is then applied as filter to the binding of the OData service.

Re: Coding standards for xsjs by following javascript design patterns. Is that a way to write efficient code ?

$
0
0

That sounds fine - all business logic in the database. This may be good for having one place where all logic is defined and for performance reasons.

What can you say about the arguments that have been raised frequently against having all business logic in stored procedures?

Some of the following good practices/ patterns cannot be easily implemented in stored procedures.

  • Interfaces to allow re-usability swapping of implementations and testing dependencies.
  • Dependency injection management and avoiding an untraceable tangled web of stored procedure dependecies
  • Documentation similar to javadocs that can be automatically created as part of the build process.
  • Static analysis to enforce programming standards and conventions
  • Inheritance, polymorphism to reduce duplication and complexity and allow extension.

Re: Dynamic Tiering and integration with an existing HANA appliance

$
0
0

Hello Mark,

 

no. Dynamic Tiering Hosts can be added to HANA Appliances and TDI set ups. Adding a Dynamic Tiering Host to an appliance will not "convert" it to a TDI, because you do not exchange the "standard" storage system for the appliance.

 

Regards,

Florian

Re: XSJS select query from CV with list of values input parameter

Re: SAP HANA SPS 9 Question

$
0
0

Hello Alexander,

 

HANA SPS can be downloaded from the SAP Service Market Place. For that you need an account and the privileges to download the software. But of course you need also a licensed HANA system to be able to apply the SPS.

For the SPS you do not have to pay if you have your HANA license and you pay the usual maintenance costs.

 

If you are looking for news introduced with SPS09 you can check the release notes:

 

Regards,

Florian

Re: system generated indexes and explicit indexes in HANA ?

$
0
0

Nope. But the naming convention is pretty OK for this task, since you (normally) cannot manually create _SYS_* objects.

Re: SAP HANA Non-cumulative scenario's

$
0
0

Hi Santhosh,

 

could you you please elaborate more on this question?

 

sunil

Viewing all 9165 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>