Skip to content

Commit c0f9e19

Browse files
2 parents 2d82312 + b4358ac commit c0f9e19

File tree

515 files changed

+1031
-1509
lines changed

Some content is hidden

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

515 files changed

+1031
-1509
lines changed

tutorials/abap-custom-analytical-queries-measures/abap-custom-analytical-queries-measures.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ author_profile: https://github.com/mervey45
1515
The Business user requires the Role `SAP_CA_BC_ANA_AQD_PC` to access the Query Designer.
1616
Furthermore `ABAP Custom Analytical Queries` as a tutorial reveals another Prerequisite.
1717

18+
## You will learn
19+
This tutorial teaches you the creation of a Custom Analytical Query and the addition of a Calculated Measures. You will also be able to edit your calculated Measures and define an Exception Aggregation.
1820

1921
## Intro
2022
The Application Custom Analytical Queries characterizes the usage of reporting and analysis.
2123
Raw data from business documents are getting converted into a meaningful grid.
2224
By using Custom Analytical Queries you do not need to understand the technical details.
23-
## You will learn
24-
This tutorial teaches you the creation of a Custom Analytical Query and the addition of a Calculated Measures. You will also be able to edit your calculated Measures and define an Exception Aggregation.
25+
2526

2627
---
2728
### Open Custom Analytical Queries Application

tutorials/abap-custom-analytical-queries/abap-custom-analytical-queries.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ author_profile: https://github.com/mervey45
1414
## Prerequisites
1515
The Business user requires the role `SAP_BR_ANALYTICS_SPECIALIST` to access the Query Designer. The according business catalog is `SAP_CA_BC_ANA_AQD`.
1616

17+
## You will learn
18+
In this tutorial you will learn how to setup Custom Analytical Queries for use. This section deals with creating, deleting and modifying queries. The creation of Restricted Measures will take part in this example.
1719

1820
## Intro
1921
**Custom Analytical Queries** is a tool used for reporting and analysis.
2022
Raw data from business documents are getting converted into a meaningful grid.
2123
By using Custom Analytical Queries you do not need to understand the technical details.
22-
## You will learn
23-
In this tutorial you will learn how to setup Custom Analytical Queries for use. This section deals with creating, deleting and modifying queries. The creation of Restricted Measures will take part in this example.
2424

2525
---
2626

