Skip to content

Commit 5c282dd

Browse files
committed
2 parents eae97e3 + a326788 commit 5c282dd

File tree

384 files changed

+704
-404
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+704
-404
lines changed

tutorials/abap-environment-behavior-definition/abap-environment-behavior-definition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ In this tutorial, wherever `XXX` appears, use a number (e.g. `000`).
5858
delete;
5959
6060
field (mandatory) id;
61-
field (read only) lastchangedbyuser, lastchangeddatetime;
61+
field (readonly) lastchangedbyuser, lastchangeddatetime;
6262
}
6363
```
6464
Save and activate.

tutorials/btp-app-cap-mta-deployment/btp-app-cap-mta-deployment.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ The deployment is based on MTA ( *Multi-Target Application*, sometimes also call
7070
[ACCORDION-BEGIN [Step 2: ]((For Windows) Install make tool)]
7171
> ### To earn your badge for the whole mission, you will need to mark all steps in a tutorial as done, including any optional ones that you may have skipped because they are not relevant for you.
7272
73-
7473
The `make` tool is required by the `mbt` tool. Linux and macOS are already shipped with `make`. For Windows you can download it from the GNU Make site:
7574
7675
1. Go to <http://gnuwin32.sourceforge.net/packages/make.htm>.
@@ -395,4 +394,4 @@ The result of this tutorial can be found in the [`cap-mta-deployment`](https://g
395394
396395
397396
[ACCORDION-END]
398-
---
397+
---

tutorials/btp-app-ci-cd-btp/btp-app-ci-cd-btp.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ primary_tag: software-product-function>sap-cloud-application-programming-model
2525
---
2626

2727
[ACCORDION-BEGIN [Step 1: ](Introduction)]
28+
> ### To earn your badge for the whole mission, you will need to mark all steps in a tutorial as done, including any optional ones that you may have skipped because they are not relevant for you.
29+
2830
[SAP Continuous Integration and Delivery (CI/CD)](https://help.sap.com/viewer/product/CONTINUOUS_DELIVERY/Cloud/en-US) is a service on SAP BTP, which lets you configure and run predefined continuous integration and delivery pipelines. It connects with your Git SCM repository and builds, tests, and deploys your code changes. In its user interface, you can easily monitor the status of your builds and detect errors as soon as possible, which helps you prevent integration problems before completing your development.
2931

3032
SAP Continuous Integration and Delivery has a ready-to-use pipeline for CAP, that is applicable to multi-target application (MTA) and Node.js based projects. It does not require you to host your own Jenkins instance and it provides an easy, UI-guided way to configure your pipelines.
@@ -178,7 +180,7 @@ If your GitHub repository is not private, you can skip this section. If your Git
178180

179181
1. Navigate to the **Credentials** tab in SAP Continuous Integration and Delivery.
180182

181-
2. Choose **+** to create credentials.
183+
2. Choose ( &#x2B; ) to create credentials.
182184

183185
!![Credentials](CICD_credentials.png)
184186

@@ -218,7 +220,7 @@ If your GitHub repository is not private, you can skip this section. If your Git
218220
[ACCORDION-END]
219221
---
220222
[ACCORDION-BEGIN [Step 6: ](Configure a CI/CD job)]
221-
1. In the **Jobs** tab in SAP Continuous Integration and Delivery, choose **+** to create a new job.
223+
1. In the **Jobs** tab in SAP Continuous Integration and Delivery, choose ( &#x2B; ) to create a new job.
222224

223225
!![Jobs](CICD_jobs.png)
224226

tutorials/btp-app-create-directory/btp-app-create-directory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ If you don't want to start from scratch, but from a specific example of the tuto
117117
118118
4. Check out the example's branch.
119119
120-
``` bash
120+
```Shell/Bash
121121
cd tutorial
122122
git checkout <branch>
123123
```

tutorials/btp-app-events-app-setup-s4hc/btp-app-events-app-setup-s4hc.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ time: 40
99
tags: [tutorial>intermediate, tutorial>license, software-product-function>sap-cloud-application-programming-model, programming-tool>node-js, software-product>sap-business-technology-platform, software-product>sap-api-management, software-product>sap-hana-cloud, software-product>sap-s-4hana-cloud]
1010
primary_tag: software-product-function>sap-cloud-application-programming-model
1111
---
12+
13+
1214
## Prerequisites
1315
- [Add the Consumption of an External Service to Your CAP Application](btp-app-ext-service-add-consumption)
1416
- [Consume the External Service in the UI of Your Application](btp-app-ext-service-consume-ui)
@@ -26,14 +28,21 @@ primary_tag: software-product-function>sap-cloud-application-programming-model
2628
- You must be an administrator of the SAP S/4HANA Cloud system.
2729
- You need to connect this system to your SAP BTP global account, if you'd like to build extension applications for your SAP S/4HANA Cloud system.
2830

