Skip to content

Commit 19f69c1

Browse files
Merge branch 'master' of github.com:sap-tutorials/Tutorials
2 parents 9d4d68f + c77c186 commit 19f69c1

File tree

10 files changed

+65
-54
lines changed

10 files changed

+65
-54
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -376,13 +376,9 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
376376
[DONE]
377377
[ACCORDION-END]
378378
379-
[ACCORDION-BEGIN [Step 6: ](Implement determination)]
379+
[ACCORDION-BEGIN [Step 6: ](Implement action)]
380380
381-
1. Now you will implement a determination. In your `CLASS lhc_travel IMPLEMENTATION` implement method `set_status_completed`:
382-
383-
>**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.)
384-
To avoid authorization checks, you add the suffix `IN LOCAL MODE`.
385-
Determinations must be idempotent – i.e. the result must not differ, even if the determination is executed multiple times for the same key.
381+
1. Now you will implement an action. In your `CLASS lhc_travel IMPLEMENTATION` implement method `set_status_completed`:
386382
387383
```ABAP
388384
********************************************************************************
@@ -442,7 +438,12 @@ In this tutorial, wherever XXX appears, use a number (e.g. 000).
442438
[DONE]
443439
[ACCORDION-END]
444440
445-
[ACCORDION-BEGIN [Step 7: ](Implement action)]
441+
[ACCORDION-BEGIN [Step 7: ](Implement determination)]
442+
443+
>**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.)
444+
To avoid authorization checks, you add the suffix `IN LOCAL MODE`.
445+
Determinations must be idempotent – i.e. the result must not differ, even if the determination is executed multiple times for the same key.
446+
446447
1. Implement method `CalculateTravelKey`:
447448
448449
```ABAP

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,13 +223,13 @@ Therefore right-click on your package **`Z_BOOKING_XXX`** and select **New** > *
223223
224224
![Create service definition](servicedef.png)
225225
226-
2. Create a service definition and call it **`Z_I_BOOKING_XXX`**.
227-
228-
![Create service definition](service2.png)
226+
2. Create a service definition and call it **`ZI_BOOKING_XXX`**.
229227
228+
![Create service definition](sbinding.png)
229+
230230
3. Click **Finish** to complete your transport request.
231231
232-
![Create service definition](transport2.png)
232+
![Create service definition](sbinding2.png)
233233
234234
[DONE]
235235
[ACCORDION-END]
Loading
Loading
Binary file not shown.
Binary file not shown.

tutorials/cap-service-deploy/cap-service-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
author_name: Iwona Hahn
3-
author_profile: https://github.com/iwonahahn
2+
author_name: René Jeglinsky
3+
author_profile: https://github.com/renejeglinsky
44
title: Deploy a CAP Business Service to SAP Business Technology Platform
55
description: This tutorial shows you how to deploy your SAP Cloud Application Programming Model (CAP) application to SAP Business Technology Platform, Cloud Foundry environment using SAP HANA Cloud service.
66
auto_validation: true

tutorials/cp-apm-nodejs-create-service/cp-apm-nodejs-create-service.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
author_name: Iwona Hahn
3-
author_profile: https://github.com/iwonahahn
2+
author_name: René Jeglinsky
3+
author_profile: https://github.com/renejeglinsky
44
title: Create a CAP Business Service with Node.js Using Visual Studio Code
55
description: Develop a sample business service using Core Data & Services (CDS), Node.js, and SQLite, by using the SAP Cloud Application Programming Model (CAP) and developing on your local environment.
66
auto_validation: true
Binary file not shown.

tutorials/odata-01-intro-origins/odata-01-intro-origins.md

Lines changed: 49 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ author_profile: https://github.com/qmacro
44
title: Learn about OData Fundamentals
55
description: Discover OData's origins and learn about the fundamentals of OData by exploring a public OData service.
66
auto_validation: false
7-
primary_tag: products>sap-cloud-platform
8-
tags: [ products>sap-cloud-platform, topic>cloud, topic>odata, tutorial>beginner ]
7+
primary_tag: software-product>sap-business-technology-platform
8+
tags: [ software-product>sap-business-technology-platform, topic>cloud, programming-tool>odata, tutorial>beginner ]
99
time: 15
1010
---
1111

@@ -33,49 +33,60 @@ The origin of OData's format comes from the world of weblogs, blogging and syndi
3333

3434
> RSS is also known as "RDF Site Summary" or "Really Simple Syndication".
3535
36-
Look at an example of the RSS representation of blog posts - in particular, the posts tagged **ABAP Development** with this URL:
36+
Let's look at an example of RSS. The National Aeronautics and Space Administration (NASA) maintains many RSS feeds, and you can see a list of them on the [NASA RSS Feeds](https://www.nasa.gov/content/nasa-rss-feeds) page. Go there now and select the [Breaking News](https://www.nasa.gov/rss/dyn/breaking_news.rss) feed which is at this URL:
3737

38-
<https://blogs.sap.com/tags/833755570260738661924709785639136/>
38+
<https://www.nasa.gov/rss/dyn/breaking_news.rss>
3939

40-
and select the **RSS** link as shown in the screenshot.
41-
42-
![RSS link on page of blog posts](blogposts-with-abap-development-tag.png)
40+
The resulting RSS content of this resource should look something like this (reduced here for brevity):
4341

