Skip to content

Commit 4a36c39

Browse files
authored
Merge pull request #2 from qmacro/patch-1
minor mods to part of ex3
2 parents 2eb67c7 + 554fc3b commit 4a36c39

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

exercises/ex3/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ define view Z_I_BookingSupplement_U_XXX
176176

177177
## Exercise 3.2 Create the Business Object Behavior Definition and Implementation
178178

179-
After completing these steps you will have created the Behavior Definitionand Implementation for your Busines Object Views. The behavior definition defines what operations are possible for your Business Object.
179+
After completing these steps you will have created the Behavior Definition and Implementation for your Business Object Views. The behavior definition defines what operations are possible for your Business Object.
180180

181181
1. Right-click on the Z_I_TRAVEL_U_XXX CDS Artifact and choose “New Behavior Defintion“.
182182
<br>![](/exercises/ex3/images/03_02_0010.png)
183183

184184
2. Provide the default description, and change the Implementation Type to “Unmanaged”. Then click “Next”, then “Finish”.
185185
<br>![](/exercises/ex3/images/03_02_0020.png)
186186

187-
3. You will then see the Behavior Defintion editor. You should see 3 seperate behavior definitions here, one for Travel, Bookings, and BookingSupplement.
187+
3. You will then see the Behavior Defintion editor. You should see 3 separate behavior definitions here, one for Travel, Bookings, and BookingSupplement.
188188
<br>![](/exercises/ex3/images/03_02_0030.png)
189189

190190
4. Let’s modify this definition. In this case, we don’t want a single implementation class for Travel, Booking, and BookingSupplement. Instead lets define the implementation classes specifically for each definition. First remove that from the first line so that it only contains the unmanaged key word.
@@ -221,7 +221,7 @@ action set_status_booked result [1] $self;
221221
}
222222
223223
```
224-
9. Next drop down the the second definition, the definition for Z_I_BOOKING_U_XXX. Add the follwing lines of code before the create keyword.
224+
9. Next drop down to the second definition, the definition for Z_I_BOOKING_U_XXX. Add the following lines of code before the create keyword.
225225
```abap
226226
field ( read only ) TravelID, BookingID;
227227
field ( mandatory ) BookingDate, CustomerID, AirlineID, ConnectionID, FlightDate;
@@ -230,7 +230,7 @@ action set_status_booked result [1] $self;
230230
10. Now remove the create keyword, since we will handle the creation of bookings in association with the travel. So we only need the update and delete keywords.
231231
<br>![](/exercises/ex3/images/03_02_0100.png)
232232

233-
11. After the delete keyword, add the following mapping statement.
233+
11. After the association keyword, add the following mapping statement.
234234
```abap
235235
mapping for /dmo/booking
236236
{
@@ -247,7 +247,7 @@ action set_status_booked result [1] $self;
247247
248248
```
249249

250-
12. Next, drop down tot he Z_I_BOOKINGSUPPLEMENT_XXX definition. Add the follwing lines of code before the create keyword.
250+
12. Next, drop down to the Z_I_BOOKINGSUPPLEMENT_XXX definition. Add the following lines of code before the create keyword.
251251
```abap
252252
field ( read only ) TravelID, BookingID, BookingSupplementID;
253253
field ( mandatory ) SupplementID, Price;
@@ -1898,4 +1898,4 @@ define service Z_SD_C_TRAVEL_U_XXX {
18981898

18991899
You've now created your Business Object data model, defined and implemented your Behaviors, created Projections over both, and exposed your data model as an OData service using the Unmanaged Scenario of the RESTful Programming Model
19001900

1901-
Continue to - [Exercise 4 - ABAP RESTful Programming Model - Managed ](../ex4/README.md)
1901+
Continue to - [Exercise 4 - ABAP RESTful Programming Model - Managed ](../ex4/README.md)

0 commit comments

Comments
 (0)