Skip to content

Commit d7d42b6

Browse files
Merge pull request #2616 from julieplummer20:main
Main
2 parents 857a3a6 + b838aae commit d7d42b6

File tree

3 files changed

+11
-22
lines changed

3 files changed

+11
-22
lines changed

tutorials/abap-environment-rap100-generate-ui-service/abap-environment-rap100-generate-ui-service.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
parser: v2
33
auto_validation: true
44
primary_tag: products>sap-btp--abap-environment
5-
tags: [ tutorial>beginner, topic>abap-development, software-product>sap-business-technology-platform ]
5+
tags: [ tutorial>beginner, topic>abap-development, software-product>sap-business-technology-platform, software-product>sap-s-4hana-cloud ]
66
time: 20
77
author_name: Merve Temel
88
author_profile: https://github.com/mervey45
@@ -13,10 +13,11 @@ author_profile: https://github.com/mervey45
1313

1414
## Prerequisites
1515
- You need to have access to an SAP BTP, ABAP environment, or SAP S/4HANA Cloud, ABAP environment or SAP S/4HANA (release 2022 or higher) system.
16-
For example, you can create free [trial user](abap-environment-trial-onboarding) on SAP BTP, ABAP environment.
16+
For example, you can create a free [trial user](abap-environment-trial-onboarding) on SAP BTP, ABAP environment.
1717
- You have downloaded and installed the [latest ABAP Development Tools (ADT)] (https://tools.hana.ondemand.com/#abap) on the latest Eclipse© platform.
1818
- You have created an [ABAP Cloud Project](abap-environment-create-abap-cloud-project).
19-
- Make sure, your system has the ABAP flight reference scenario. If your system hasn't this scenario. You can download it [here](https://github.com/SAP-samples/abap-platform-refscen-flight). The trial systems have the flight scenario included.
19+
- Your system has the ABAP flight reference scenario. If your system hasn't this scenario. You can download it [here](https://github.com/SAP-samples/abap-platform-refscen-flight). The trial systems have the flight scenario included.
20+
- You have read and understood the tutorial [Get to Know the ABAP RESTful Application Programming Model](https://developers.sap.com/tutorials/abap-environment-restful-programming-model.html).
2021

2122
## You will learn
2223
- How to create an ABAP package
@@ -148,7 +149,7 @@ Create an ABAP class![class](adt_class.png) to generate demo **travel** data.
148149
149150
* clear data
150151
DELETE FROM zrap100_atrav###.
151-
* DELETE FROM zrap100_dtrav###.
152+
DELETE FROM zrap100_dtrav###.
152153
153154
"insert travel demo data
154155
INSERT zrap100_atrav### FROM (
@@ -219,7 +220,7 @@ The generated business service will be transactional, draft-enabled, and enriche
219220
220221
221222
3. Maintain the required information on the **Configure Generator** dialog to provide the name of your data model and generate them.
222-
Maintain the required information on the Configure Generator dialog to provide the name of your data model and generate them.
223+
223224
224225
For that, navigate through the wizard tree **(Business Objects, Data Model, etc...)**, maintain the artefact names provided in the table below,
225226
and press **Next >**.
@@ -273,23 +274,6 @@ The generated business service will be transactional, draft-enabled, and enriche
273274
![class](tb4.png)
274275
275276
276-
### Adjust metadata extension
277-
278-
1. Open your metadata extension **`ZRAP100_C_TRAVELTP_###`** and adjust it.
279-
280-
The field **attachment** is a raw string (data type `RAWSTRING`) and cannot be used in the filter bar, so the annotation **`@UI.selectionField`** is not allowed for this field and should be removed. Therefore, remove following annotation block for the field attachment:
281-
282-
```ABAP
283-
@UI.selectionField: [ {
284-
position: 10
285-
} ]
286-
```
287-
288-
![class](adjust.png)
289-
290-
291-
2. Save and activate.
292-
293277
### Preview travel app
294278
295279
>**Hint:** In **SAP S/4HANA on premise or private cloud systems** publishing the local service endpoint of your OData V4 service binding does not work from within ADT. Therefore you have to publish the service binding locally using transaction `/IWFND/V4_ADMIN` in these systems.
27.3 KB
Loading

tutorials/abap-environment-restful-programming-model/abap-environment-restful-programming-model.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,11 @@ To develop additional custom logic such as validations and actions the steps in
9191
### Test yourself
9292

9393

94+
### Next steps
95+
You can now start creating Fiori elements app using these concepts, for example in the tutorial:
96+
[Build an SAP Fiori elements App Using the ABAP RESTful Application Programming Model (RAP) – Beginner [RAP100]](https://developers.sap.com/group.abap-build-fiori-element-rap.html)
97+
98+
9499

95100

96101

0 commit comments

Comments
 (0)