Skip to content

Commit 8aa6145

Browse files
authored
Merge pull request #18411 from iwonahahn/master
Automatic commit: Move 'btp-app-cap-business-logic', 'btp-app-cap-mta…
2 parents 95fed60 + a908e2c commit 8aa6145

13 files changed

Lines changed: 57 additions & 46 deletions

File tree

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

0 commit comments

Comments
 (0)