Skip to content

Commit 6829595

Browse files
committed
Merge branch 'main' of github.com:sap-tutorials/abap-core-development
2 parents 2a9247b + 22874cd commit 6829595

File tree

184 files changed

+280
-2374
lines changed

Some content is hidden

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

184 files changed

+280
-2374
lines changed

tutorials/abap-dev-create-table/abap-dev-create-table.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ time: 75
1111

1212
## Prerequisites
1313
- You have a valid instance of one of the following:
14-
- SAP Business Technology Platform (BTP) ABAP Environment. For more information, see **Tutorial**: [Create Your First ABAP Console Application](abap-environment-console-application), steps 1-2. On this instance, you have pulled the SAP ABAP Flight Reference Scenario. To pull this reference scenario from `Github`, see [ Downloading the ABAP Flight Reference Scenario](https://help.sap.com/viewer/923180ddb98240829d935862025004d6/Cloud/en-US/def316685ad14033b051fc4b88db07c8.html)
15-
- On-premise [SAP AS ABAP Platform 1909, developer edition in SAP Cloud Appliance Library (CAL)](https://cal.sap.com/subscription?sguid=7bd4548f-a95b-4ee9-910a-08c74b4f6c37)
14+
- SAP Business Technology Platform (BTP) ABAP Environment. For more information, see **Tutorial**: [Create Your First ABAP Console Application](abap-environment-console-application), steps 1-2.
15+
- On-premise, .e.g. [ABAP Cloud Developer Trial, 2022](https://community.sap.com/t5/technology-blogs-by-sap/abap-cloud-developer-trial-2022-available-now/ba-p/13598069)
1616
- **Tutorial**: [Create an ABAP Project in ABAP Development Tools (ADT)](abap-create-project)
17-
17+
- On this instance, you have pulled the SAP ABAP Flight Reference Scenario. To pull this reference scenario from `Github`, see:
18+
[Downloading the ABAP Flight Reference Scenario](https://help.sap.com/docs/ABAP_PLATFORM_NEW/fc4c71aa50014fd1b43721701471913d/def316685ad14033b051fc4b88db07c8.html)
1819

1920

2021
## You will learn
2122
- How to create a table in ABAP, representing a table in your database
22-
<!-- - How to create a reusable **domain**, which provides technical attributes for data elements -->
23+
- How to create a reusable **domain**, which provides technical attributes for data elements
2324
- How to create an elementary data type, or **data element**
2425
- How to fill the table with three rows of test data
2526

@@ -41,8 +42,6 @@ The table in this tutorial will store bank account details for customers. The ta
4142
> Throughout this tutorial, replace `###` or `000` with your initials or group number.
4243
4344

44-
---
45-
4645
### Create table
4746

4847
Create a table in your package:
@@ -79,7 +78,7 @@ There are 3 ways to create a field for a database table:
7978

8079
- Use an **existing data element**: The most powerful: A data element describes both the technical and semantic attributes of a field, such as a currency, or a customer name. You can define properties such as search help and (translatable) column header, and then use the same data element in many contexts. You often define the technical attributes of the data element in a domain, so they can be reused.
8180

82-
- Create a **new data element**: If you want to reuse the benefits of data elements - i.e. semantic attributes such as reuse of translatable column headers or a check table, but a suitable one does not exist yet.
81+
- Create a **new data element**: If you want to reuse the benefits of a data element - that is, semantic attributes, such as reuse of translatable column headers - but a suitable one does not exist yet.
8382

8483
<!-- border -->
8584
![overview-domain-dtel](overview-domain-dtel.png)
@@ -178,8 +177,6 @@ Now add the key field **`bank_name`**, based on a new data element, `z_bank_name
178177
key client : abap.clnt not null;
179178
key account_number : abap.numc(8) not null;
180179
key bank_name : z_bank_name_###;
181-
@AbapCatalog.foreignKey.keyType : #KEY
182-
@AbapCatalog.foreignKey.screenCheck : false
183180
bank_customer_id : /dmo/customer_id not null;
184181
city : /dmo/city;
185182
balance : abap.curr(16,2);
@@ -231,32 +228,30 @@ Before you activate the table, change the technical settings at the top as follo
231228

232229
- **`deliveryClass`** : `#A` = application table, which stores master data and transaction data (default)
233230

234-
- **`dataMaintenance`** : `#NOT_ALLOWED`
231+
- **`dataMaintenance`** : `#RESTRICTED`
235232

236233
```ABAP
237234
@EndUserText.label : 'Bank Accounts'
238235
@AbapCatalog.enhancementCategory : #EXTENSIBLE_CHARACTER_NUMERIC
239236
@AbapCatalog.tableCategory : #TRANSPARENT
240237
@AbapCatalog.deliveryClass : #A
241-
@AbapCatalog.dataMaintenance : #NOT_ALLOWED
238+
@AbapCatalog.dataMaintenance : #RESTRICTED
242239
```
243240

244241

245242
### Save and activate table code
246-
<!-- remove for key -->
243+
247244
Now, save (`Ctrl+S`) and activate (`Ctrl+F3`) your table. Your code should look like this:
248245

249246
```ABAP
250247
@EndUserText.label : 'Table of Bank Accounts'
251248
@AbapCatalog.enhancementCategory : #EXTENSIBLE_CHARACTER_NUMERIC
252249
@AbapCatalog.tableCategory : #TRANSPARENT
253250
@AbapCatalog.deliveryClass : #A
254-
@AbapCatalog.dataMaintenance : #NOT_ALLOWED
251+
@AbapCatalog.dataMaintenance : #RESTRICTED
255252
define table zaccounts_### {
256253
key client : abap.clnt not null;
257254
key account_number : abap.numc(8) not null;
258-
@AbapCatalog.foreignKey.keyType : #KEY
259-
@AbapCatalog.foreignKey.screenCheck : false
260255
bank_customer_id : /dmo/customer_id not null
261256
bank_name : z_bank_name_###;
262257
city : /dmo/city;
@@ -286,7 +281,8 @@ Finally, you will fill the table with three rows of test data:
286281

287282
2. Enter a name **`ZCL_FILL_ACCOUNTS_###`** and description for your class (replacing `###` with your group number or initials).
288283

289-
<!-- border -->![step15b-name-class](step15b-name-class.png)
284+
<!-- border -->
285+
![step15b-name-class](step15b-name-class.png)
290286

291287
3. Assign a transport request and choose **Finish**.
292288

tutorials/abap-dev-learn-ddic/abap-dev-learn-ddic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Before you start exploring the Dictionary objects, you will add the relevant pac
4646

4747
The package is added to your favorites:
4848

49-
![Image depicting step1d-fave-package-added](step1d-fave-package-added.png)
49+
![Image depicting step1d-fave-package-added](step1d-fave-package-added.png)
5050

5151

5252
### Expand package

tutorials/abap-env-rfc-scenario/abap-env-rfc-scenario.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ author_profile: https://github.com/julieplummer20
2121
- [AS ABAP developer edition, latest version](https://blogs.sap.com/2019/07/01/as-abap-752-sp04-developer-edition-to-download/) or:
2222
- [SAP S/4HANA 1809 fully activated appliance](https://blogs.sap.com/2018/12/12/sap-s4hana-fully-activated-appliance-create-your-sap-s4hana-1809-system-in-a-fraction-of-the-usual-setup-time/)
2323
- You have connected **SAP Cloud Connector**, to your BTP subaccount
24-
- You have assigned the business role **`SAP_BR_DEVELOPER`** to your user; you will need it to create communication artifacts
24+
- You have assigned the business catalog **``**SAP_CORE_BC_COM** in a business role assigned to your user, e.g. **`SAP_BR_ADMINISTRATOR (Administrator)`**; you will need it to create communication artifacts
25+
- You may need to define the relevant homepage structure that should be exposed to the launchpad. In Manage Launchpad Settings, set the relevant value for EXPOSURE_HOMEPAGE_STRUCTURE. See Manage Launchpad Settings
2526

2627

2728
## You will learn
@@ -39,7 +40,7 @@ Throughout this tutorial, replace `000` with your initials or group number.
3940

4041
There are two challenges when setting up connectivity between the SAP BTP, ABAP Environment and an on-premise ABAP System:
4142

42-
- The ABAP Environment "lives" in the Internet, but customer on-premise systems are behind a firewall
43+
- The ABAP Environment is generally located in front of any firewall, but customer on-premise systems are generally behind it
4344
- Remote Function Call (RFC) is not internet-enabled
4445

4546
**The solution:**

tutorials/abap-env-rfc/abap-env-rfc.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ This tutorial mission was written for SAP BTP ABAP Environment. However, you sho
2323

2424
Throughout this tutorial, replace `###` or `000` with your initials or group number.
2525

26+
> This tutorial is part of a mission, [Get Data from an On-Premise System Using a Remote Function Call - RFC](mission.abap-env-connect-onpremise). Make sure you have fulfilled the prerequisites in the previous tutorial and that you follow each tutorial in order.
27+
2628
---
2729

2830

0 commit comments

Comments
 (0)