42+
```xml
43+
<?xml version="1.0" encoding="utf-8"?>
44+
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:media="http://search.yahoo.com/mrss/" version="2.0" xml:base="http://www.nasa.gov/">
45+
<channel>
46+
<title>NASA Breaking News</title>
47+
<description>A RSS news feed containing the latest NASA news articles and press releases.</description>
48+
<link>http://www.nasa.gov/</link>
49+
<atom:link rel="self" href="http://www.nasa.gov/rss/dyn/breaking_news.rss"/>
50+
<language>en-us</language>
51+
<item>
52+
<title>NASA Administrator to Visit Florida Students, Industry</title>
53+
<link>http://www.nasa.gov/press-release/nasa-administrator-to-visit-florida-students-industry</link>
54+
<description>NASA Administrator Bill Nelson will speak to elementary school students about the future of space exploration Monday, May 9, and tour a lab working on robotic construction technologies Tuesday, May 10, during a trip to Florida.</description>
55+
<enclosure url="http://www.nasa.gov/sites/default/files/styles/1x1_cardfeed/public/thumbnails/image/nasa-logo-web-rgb_0.jpg?itok=mrBnB_c9" length="189751" type="image/jpeg"/>
56+
<guid isPermaLink="false">http://www.nasa.gov/press-release/nasa-administrator-to-visit-florida-students-industry</guid>
57+
<pubDate>Fri, 06 May 2022 11:13 EDT</pubDate>
58+
<source url="http://www.nasa.gov/rss/dyn/breaking_news.rss">NASA Breaking News</source>
59+
<dc:identifier>479411</dc:identifier>
60+
</item>
61+
<item>
62+
<title>NASA, ESA Astronauts Safely Return to Earth</title>
63+
<link>http://www.nasa.gov/press-release/nasa-esa-astronauts-safely-return-to-earth</link>
64+
<description>NASA’s SpaceX Crew-3 astronauts aboard the Dragon Endurance spacecraft safely splashed down Friday in the Gulf of Mexico off the coast of Florida, completing the agency’s third long-duration commercial crew mission to the International Space Station.</description>
65+
<enclosure url="http://www.nasa.gov/sites/default/files/styles/1x1_cardfeed/public/thumbnails/image/nhq202205060003.jpg?itok=nJXN4A_c" length="3817815" type="image/jpeg"/>
66+
<guid isPermaLink="false">http://www.nasa.gov/press-release/nasa-esa-astronauts-safely-return-to-earth</guid>
67+
<pubDate>Fri, 06 May 2022 01:04 EDT</pubDate>
68+
<source url="http://www.nasa.gov/rss/dyn/breaking_news.rss">NASA Breaking News</source>
69+
<dc:identifier>479399</dc:identifier>
70+
</item>
71+
</channel>
72+
</rss>
73+
```
4474

45-
The resulting RSS content of this resource should look something like this:
75+
Observe the structure of the XML document. Within the outermost `<rss>` element, it describes a `<channel>` that has some metadata such as title and description. That `<channel>` contains one or more `<item>` elements, each of them representing a breaking news item.
4676

47-
```xml
48-
<feed xmlns="http://www.w3.org/2005/Atom">
49-
<title>Latest blog posts for ABAP Development</title>
50-
<link rel="alternate" type="text/html" href="https://community.sap.com/"/>
51-
<id>https://community.sap.com/</id>
52-
<rights>© 2018 SAP SE https://www.sap.com/about/legal/copyright.html</rights>
53-
<logo>https://www.sap.com/dam/application/shared/logos/sap-logo-svg.svg</logo>
54-
<updated>2021-01-26T18:59:22Z</updated>
55-
<entry>
56-
<title>Getting Started with ABAP in 2021</title>
57-
<link rel="alternate" href="https://blogs.sap.com/?p=1259056"/>
58-
<category term="ABAP Development"/>
59-
<category term="#ABAP"/>
60-
<category term="#CDS"/>
61-
<category term="ABAP Beginner"/>
62-
<category term="abap beginners guide"/>
63-
<category term="beginner guide to HANA"/>
64-
<category term="Core Data Services (CDS)"/>
65-
<category term="Virtual Data Model"/>
66-
<author>
67-
<name>Markus Haug</name>
68-
</author>
69-
<id>https://blogs.sap.com/?p=1259056</id>
70-
<updated>2021-01-26T18:59:22Z</updated>
71-
<published>2021-01-26T18:59:22Z</published>
72-
<summary type="text">Whether you are new to ABAP or just want to learn something new this year, this blog post will give you an overview and a handful of helpful resources about all the new technologies in the ABAP cosmos. Not only the universe is expanding, but the ABAP world is also. ...</summary>
73-
</entry>
74-
...
75-
</feed>
77+
```
78+
rss
79+
|
80+
+-- channel
81+
|
82+
+-- item
83+
|
84+
+-- item
85+
|
86+
+-- ...
7687
```
7788

78-
Observe the structure of the XML document. It describes a `feed` that has some metadata such as title, id, logo and information as to when it was last updated. That `feed` contains one or more `entry` elements, each of them representing a post in the list tagged with "ABAP Development". Think of this like a document, with a header and items.
89+
Think of this overall structure like a document, with a header and items.
7990

8091
[VALIDATE_1]
8192

@@ -258,4 +269,3 @@ Finally, use the OData system query option $count to retrieve the number of orde
258269

259270
[VALIDATE_9]
260271
[ACCORDION-END]
261-

0 commit comments

Comments
 (0)