Skip to content

Commit 878f576

Browse files
committed
hcpps refresh
1 parent 7b4c795 commit 878f576

36 files changed

Lines changed: 84 additions & 32 deletions
1.17 KB
Loading
154 Bytes
Loading
8 Bytes
Loading
240 Bytes
Loading
-702 Bytes
Loading
-1.03 KB
Loading

tutorials/hcpps-hana-create-user/hcpps-hana-create-user.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Setup a HANA user account
33
description: Configure a user account with the relevant roles and privileges to use the SAP Predictive services
4+
auto_validation: true
45
primary_tag: products>sap-cloud-platform
56
tags: [ tutorial>beginner, topic>machine-learning, products>sap-predictive-service, products>sap-hana, products>sap-cloud-platform ]
67
---
@@ -22,10 +23,12 @@ tags: [ tutorial>beginner, topic>machine-learning, products>sap-predictive-servi
2223
**5 minutes**
2324

2425
[ACCORDION-BEGIN [Step 1: ](Access the Security Console)]
26+
2527
From the ***SAP HANA Cockpit*** and connected with the ***HANA System Account***, click on **Manage Roles and Users**. This will open the ***SAP HANA Web-based Development Workbench***.
2628

2729
![SAP HANA Cockpit](01.png)
2830

31+
[DONE]
2932
[ACCORDION-END]
3033

3134
[ACCORDION-BEGIN [Step 2: ](Extend the SYSTEM user)]
@@ -42,6 +45,7 @@ Select the **Granted Roles** tab, then click on the ![plus](0-plus.png) icon, th
4245

4346
Click on the ![save](0-save.png) button in the top menu bar
4447

48+
[DONE]
4549
[ACCORDION-END]
4650

4751
[ACCORDION-BEGIN [Step 3: ](Create your user)]
@@ -80,10 +84,11 @@ GRANT REPO.ACTIVATE_IMPORTED_OBJECTS on "public" TO PSTRIAL;
8084

8185
**This script will delete any existing `PSTRIAL` user including its related object and tables.**
8286

83-
Click on the ![Logout](0-run.png) **Run** button or press **F8**.
87+
Click on the ![run](0-run.png) **Run** button or press **F8**.
8488

8589
![SAP HANA Web-based Development Workbench Login](04.png)
8690

91+
[DONE]
8792
[ACCORDION-END]
8893

8994
[ACCORDION-BEGIN [Step 4: ](Verify that your user is properly created)]
@@ -96,8 +101,19 @@ Now, you need to connect with your **`PSTRIAL`** ***HANA User Account***.
96101

97102
Enter **`PSTRIAL`** as ***Username*** user name and **`Welcome18Welcome18`** as ***Password***, click on **Logon**.
98103

99-
If you can login, then your ***HANA User Account*** is properly configured.
104+
You can now verify that the roles where properly granted.
105+
106+
Click on the ![SQL Console](0-opensqlconsole.png) button in the top menu bar, and paste the following SQL code:
107+
108+
```sql
109+
SELECT * FROM SYS.GRANTED_ROLES;
110+
```
111+
112+
Click on the ![run](0-run.png) **Run** button or press **F8**.
113+
114+
Provide an answer to the question below then click on **Validate**.
100115

116+
[VALIDATE_1]
101117
[ACCORDION-END]
102118

103119
## Next Steps
-1.03 KB
Loading

tutorials/hcpps-hana-dataset-import/hcpps-hana-dataset-import.md

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: Import a series of predictive demo dataset
33
description: Import a demo data to be used with the SAP Predictive services
4+
auto_validation: true
45
primary_tag: products>sap-predictive-service
56
tags: [ tutorial>beginner, topic>machine-learning, products>sap-predictive-service, products>sap-hana, products>sap-cloud-platform ]
67
---
@@ -32,11 +33,11 @@ Make sure you check the [LICENSE](https://github.com/SAPDocuments/Tutorials/blob
3233

3334
During this tutorial series, you will be able to address multiple services using different datasets.
3435

35-
We could have used the HANA Studio import feature, but this would assume that you have it installed.
36+
You could have used the HANA Studio import feature, but this would assume that you have it installed.
3637

3738
Due to restrictions related to the resources, format and size that can be made available on the tutorial platform, it was required to split some of the data into several chunks.
3839

39-
But first we need to create the tables.
40+
But first you need to create the tables.
4041

4142
Open the ***SAP HANA Web-based Development Workbench*** on your trial HANA instance connected as **`PSTRIAL`**, click on **Catalog**.
4243

@@ -58,6 +59,7 @@ A **`PSDEMO`** schema should appear in the list.
5859

5960
![Catalog](03.png)
6061

62+
[DONE]
6163
[ACCORDION-END]
6264

6365
[ACCORDION-BEGIN [Step 2: ](Import the dataset)]
@@ -98,6 +100,28 @@ Click on the **Run** ![open](0-run.png) button or press F8.
98100
99101
![Console](04.png)
100102

103+
[DONE]
104+
[ACCORDION-END]
105+
106+
[ACCORDION-BEGIN [Step 3: ](Verify the imported dataset)]
107+
108+
You can now verify that the datasets where properly imported.
109+
110+
Click on the ![SQL Console](0-opensqlconsole.png) button in the top menu bar, and paste the following SQL code:
111+
112+
```sql
113+
SELECT 'Census' as TABLE, COUNT(1) FROM PSDEMO."Census"
114+
UNION
115+
SELECT 'CashFlow' as TABLE, COUNT(1) FROM PSDEMO."CashFlow"
116+
UNION
117+
SELECT 'Transactions' as TABLE, COUNT(1) FROM PSDEMO."Transactions"
118+
```
119+
120+
Click on the ![run](0-run.png) **Run** button or press **F8**.
121+
122+
Provide an answer to the question below then click on **Validate**
123+
124+
[VALIDATE_1]
101125
[ACCORDION-END]
102126

103127
## Next Steps
-471 Bytes
Loading

0 commit comments

Comments
 (0)