SAP HANA Articles

Page 20 of 58

Consuming Graphical calculation view via SDA

SAP Expert
SAP Expert
Updated on 06-Mar-2020 367 Views

Note that you can create Graphical Calculation Views using SMART Data access tables and you can also push aggregations to remote database.

Read More

Exporting delivery unit based on time filter in SAP HANA

John SAP
John SAP
Updated on 04-Mar-2020 241 Views

While export a delivery unit, you can restrict the export through “Filter by time” which means Information views, which are updated within the mentioned time interval will only be exported.After selecting Delivery unit from drop down list, you have to select checkbox and then enter the Time interval- From and To date.In below snapshot you can see we have highlighted “Filter by Time” option and user can select this checkbox to use time filter during export.

Read More

Managing cross database container access in SAP HANA

John SAP
John SAP
Updated on 27-Feb-2020 374 Views

The cross database container access is managed in Global.ini file in Configuration under System Administration.To access global.ini file you need to navigate to Administration tab in HANA Studio → Configuration and there you can find Global.ini file.

Read More

Viewing table definition in SAP HANA

John SAP
John SAP
Updated on 27-Feb-2020 3K+ Views

To check table definition, you need to right click on table name → Open Definition and this will open table structure under HANA database.

Read More

SQL statement to create a Restricted user in SAP HANA

SAP Expert
SAP Expert
Updated on 27-Feb-2020 571 Views

It is very simple. You can create a Restricted user with below query −CREATE [RESTRICTED] USER    []    [ ]    [ ]    [ ]    [ ]    [ ]    []In above SQL query, you have to pass following parameters −Specifies a database user in another tenant database as the remote identity of the database user being created.Specifies the user password of the user being created.Defines an external identification mechanism.Defines an external identity that is used to authenticate the user.

Read More

Checking create time for all users in SAP HANA

SAP ABAP Expert
SAP ABAP Expert
Updated on 27-Feb-2020 1K+ Views

This can be found using following SQL command −SELECT * from USERS;

Read More

Understanding a database view in SAP HANA database

SAP ABAP Expert
SAP ABAP Expert
Updated on 27-Feb-2020 587 Views

Consider the following example −Example            Id            Empl. NameEmpl.userEmpl.passwordJoining Date1 Employee 1  Emp1Emp1Pwd      9/11/20162 Employee 2Emp2Emp2Pwd16/08/20153Employee 3 Emp3Emp3Pwd  15/09/20164Employee 4Emp4  Emp4Pwd3/07/20145Employee 5  Emp5    Emp5Pwd 10/09/20126 Employee 6Emp6  Emp6Pwd  1/10/2013         Consider a scenario when a developer needs to analyze some data of Employee Table with the above fields. Using database view, an administrator can create a virtual table which only contains information about Employee Id, Employee name, and date of joining and give permission to developer to use that view.

Read More

Using Group by hour in SAP HANA table

Prabhas
Prabhas
Updated on 26-Feb-2020 743 Views

You can try this method to convert time to date and hour format −select to_varchar(time, 'YYYY-MM-DD'), hour(time), sum(r_time) as r_time, sum(p_time) as p_time from t1 group by date(time), hour(time) order by to_varchar(time, 'YYYY-MM-DD'), hour(time);You can also try using Series_Round() with a group by clause.select SERIES_ROUND(time, 'INTERVAL 1 HOUR') as time, sum(r_time) as r_time, sum(p_time) as p_time from t1 group by SERIES_ROUND(time, 'INTERVAL 1 HOUR') order by SERIES_ROUND(time, 'INTERVAL 1 HOUR');

Read More

Combining LIKE and CONTAINS operator in SAP HANA

Samual Sam
Samual Sam
Updated on 26-Feb-2020 966 Views

The code you are using \1+ just removes consecutive occurrences only. You can use the below code.SELECT REPLACE_REGEXPR('(.)(?=.*\1)' IN '22331122' WITH '' OCCURRENCE ALL)  FROM DUMMYThe output will come out to be “312”. This will remove all multiple occurrences and only last one will be kept.

Read More

HANA Modeling objects and Content folder in SAP HANA Studio

John SAP
John SAP
Updated on 24-Feb-2020 1K+ Views

In SAP HANA Studio, Content folder contains all the design time repository objects. In this folder, all objects created in HANA system are managed under packages. To create a new object, you have to first select a Package.In a package you have different HANA Modeling Views- Attribute Views, Analytic Views, Calculation Views and Analytic Privileges. Each of the object type is managed in different folder in a package.

Read More
Showing 191–200 of 573 articles
« Prev 1 18 19 20 21 22 58 Next »
Advertisements