31+
2932
## Details
3033
### You will learn
3134
- How to configure your CAP application for eventing
3235
- How to locally test your changes
3336
- How to deploy your CAP application
37+
38+
39+
To start with this tutorial use the result in the [`ext-service-s4hc-use`](https://github.com/SAP-samples/cloud-cap-risk-management/tree/ext-service-s4hc-use) branch.
40+
3441
---
3542

3643
[ACCORDION-BEGIN [Step 1: ](Configure your CAP application for eventing)]
44+
> ### To earn your badge for the whole mission, you will need to mark all steps in a tutorial as done, including any optional ones that you may have skipped because they are not relevant for you.
45+
3746
CAP provides native support for emitting and receiving events. Hence, CAP applications can receive events for changes in remote systems. In CAP, the messaging follows a publish subscribe (pub/sub) model. Pub/sub means that sources publish messages and interested consumers can subscribe to receive them. This helps with scalability, decoupling of services, and robustness.
3847

3948
Using the Business Partner service that you added in `Step 1: Get the Business Partner service definition` from the tutorial [Add the Consumption of an External Service to Your CAP Application](btp-app-ext-service-add-consumption), you will configure the CAP application to listen and react to events from your SAP S/4HANA Cloud system. As in the previous tutorials, let's again use the example of business partners that are suppliers. So, you will use suppliers when referring to business partners. First you will add event definitions for the SAP S/4HANA events.
@@ -246,7 +255,7 @@ Currently, business partner (that is, supplier) data is stored only in the SAP S
246255
[ACCORDION-END]
247256
---
248257
[ACCORDION-BEGIN [Step 3: ](Test your changes locally)]
249-
So, you have added logic to create a new risk when an event for a newly created supplier is received.You have also added logic to update our risks when an event for an updated supplier is received from our SAP HANA Cloud system. This is achieved by listening to events from the SAP S/4HANA Cloud system.
258+
So, you have added logic to create a new risk when an event for a newly created supplier is received. You have also added logic to update our risks when an event for an updated supplier is received from our SAP HANA Cloud system. This is achieved by listening to events from the SAP S/4HANA Cloud system.
250259
251260
Now simulate locally business partner creation and update, and see the results:
252261

tutorials/btp-app-events-s4hc-use/btp-app-events-s4hc-use.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ time: 30
99
tags: [tutorial>intermediate, tutorial>license, software-product-function>sap-cloud-application-programming-model, programming-tool>node-js, software-product>sap-business-technology-platform, software-product>sap-api-management, software-product>sap-hana-cloud, software-product>sap-s-4hana-cloud]
1010
primary_tag: software-product-function>sap-cloud-application-programming-model
1111
---
12+
1213
## Prerequisites
1314
- [Add the Consumption of an External Service to Your CAP Application](btp-app-ext-service-add-consumption)
1415
- [Consume the External Service in the UI of Your Application](btp-app-ext-service-consume-ui)
@@ -32,6 +33,7 @@ primary_tag: software-product-function>sap-cloud-application-programming-model
3233
### You will learn
3334
- How to create and change a Business Partner in your SAP S/4HANA Cloud system
3435
- How to check if the Business Partner creation and change events sent from your SAP S/4HANA Cloud system have updated your CAP application
36+
3537
---
3638

3739
[ACCORDION-BEGIN [Step 1: ](Create a Business Partner and check updates in your CAP application)]
@@ -67,9 +69,9 @@ Congratulations! You have completed all tutorials.
6769

6870
[VALIDATE_1]
6971

72+
7073
<p style="text-align: center;">Give us 55 seconds of your time to help us improve.</p>
7174

7275
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=btp-app-events-s4hc-use" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
73-
<!--TAIL END-->
7476
[ACCORDION-END]
7577
---

tutorials/btp-app-ext-service-add-consumption/btp-app-ext-service-add-consumption.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ Later in the tutorial [Use SAP S/4HANA Cloud Service](btp-app-ext-service-s4hc-u
205205
206206
4. Run `cds watch` with the sandbox profile:
207207
208-
```
208+
```Shell/Bash
209209
cds watch --profile sandbox
210210
```
211211
@@ -258,7 +258,7 @@ To solve this issue, you add some handler code to delegate the call from the `Su
258258
259259
2. Run `cds watch` with the sandbox profile:
260260
261-
```
261+
```Shell/Bash
262262
cds watch --profile sandbox
263263
```
264264
@@ -329,7 +329,7 @@ This code is required for the sandbox only. The authentication for SAP S/4HANA s
329329
330330
6. Run `cds watch` with the sandbox profile:
331331
332-
```
332+
```Shell/Bash
333333
cds watch --profile sandbox
334334
```
335335

tutorials/btp-app-ext-service-consume-ui/btp-app-ext-service-consume-ui.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To start with this tutorial use the result in the [`ext-service-add-consumption`
4848
4949
3. Run `cds watch` with the sandbox profile:
5050
51-
```
51+
```Shell/Bash
5252
cds watch --profile sandbox
5353
```
5454
@@ -194,7 +194,7 @@ Next, you add the name of the supplier and the blocked status to the `Risks` UI.
194194
195195
5. Run `cds watch` with the sandbox profile:
196196
197-
```
197+
```Shell/Bash
198198
cds watch --profile sandbox
199199
```
200200
@@ -254,7 +254,7 @@ The last thing you add is the value help to select a supplier from the remote sy
254254
255255
3. Run `cds watch` with the sandbox profile:
256256
257-
```
257+
```Shell/Bash
258258
cds watch --profile sandbox
259259
```
260260

tutorials/btp-app-ext-service-s4hana-consume/btp-app-ext-service-s4hana-consume.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -225,14 +225,12 @@ When creating new entries in the **Risks** application, you should be able to us
225225
Congratulations! You have completed all tutorials.
226226
227227
228-
<p style="text-align: center;">Give us 55 seconds of your time to help us improve.</p>
229-
230-
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=btp-app-ext-service-s4hana-consume" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
231-
<!--TAIL END-->
232228
233229
[DONE]
234230
The result of this tutorial can be found in the [`ext-service-s4hana-consume`](https://github.com/SAP-samples/cloud-cap-risk-management/tree/ext-service-s4hana-consume) branch.
235231
232+
<p style="text-align: center;">Give us 55 seconds of your time to help us improve.</p>
236233
234+
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=btp-app-ext-service-s4hana-consume" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
237235
[ACCORDION-END]
238236
---

tutorials/btp-app-ext-service-s4hc-use/btp-app-ext-service-s4hc-use.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ When creating new entries in the **Risks** application, you should be able to us
202202
203203
You'll see a message `No data found. Try adjusting filter or search criteria.`
204204
205-
> In case you get an error `Forbidden`.
205+
> In case you get an error `Forbidden`.
206206
207207
> The following error is displayed when you haven't assigned your user to the `RiskManager-<your space>` role:
208208
@@ -232,12 +232,11 @@ Congratulations! You have completed all tutorials.
232232
233233
[VALIDATE_1]
234234
235-
<p style="text-align: center;">Give us 55 seconds of your time to help us improve.</p>
236235
237-
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=btp-app-ext-service-s4hc-use" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
238-
<!--TAIL END-->
239236
The result of this tutorial can be found in the [`ext-service-s4hc-use`](https://github.com/SAP-samples/cloud-cap-risk-management/tree/ext-service-s4hc-use) branch.
240237
238+
<p style="text-align: center;">Give us 55 seconds of your time to help us improve.</p>
241239
240+
<p style="text-align: center;"><a href="https://sapinsights.eu.qualtrics.com/jfe/form/SV_0im30RgTkbEEHMV?TutorialID=btp-app-ext-service-s4hc-use" target="_blank"><img src="https://raw.githubusercontent.com/SAPDocuments/Tutorials/master/data/images/285738_Emotion_Faces_R_purple.png"></a></p>
242241
[ACCORDION-END]
243-
---
242+
---

tutorials/btp-app-launchpad-service/btp-app-launchpad-service.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,6 @@ The newly added modules `nsrisks` and `nsmitigations` do the build of the SAP Fi
334334
supported-platforms: []
335335
```
336336
337-
338337
2. Check the `mitigations` application module `nsmitigations`:
339338
340339
<!-- snippet mta.yaml --branch launchpad-service modules: "- name: nsmitigations" -->
@@ -433,13 +432,13 @@ app/*/package-lock.json
433432
434433
!![Choose Subaccount](choose_subaccount.png)
435434
436-
2. Choose **Services** **&rarr;** **Service Marketplace** on the left.
435+
4. Choose **Services** **&rarr;** **Service Marketplace** on the left.
437436
438-
3. Search for the **Launchpad Service** tile and choose **Create**.
437+
5. Search for the **Launchpad Service** tile and choose **Create**.
439438
440439
!![Create Launchpad Service](create_launchpad_service.png)
441440
442-
4. Keep the default settings for **Service** and **Plan** and choose **Create**.
441+
6. Keep the default settings for **Service** and **Plan** and choose **Create**.
443442
444443
!![New Instance or Subscription](new_instance_dialog.png)
445444
@@ -455,11 +454,11 @@ You need to assign your user to the `Launchpad_Admin` role collection, so you do
455454
456455
2. Choose your user.
457456
458-
4. Under **Role Collections** on the right, choose **Assign Role Collection** and assign the `Launchpad_Admin` role collection to your user.
457+
3. Under **Role Collections** on the right, choose **Assign Role Collection** and assign the `Launchpad_Admin` role collection to your user.
459458
460459
!![Add role](add_launchpad_admin_role.png)
461460
462-
5. Open another browser or clear your browser's cache.
461+
4. Open another browser or clear your browser's cache.
463462
464463
> See section [Initial Setup](https://help.sap.com/viewer/8c8e1958338140699bd4811b37b82ece/Cloud/en-US/fd79b232967545569d1ae4d8f691016b.html) in the SAP Launchpad service's documentation for more details.
465464

tutorials/btp-app-logging/btp-app-logging.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To start with this tutorial use the result in the [`launchpad-service`](https://
8383
[ACCORDION-END]
8484
---
8585
[ACCORDION-BEGIN [Step 3: ](Analyze logs using Kibana dashboard)]
86-
1. In SAP BTP cockpit navigate to your **Subaccount**.
86+
1. In SAP BTP Cockpit, navigate to your **Subaccount**.
8787
8888
2. Choose **Cloud Foundry** **&rarr;** **Spaces**.
8989
@@ -206,9 +206,9 @@ In our experience, the `development` plan wasn't sufficient for test scenarios.
206206
[ACCORDION-END]
207207
---
208208
[ACCORDION-BEGIN [Step 5: ](Test it)]
209-
1. Build the MTAR file and deploy it to your Cloud Foundry space.
209+
1. Build the MTAR file and deploy it to your Cloud Foundry space:
210210
211-
```
211+
```Shell/Bash
212212
mbt build -t ./
213213
cf deploy cpapp_1.0.0.mtar
214214
```
@@ -225,10 +225,11 @@ In our experience, the `development` plan wasn't sufficient for test scenarios.
225225
226226
!![Kibana: Components](kibana_components.png)
227227
228-
You can also browse all logs using the *Discover* button (compass icon) on the left navigation bar.
228+
You can also browse all logs using the **Discover** button (compass icon) on the left navigation bar.
229229
The available fields are displayed on the left side of the screen. You can add fields to the message display or quickly filter for any of the top values.
230230
231-
The time filter is on the right top of the screen. Don't forget to choose *Refresh*.
231+
The time filter is on the right top of the screen. Don't forget to choose **Refresh**.
232+
232233
233234
234235
[DONE]

tutorials/btp-app-prepare-btp/btp-app-prepare-btp.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,25 +104,25 @@ At least the services for the tutorials [Set Up the SAP HANA Cloud service](btp-
104104
[ACCORDION-BEGIN [Step 4: ](Create a subaccount)]
105105
1. Enter your **Global Account**. If you are using a trial account, choose **Go To Your Trial Account**.
106106

107-
4. Choose **Account Explorer** in the left navigation pane.
107+
2. Choose **Account Explorer** in the left navigation pane.
108108

109-
5. Choose **Create** **&rarr;** **Subaccount**.
109+
3. Choose **Create** **&rarr;** **Subaccount**.
110110

111111
!![Create subaccount](create_subaccount.png)
112112

113-
6. To fill the **New Subaccount** dialog, enter a **Display Name**.
113+
4. To fill the **New Subaccount** dialog, enter a **Display Name**.
114114

115115
> Use a short name for your project and add the prefix for the landscape, for example: `<project name>-cf-us10`. Don't select the checkbox **Neo**!
116116
117-
7. Enter a subdomain.
117+
5. Enter a subdomain.
118118

119119
> Only valid HTTP domain characters are allowed.
120120
121-
8. Choose **Create**.
121+
6. Choose **Create**.
122122

123-
9. Wait for the completion of the subaccount creation.
123+
7. Wait for the completion of the subaccount creation.
124124

125-
10. Choose the tile with your new subaccount.
125+
8. Choose the tile with your new subaccount.
126126

127127
[DONE]
128128
[ACCORDION-END]
@@ -152,7 +152,7 @@ In this section, you assign a portion of the entitlements that you've bought for
152152

153153
4. Go through the Entitlements according to the table in the previous step **Create a Live Account** and add the required plans for each of them.
154154

155-
5. Choose the + or - symbol to change the quota for the services according to the table in the previous step **Create a Live Account**.
155+
5. Choose the ( &#x2B; ) or ( &#8209; ) symbol to change the quota for the services according to the table in the previous step **Create a Live Account**.
156156

157157
6. Choose **Save**.
158158

@@ -168,21 +168,23 @@ Next to Cloud Foundry orgs there are also [Spaces](https://docs.cloudfoundry.org
168168

169169
3. Choose **Create Space**.
170170

171-
4. Enter a space name (suggestion: If different sub projects exist in the org: `<sub project name>-<stage name>`, otherwise: `<stage name>`; where stage name is the release stage, for example: `dev`, `val`, `prod`)
171+
4. Enter a space name.
172+
173+
> If different sub projects exist in the org, use `<sub project name>-<stage name>`, otherwise use `<stage name>`; where stage name is the release stage, for example: `dev`, `val`, `prod`.
172174
173175
5. Choose **Create**.
174176

175177
[DONE]
176178
[ACCORDION-END]
177179
---
178180
[ACCORDION-BEGIN [Step 8: ](Assign users in the Cloud Foundry space)]
179-
1. Open the **Spaces** overview in SAP BTP cockpit (you can just choose the tile for the space that was created).
181+
1. Open the **Spaces** overview in SAP BTP cockpit. You can just choose the tile for the space that was created.
180182

181183
2. Choose **Members** in the left navigation pane.
182184

183185
3. (Optional) Choose **Add Members** to add all required users, again your own user should already be part of the list.
184186

185-
4. (Optional) Add a DL of your `CFDeployment` technical user as Space Manager if you have one.
187+
4. (Optional) Add a distribution list of your `CFDeployment` technical user as Space Manager if you have one.
186188

187189
[DONE]
188190
[ACCORDION-END]

tutorials/btp-app-role-assignment/btp-app-role-assignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Instead of creating the role collection automatically using the `xs-security.jso
7979

8080
3. Choose **Security** **&rarr;** **Role Collections** on the left.
8181

82-
4. Choose the **+** (new role collection) button.
82+
4. Choose the ( &#x2B; ) icon to create a new role collection.
8383

8484
5. Enter **Name** `RiskManager`.
8585

@@ -109,4 +109,4 @@ The new role collection appears now in the list, but it doesn't contain any role
109109

110110
[DONE]
111111
[ACCORDION-END]
112-
---
112+
---

tutorials/btp-free-tier-account/btp-free-tier-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ primary_tag: software-product-function>sap-btp-cockpit
1010
## Prerequisites
1111
- To activate your consumption-based SAP BTP global account with free tier service plans, you need a:
1212
- **Functioning e-mail address**
13-
- **Credit card** for authentication and eventually later for billing purposes (if you do not own a credit card, create a Trial Account on SAP BTP as described in [Get a Free Account on SAP BTP Trial](hcp-create-trial-account)).
13+
- **Credit card** for authentication and eventually later for billing purposes (if you do not own a credit card, you can create a trial account which allows you to try out BTP services in a separated environment but without the free tier model on SAP BTP: [Get a Free Account on SAP BTP Trial](hcp-create-trial-account)).
1414

1515

1616
### How Does Free Tier Work?

0 commit comments

Comments
 (0)