Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all 8968 articles
Browse latest View live

Hana Column views clarification

$
0
0

Please clarify me about column views. Calculation view can include any combination of tables, column views, attribute views and analytic views.

Here is the question...What is the column views here and what it makes difference including column views in to calculation view, when compare to from the tables and three views.


Re: Hana Column views clarification

$
0
0

Ramana,

 

Calculation Views, Attribute Views and Analytic Views are Design Time objects that can be created in HANA Studio Modeler Perspective. Once these views are created, they need to saved and activated. Once a view is activated it creates a database view in the folder  _SYS_BIC, this is called a Column View. A column view is a run time object. A column view is saved in the format _SYS_BIC/<PACKAGE NAME>/<VIEW NAME>

 

Hope this helps. Assign points if useful

 

Guppy

Re: Hana Column views clarification

$
0
0

Hi Ganapathy,

 

Thanks for reply. I know where column views will create as you mentioned but my question is that I have read this  "Calculation view can also include column views which is created under _SYS_BIC/<PACKAGE NAME>/<VIEW NAME> ".

So I want to know Can we include column view into calculation view for modelling purpose?

if it can include like table and views,

then Is there any difference between column views and views/Tables. Please clarify

Re: Hana Column views clarification

$
0
0

To keep things simple and generic. Column views can be included in Calculation Views just as any other views or tables. A column view is either an attribute view or analytical view or a calculation view, now the advantage is the re-usability of the views that were modeled according to your business scenario.

 

A popular notion is to avoid attribute views in a Calculation view as it is executed as SQL joins and can cause performance issues.

How to resolve long running Stored procedures in HANA ?

$
0
0

Hi,

When I run the same job as a stand alone in  HANA, it took only 7 minutes to complete around three million records

It had around 4 Update statements on one table with 294 million records

But When I club this job as a part of integration testing with other main jobs,

it is long running ever for more than a day.It never stopped

I used a For loop { Job 1 ; Job 2 ; Job3 ; Job4 ; Myjob; Job7; }

Could you please share me some tips how to handle this case

a)how to avoid long running jobs

b)how to tune the integration code

c)how do I know which statement is currently running

d)how much time it is taking to run it

 

I don't think intermediate commit and rollback will help here where there is no concept of temp /undo segment in  HANA

Apologize as my knowledge in HANA is limited

 

Thanks,

GK

Re: Storing date fields in SAP HANA for optimal data load and report performance?

$
0
0

Hi All,

 

while trying to load data Through SDA from SAP hana to Oracle tables, we are facing an issue w.r.t date columns.

For example:

Table definition in oracle :

create table test ( a number,b date);

 

created an virtual table vt_test in sap hana.

 

CREATE VIRTUAL TABLE vt_test AT ORACLE."NULL".schema_name.TEST;

 

 

table defintion SAP hana :

 

create table test ( a integer, b date);

 

while executing below query getting below error

 

INSERT INTO VT_TEST(A,B) (SELECT a,b FROM test);

 

 

 

Could not execute 'INSERT INTO VT_TEST(A,B) (SELECT a,b FROM test)' in 259 ms 615 µs .

SAP DBTech JDBC: [403]: internal error: Error executing query [Oracle][ODBC]Invalid datetime format. for query " INSERT INTO "schema_name"."TEST" ( "A", "B") VALUES (?, ?)";

 

 

we tried out various options like below:

 

INSERT INTO VT_TEST(A,B) (SELECT a,to_date(b,'yyyymmdd') FROM test);

INSERT INTO VT_TEST(A,B) (SELECT 1,'1996-01-02 00:00:00.0' FROM test);

INSERT INTO VT_TEST(A,B) (SELECT 1,cast (to_char('1996-01-02','YYYY-MM-DD') as date) FROM test);

 

Please let me know what could reason for the issue

Please help me in selecting the right SAP HANA module

$
0
0

Hi All,


 

I hope someone could help me out in selecting an appropriate in SAP HANA module for me.


I have done my Btech and have 2 yrs experience in SAP ABAP. But currently I am planning to change my career to SAP HANA and so I have done my research in the SAP HANA modules, I could see Administration,modelling...etc

 

Is SAP HANA right for me? SO could anyone suggest me which module is best for the career and have good job opportunities in the market to settle down.

 

Please help me to select the module which is not having lot of coding in HANA and also provide the tutorials for beginers.

 

Thank you


Re: Solman alerts "large heap areas"

$
0
0