tutorials/abap-environment-abap-flp/abap-environment-abap-flp.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ author_profile: https://github.com/mervey45
1414
## Prerequisites
1515
- You need an SAP BTP, ABAP environment license.
1616
- You have created the [Travel App Group](group.abap-env-restful-managed) in a licensed system.
17-
- You need to have following business role assigned for your business user `SAP_BR_DEVELOPER`.
17+
- You need to have following business role assigned for your business user `SAP_BR_DEVELOPER` and `SAP_BR_BPC_EXPERT`.
1818
- You need to have business catalog `SAP_CORE_BC_UI_FLD` assigned for the usage of manage launchpad space.
1919
- You need to have business catalog `SAP_CORE_BC_UI` assigned for the usage of manage launchpad settings.
20+
- You need to have business catalog `SAP_CORE_BC_BCT_TRN_MNG_PC` and `SAP_CORE_BC_BCT_TRN_REL_PC` assigned to your user to see the app.
21+
- You need to [enable spaces layout](https://help.sap.com/docs/SAP_S4HANA_CLOUD/4fc8d03390c342da8a60f8ee387bca1a/64a5e1675ce7413791a654d2228a90be.html?locale=en-US&state=TEST&version=2208.502) in SAP Fiori launchpad to see the app tiles, that are added to spaces or pages.
2022

2123
## Intro
22-
Hint: Your Business Application Studio subscription needs to be in the same subaccount as the ABAP system.
23-
24+
Learn how to integrate your list report application into ABAP Fiori launchpad.
2425

2526
## You will learn
2627
- How to make use of IAM App and business catalog
@@ -225,6 +226,7 @@ Option 1:
225226
![transport](businessrole8.png)
226227

227228

229+
228230
### Alternative 2: Assign and manage launchpad spaces
229231

230232

@@ -275,10 +277,9 @@ Option 2:
275277
![transport](brole9.png)
276278

277279

278-
### Execute transport task (Optional)
279-
280+
### Release transport task (Optional)
280281

281-
If you want to execute your transport task, do following:
282+
If you want to release your transport task, do following:
282283

283284
1. Select the **Export Customizing Transports** tile.
284285

@@ -309,6 +310,26 @@ If you want to execute your transport task, do following:
309310
![transport](brole16.png)
310311

311312

313+
### Release transport request (Optional)
314+
315+
If you want to release your transport task, do following:
316+
317+
1. Select the **Export Customizing Transports** tile.
318+
319+
![transport](brole10.png)
320+
321+
2. Click **Go**.
322+
323+
![transport](brole11.png)
324+
325+
3. Select your transport request.
326+
327+
![transport](brole12.png)
328+
329+
4. Select your transport request and select execute. For testing select simulate.
330+
331+
![transport](brole16.png)
332+
312333
### Test yourself
313334

314335

Loading

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

Lines changed: 51 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
8282
8383
![save and activate](activate.png)
8484
85-
>**Hint:** `$self` means that the instance of the same type is returned on which the operation is performed – here a travel instance.
85+
>**HINT:** `$self` means that the instance of the same type is returned on which the operation is performed – here a travel instance.
8686
8787
8888
### Enhance behavior definition for projection view
@@ -114,10 +114,8 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
114114
115115
### Create implementation class
116116
117-
118117
1. In your behavior definition `ZI_Travel_M_XXX` set the cursor before the implementation class `ZBP_I_TRAVEL_M_XXX` and click **`CTRL` + 1**. Double-click on **Create behavior implementation class `zbp_i_travel_m_xxx`** to create your implementation class.
119118
120-
121119
![Create behavior implementation](implementationx.png)
122120
123121
2. Create a new behavior implementation:
@@ -132,8 +130,7 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
132130
133131
![Create behavior implementation](implementation3.png)
134132
135-
136-
>**Hint:** The skeleton code of the class appears in a new editor. The skeleton includes code for the relevant method definitions and implementations, derived from your behavior definition `ZI_TRAVEL_M_XXX`.
133+
>**HINT:** The skeleton code of the class appears in a new editor. The skeleton includes code for the relevant method definitions and implementations, derived from your behavior definition `ZI_TRAVEL_M_XXX`.
137134
138135
139136
### Enhance behavior implementation
@@ -248,7 +245,7 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
248245
ENDCLASS.
249246
```
250247
251-
>**Hint:** The code does the following:
248+
>**HINT:** The code does the following:
252249
253250
>- Read data for the travel instance from the transactional buffer.
254251
@@ -377,48 +374,48 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
377374
1. Now you will implement an action. In your `CLASS lhc_travel IMPLEMENTATION` implement method `set_status_completed`:
378375
379376
```ABAP
380-
********************************************************************************
381-
*
382-
* Implements travel action (in our case: for setting travel overall_status to completed)
383-
*
384-
********************************************************************************
385-
METHOD set_status_completed.
386-
387-
" Modify in local mode: BO-related updates that are not relevant for authorization checks
388-
MODIFY ENTITIES OF zi_travel_m_xxx IN LOCAL MODE
389-
ENTITY travel
390-
UPDATE FROM VALUE #( FOR key IN keys ( mykey = key-mykey
391-
overall_status = 'A' " Accepted
392-
%control-overall_status = if_abap_behv=>mk-on ) )
393-
FAILED failed
394-
REPORTED reported.
395-
396-
" Read changed data for action result
397-
READ ENTITIES OF zi_travel_m_xxx IN LOCAL MODE
398-
ENTITY travel
399-
FROM VALUE #( FOR key IN keys ( mykey = key-mykey
400-
%control = VALUE #(
401-
agency_id = if_abap_behv=>mk-on
402-
customer_id = if_abap_behv=>mk-on
403-
begin_date = if_abap_behv=>mk-on
404-
end_date = if_abap_behv=>mk-on
405-
booking_fee = if_abap_behv=>mk-on
406-
total_price = if_abap_behv=>mk-on
407-
currency_code = if_abap_behv=>mk-on
408-
overall_status = if_abap_behv=>mk-on
409-
description = if_abap_behv=>mk-on
410-
created_by = if_abap_behv=>mk-on
411-
created_at = if_abap_behv=>mk-on
412-
last_changed_by = if_abap_behv=>mk-on
413-
last_changed_at = if_abap_behv=>mk-on
414-
) ) )
415-
RESULT DATA(lt_travel).
416-
417-
result = VALUE #( FOR travel IN lt_travel ( mykey = travel-mykey
418-
%param = travel
419-
) ).
420-
421-
ENDMETHOD.
377+
********************************************************************************
378+
*
379+
* Implements travel action (in our case: for setting travel overall_status to completed)
380+
*
381+
********************************************************************************
382+
METHOD set_status_completed.
383+
384+
" Modify in local mode: BO-related updates that are not relevant for authorization checks
385+
MODIFY ENTITIES OF zi_travel_m_xxx IN LOCAL MODE
386+
ENTITY travel
387+
UPDATE FROM VALUE #( FOR key IN keys ( mykey = key-mykey
388+
overall_status = 'A' " Accepted
389+
%control-overall_status = if_abap_behv=>mk-on ) )
390+
FAILED failed
391+
REPORTED reported.
392+
393+
" Read changed data for action result
394+
READ ENTITIES OF zi_travel_m_xxx IN LOCAL MODE
395+
ENTITY travel
396+
FROM VALUE #( FOR key IN keys ( mykey = key-mykey
397+
%control = VALUE #(
398+
agency_id = if_abap_behv=>mk-on
399+
customer_id = if_abap_behv=>mk-on
400+
begin_date = if_abap_behv=>mk-on
401+
end_date = if_abap_behv=>mk-on
402+
booking_fee = if_abap_behv=>mk-on
403+
total_price = if_abap_behv=>mk-on
404+
currency_code = if_abap_behv=>mk-on
405+
overall_status = if_abap_behv=>mk-on
406+
description = if_abap_behv=>mk-on
407+
created_by = if_abap_behv=>mk-on
408+
created_at = if_abap_behv=>mk-on
409+
last_changed_by = if_abap_behv=>mk-on
410+
last_changed_at = if_abap_behv=>mk-on
411+
) ) )
412+
RESULT DATA(lt_travel).
413+
414+
result = VALUE #( FOR travel IN lt_travel ( mykey = travel-mykey
415+
%param = travel
416+
) ).
417+
418+
ENDMETHOD.
422419
```
423420
424421
>**NOTE:**
@@ -435,7 +432,7 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
435432
### Implement determination
436433
437434
438-
>**Hint:** A determination modifies instances of business objects based on trigger conditions. Here, the code updates the relevant data instance of travel by setting the `overall_status` to A (for accepted.)
435+
>**HINT:** A determination modifies instances of business objects based on trigger conditions. Here, the code updates the relevant data instance of travel by setting the `overall_status` to A (for accepted.)
439436
To avoid authorization checks, you add the suffix `IN LOCAL MODE`.
440437
Determinations must be idempotent – i.e. the result must not differ, even if the determination is executed multiple times for the same key.
441438
@@ -468,7 +465,7 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
468465
ENDMETHOD.
469466
```
470467
471-
>**Hint:** The code:
468+
>**HINT:** The code:
472469
>- Checks if TravelID is already filled
473470
>- Removes lines where TravelID is already filled
474471
>- Gets maximum travelID
@@ -748,16 +745,13 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
748745
749746
![Enhance behavior definition for projection view](projection5.png)
750747
751-
>**Hint: If your UI buttons don't appear, please add a space anywhere you want in your data definition `ZI_TRAVEL_M_XXX` and behavior definition `ZI_TRAVEL_M_XXX`, activate both and open your SAP Fiori preview again. It takes 120 seconds to make the buttons visible on the user interface.**
752-
753-
748+
>**Hint:** If your UI buttons don't appear, please add a space anywhere you want in your data definition `ZI_TRAVEL_M_XXX` and behavior definition `ZI_TRAVEL_M_XXX`, activate both and open your SAP Fiori preview again. It takes 120 seconds to make the buttons visible on the user interface.
754749
755750
### Test yourself
756751
752+
---
757753
758-
759-
760-
## Next
754+
### Next
761755
762756
You can [deploy your ABAP application with SAP Business Application Studio](abap-environment-deploy-cf-production). Follow therefore the tutorial.
763757
@@ -776,5 +770,4 @@ You can [deploy your ABAP application with SAP Business Application Studio](abap
776770
777771
[Implicit Returning Parameters](https://help.sap.com/viewer/923180ddb98240829d935862025004d6/Cloud/en-US/aceaf8453d4b4e628aa29aa7dfd7d948.html )
778772
779-
[`openSAP` RAP](https://open.sap.com/courses/cp13 )
780-
---
773+
[RAP course: `openSAP`](https://open.sap.com/courses/cp13 )

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ Right-click on your package and navigate to **New** > **Other ABAP Repository Ob
165165
* check the result
166166
SELECT * FROM ztbooking_xxx INTO TABLE @it_bookings.
167167
out->write( sy-dbcnt ).
168-
out->write( 'data inserted successfully!').
168+
out->write( 'data inserted successfully!' ).
169169
170170
ENDMETHOD.
171171

tutorials/abap-environment-trial-onboarding/abap-environment-trial-onboarding.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ author_profile: https://github.com/mervey45
1212
<!-- description --> Create a trial user and ABAP cloud project with SAP BTP ABAP environment.
1313

1414
## Prerequisites
15-
- You have read the blog post [It's Trial Time for ABAP in SAP Cloud Platform](https://blogs.sap.com/2019/09/28/its-trialtime-for-abap-in-sap-cloud-platform/), including the section "Rules of the Game"
15+
- You have read the blog post [It's Trial Time for ABAP in SAP Business Technology Platform](https://blogs.sap.com/2019/09/28/its-trialtime-for-abap-in-sap-cloud-platform/), including the section "Rules of the Game"
1616
- You have created a **trial account on SAP BTP**: [Get a Free Account on SAP BTP Trial](hcp-create-trial-account)
1717
- You have a **subaccount and dev space US East (VA) as region**
1818
- You have downloaded and installed the [latest ABAP Development Tools (ADT)] (https://tools.hana.ondemand.com/#abap).
@@ -65,17 +65,13 @@ This tutorial is part of a 3-part series of SAP BTP, ABAP Environment tutorials,
6565

6666
![Select ABAP Trial](boosters3.png)
6767

68-
6. The booster is now executed successfully.
69-
70-
![Select ABAP Trial](boosters4.png)
71-
72-
7. Download your service key for later use.
68+
6. The booster is now executed successfully. Download your service key for later use.
7369

7470
![Select ABAP Trial](downloadkey.png)
7571

7672

7773

78-
### Open ABAP Development Tools
74+
### Open ABAP Development Tools
7975

8076

8177
Open Eclipse. Make sure you have installed ADT in your Eclipse. Find [here](abap-install-adt) the Eclipse installation instruction.
@@ -100,7 +96,9 @@ Open Eclipse. Make sure you have installed ADT in your Eclipse. Find [here](abap
10096

10197
4. Click **Open Logon Page in Browser**.
10298

103-
![Create ABAP cloud project](project4.png)
99+
![Create ABAP cloud project](project44.png)
100+
101+
>**Hint:** If you are already logged on in the default browser with a user which you do not want to use for this project, then use the **Copy Logon URL to Clipboard** option and paste the URL in a browser started in private or incognito mode or a non defaulted browser.
104102
105103
5. Now you've been authenticated automatically. Provide your credentials if requested. The credentials are the same you used to create your trial account on SAP BTP.
106104

Loading
Loading

tutorials/abap-extensibility-cbo-rules-create-destination/abap-extensibility-cbo-rules-create-destination.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ primary_tag: topic>abap-extensibility
1010
<!-- description --> Create destination in SAP Cloud Platform cockpit to connect to S/4HANA cloud system.
1111

1212
## Prerequisites
13+
1314
- Custom Business Object must have been created. If not, then follow the tutorials [Create Custom Business Objects in S/4HANA Cloud](group.abap-extensibiliy-cbo-cce-ccl).
1415
- You must have SAP Cloud Platform account.
1516

tutorials/abap-extensibility-custom-cds/abap-extensibility-custom-cds.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ author_profile: https://github.com/mervey45
1212
## Prerequisites
1313
Assign the Business Catalog **`SAP_CORE_BC_EXT`** and **`SAP_CORE_BC_COM`** to your user.
1414

15-
16-
17-
## Intro
18-
If you need access to data in your system in a way the system does not offer so far, you can create your own data access by making use of a custom Core Data Services view (custom CDS view). Usually, the data of an application is distributed across several database tables. Using CDS views allows you to model the data access without changing underlying database tables. In general, CDS views are intended to be consumed by a UI, analytics or other systems. CDS View can be built on CDS Views as well. To simplify the data access there are pre-delivered CDS Views, custom CDS views can only be built on.
1915
## You will learn
2016
- How to create a CDS view to minimize a data set exposed to customer
2117
- How to expose the CDS view as a web service
18+
19+
## Intro
20+
If you need access to data in your system in a way the system does not offer so far, you can create your own data access by making use of a custom Core Data Services view (custom CDS view). Usually, the data of an application is distributed across several database tables. Using CDS views allows you to model the data access without changing underlying database tables. In general, CDS views are intended to be consumed by a UI, analytics or other systems. CDS View can be built on CDS Views as well. To simplify the data access there are pre-delivered CDS Views, custom CDS views can only be built on.
21+
2222
## Time to Complete
2323
**15 Min**.
2424

tutorials/abap-s4hanacloud-procurement-purchasereq-contract/abap-s4hanacloud-procurement-purchasereq-contract.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ author_profile: https://github.com/mervey45
1717
- You have a license for SAP S/4HANA Cloud and have a developer user in it
1818
- You have installed the latest [Eclipse with ADT](abap-install-adt).
1919

20-
## Intro
21-
>**HINT**: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing `/ui` you can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found [here](https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/4b962c243a3342189f8af460cc444883.html?locale=en-US&state=DRAFT).
22-
23-
2420
## You will learn
2521
- How to create a purchase contract
2622
- How to create a purchase order
2723
- How to run ABAP classes
2824

25+
## Intro
26+
>**HINT**: The administrator receives an welcome e-mail after provisioning. This e-mail includes the system URL. By removing `/ui` you can log into the SAP S/4HANA Cloud ABAP Environment system. Further information can be found [here](https://help.sap.com/docs/SAP_S4HANA_CLOUD/6aa39f1ac05441e5a23f484f31e477e7/4b962c243a3342189f8af460cc444883.html?locale=en-US&state=DRAFT).
27+
2928
---
3029

3130
### Create ABAP package

0 commit comments

Comments
 (0)