Skip to content

Commit 6e43ff3

Browse files
committed
Merge branch 'main' of github.com:AchimSeubert/abap-core-development
2 parents 3fe7bdc + 66789cd commit 6e43ff3

File tree

117 files changed

+15
-826
lines changed

Some content is hidden

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

117 files changed

+15
-826
lines changed

tutorials/abap-environment-create-cds-mde/abap-environment-create-cds-mde.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In summary, based on existing persistent data sources, you will create and imple
3232

3333
<!-- border -->![final-app-create](final-app-create.png)
3434

35-
Throughout this tutorial, object names may include a suffix or group number, such as `XXX`. Always replace this with your own group number or initials.
35+
Throughout this tutorial, object names may include a suffix or group number, such as `_###` or `000`. Always replace this with your own group number or initials.
3636

3737
For more information on creating a read-only app, see the SAP Help Portal: [Developing Read-Only List Reporting Apps](https://help.sap.com/viewer/923180ddb98240829d935862025004d6/Cloud/en-US/504035c0850f44f787f5b81e35791d10.html)
3838

@@ -45,7 +45,7 @@ For more information on creating a read-only app, see the SAP Help Portal: [Deve
4545
<!-- border -->![step1a-new-package](step1a-new-package.png)
4646

4747
2. Enter the following then follow the wizard, choosing a **new** transport request:
48-
- Name: **`Z_ENHANCE_CDS_XXX`**
48+
- Name: **`Z_ENHANCE_CDS_###`**
4949
- Description **Enhance CDS Tutorial 2020**
5050

5151
<!-- border -->![step1a-create-package](step1a-create-package.png)
@@ -59,7 +59,7 @@ For more information on creating a read-only app, see the SAP Help Portal: [Deve
5959
<!-- border -->![step2a-new-cds](step2a-new-cds.png)
6060

6161
2. Add the following:
62-
- Name: **`Z_I_TRAVEL_R_XXX`**
62+
- Name: **`Z_I_TRAVEL_R_###`**
6363
- Description: **`Travel Model View Entity - Read Only`**
6464
- Referenced object: **`/DMO/I_TRAVEL_U`**
6565

@@ -105,7 +105,7 @@ Your CDS entity appears in a new editor, with the elements (fields and associati
105105
dataClass: #MIXED
106106
}
107107
108-
define view entity Z_I_TRAVEL_R_XXX
108+
define view entity Z_I_TRAVEL_R_###
109109
as select from /DMO/I_Travel_U as Travel
110110
111111
{
@@ -173,7 +173,7 @@ For more information, see:
173173
<!-- border -->![step4a-new-sd](step4a-new-sd.png)
174174

175175
2. Choose a name and description:
176-
- **`Z_EXPOSE_TRAVEL_R_XXX`**
176+
- **`Z_EXPOSE_TRAVEL_R_###`**
177177
- **Service exposes Travel data**
178178

179179
<!-- border -->![step4b-sd-travel-data](step4b-sd-travel-data.png)
@@ -187,7 +187,7 @@ For more information, see:
187187
5. To make the service definition more readable, add an alias to the **expose** statement:
188188

189189
```CDS
190-
expose Z_I_TRAVEL_R_XXX as Travel;
190+
expose Z_I_TRAVEL_R_### as Travel;
191191
192192
```
193193
@@ -201,10 +201,10 @@ For more information, see:
201201
<!-- border -->![step5a-new-sb](step5a-new-sb.png)
202202
203203
2. Choose:
204-
- Name = **`Z_BIND_TRAVEL_R_XXX`**
204+
- Name = **`Z_BIND_TRAVEL_R_###`**
205205
- Description = **Service binding for Travel data**
206206
- Binding Type = **ODATA V2 (UI...)**
207-
- Service Definition = **`Z_EXPOSE_TRAVEL_R_XXX`**
207+
- Service Definition = **`Z_EXPOSE_TRAVEL_R_###`**
208208
209209
<!-- border -->![step5b-create-service-binding](step5b-create-service-binding.png)
210210
@@ -229,7 +229,7 @@ The service binding automatically references the service definition and thus the
229229
230230
<!-- border -->![step13e-service-xml-in-browser](step13e-service-xml-in-browser.png)
231231
232-
4. In the browser, you can also see the **Metadata Document** of the Business Service by adding $metadata to the URL: `/sap/opu/odata/sap/Z_BIND_TRAVEL_R_XXX/$metadata`.
232+
4. In the browser, you can also see the **Metadata Document** of the Business Service by adding $metadata to the URL: `/sap/opu/odata/sap/Z_BIND_TRAVEL_R_###/$metadata`.
233233
234234
<!-- border -->![step13f-service-metadata-in-browser](step13f-service-metadata-in-browser.png)
235235
@@ -255,15 +255,15 @@ The service binding automatically references the service definition and thus the
255255
256256
### Add annotation for automatic display
257257
258-
1. It would be nice if at least some fields were displayed immediately for the user. To do this, simply add the following annotation to the relevant fields in **`Z_I_TRAVEL_R_XXX`**. The start of the CDS view will then look like this.
258+
1. It would be nice if at least some fields were displayed immediately for the user. To do this, simply add the following annotation to the relevant fields in **`Z_I_TRAVEL_R_###`**. The start of the CDS view will then look like this - for now. (Please note that you will add more annotations later on.)
259259
260260
> `BookingFee` is not automatically displayed. The numbers for each field are relative to the other fields and are responsive - they do not refer to a specific pixel position or similar. For larger entities, you can specify *HIGH*,*MEDIUM*, or *LOW*, so that less important fields are automatically hidden on a smaller screen, such as a mobile phone.
261261
262262
```CDS
263263
@UI : {
264264
lineItem : [{position: 10, importance: #HIGH}]
265265
}
266-
key TravelID;
266+
key TravelID,
267267
268268
@UI : {
269269
lineItem : [{position: 15, importance: #HIGH}]
@@ -308,8 +308,8 @@ At present, you only have minimal annotations. As you add more, your CDS view wi
308308
309309
3. Enter a name and description for your metadata extension object, clearly similar to your CDS view name, and choose **Next**:
310310
311-
- **`Z_MDE_TRAVEL_XXX`**
312-
- **`Metadata for Z_I_TRAVEL_R_XXX`**
311+
- **`Z_MDE_TRAVEL_###`**
312+
- **`Metadata for Z_I_TRAVEL_R_###`**
313313
314314
4. Accept the transport request, choose **Next**, select all elements, then choose **Finish**.
315315
@@ -481,7 +481,7 @@ Your CDS entity code should look like this:
481481
sizeCategory: #S,
482482
dataClass: #MIXED
483483
484-
define view Z_I_TRAVEL_R_XXX as Travel
484+
define view entity Z_I_TRAVEL_R_### as Travel
485485
as select from /DMO/I_Travel_U as Travel
486486
487487
{
@@ -525,7 +525,7 @@ Your MDE code should look like this:
525525

526526
```CDS
527527
@Metadata.layer: #CORE
528-
annotate view Z_I_TRAVEL_R_XXX with
528+
annotate view Z_I_TRAVEL_R_### with
529529
{
530530
531531
@UI : {
-53.3 KB
Binary file not shown.
-60.4 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
-29.9 KB
Binary file not shown.
Binary file not shown.
-24.7 KB
Binary file not shown.
-68.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)