As per SAP Note 1999997 these heap allocators are normally not critical. I assume that Solution Manager is not 100 % up-to-date in your system.


Re: HANA pagination - Navigate forward and backward through result set in XSJS service

$
0
0

Hi Kevin,

 

We had a similar requirement and we created a calculation view instead of putting data retrieval logic in XSJS file and created a corresponding xsodata service. If you are trying to display data in UI table or list you can use growing list or table control and can define growing threshold value and bind the xsodata service you created. It will take care your top and skip functionality automatically.


Thanks

SAI

Re: Functions in Calculated Column

$
0
0

Thank you so much. These are really helpful

Web based development work bench does not refresh

$
0
0

Hi Experts,

 

I work on Web based development work bench and I use chrome browser.

I have both the design time and run time versions of a procedure open.

After I make some change in the editor and activate it, I normally right click on the 'Procedure' folder in the catalog view of the respective schema

, re open the catalog procedure so that the changes are updated in the screen. But this does not help, even after I close and re open that procedure, it still shows the old code.

I even right clicked on the schema and refreshed.

 

SPS version is 11.

 

Any suggestions please.

 

Thanks,

Ajith Cheruvally

Re: Manage disk space in hana developer edition

Average Value calculation

$
0
0

Hi All

 

in the present bex report "average days" value is calculating as - "closed days" set to average aggregation with referece to "PersonID".

 

please guide me how to calculate averge days in HANA studio.

i have created calculated column but there is no option "reference to characterstic"

 

please let me know how to calculate.

Re: Average Value calculation

$
0
0

Did you try to create a counter on top of PersonId?

Then just define your calculated column as closed days / counter.

Re: Previous 13 months data in HANA studio

$
0
0

Did you try it ?  Did it work for you ?  Thanks for sharing the update.

 

Cheers

Anindya


Re: Average Value calculation

$
0
0

i have counter in measures. i have calculated Avg value with that.

when i connected to design studio dashboard... overall result showing  sum value for all periods.

it should display average value for all periods.

 

 

for example   calmonth     AVG

                     02.2014      2

                     03.2014      1

                     04.2014       2

                    -----------------------

overall result                     5   

                    -----------------------

 

please help

Re: Previous 13 months data in HANA studio

$
0
0

its not working anindya....

can you please give any idea

Re: Installing SAP SMART BUSINESS FOR ERP 1.0 SP Stack 06

$
0
0

I have the same problems trying to install HANA Live Tools (and also Live Views for ERP).

Since the tools should have no dependencies at all, I could assume that it might have to do with HANA Version...

 

from the log file:

 

    "instances_errors": [        {            "AND": [                {                    "installing_instance": "1",                     "interval_info": {                        "version": "8",                         "op": ">="                    },                     "installing_vendor": "sap.com",                     "dependent_instance": "2",                     "dependent_name": "SAP NEWDB",                     "installing_name": "SAP HANA CONTENT TOOLS",                     "dependent_vendor": "sap.com"                }, 
...

Thats probably impossible, but the only thing I could think of is maybe a type problem... 10>=8 is true but in case it is "10" and "8", "10">="8" would be false...

 

Anyway, seems like you can just extract the .zip and the inner .zips and then find the .tgz delivery units. Of course thats not ideal but if you need it urgent you can just install the delivery units with HANA Studio.

Re: Previous 13 months data in HANA studio

$
0
0

it should work, I tried this in my system and created those formula for calculated attribute.

 

I would suggest to create two calculated attributes and see how the data is coming there based on USER INPUT.

 

Like if USER INPUT is 01/2016  then two column should show  01/2016 and 12/2014 . Once you achieve this, then only use these two cal columns to filter data.

 

 

What problem you are facing here ?

 

 

Cheers

Anindya

Re: Insert Multiple records in a Table TYPE

$
0
0

Lets see your code:

 

BEGIN
DECLARE i int;
select count(*)into i from"hello"."REGION";
IF:i >1then
TRACE_RECORD
=SELECT'1'AS"LogID",'1'AS"TraceID"FROMDUMMY;
endif;
IF:i >2then
TRACE_RECORD
=SELECT'2'AS"LogID",'2'AS"TraceID"FROMDUMMY;
endif;
END
;

 

Number of records in REGION table will be placed in "i".

If i is 0 or 1 then your output will be null,

if i is 2 then output is 1,1

if i is greater then 2 then output is 2,2

 

So obviously your output always has 1 record.

Viewing all 8968 articles
Browse latest View live


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