Skip to content

Commit 13ce630

Browse files
authored
Update cds.md
1 parent f34d76f commit 13ce630

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

docs/development/cds.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ For compatibility reasons, all examples and snippets are provided without CDS an
88
### ABAP CDS
99
ABAP CDS provides a powerful way to define views and consume data from the database. The example below demonstrates how to use the `I_SalesOrder` view from the Virtual Data Model to fetch data and display it in a UI5 table control:
1010
```abap
11-
CLASS z2ui5_cl_sample_cds DEFINITION
12-
PUBLIC
13-
CREATE PUBLIC.
11+
CLASS z2ui5_cl_sample_cds DEFINITION PUBLIC CREATE PUBLIC.
1412
1513
PUBLIC SECTION.
1614
INTERFACES z2ui5_if_app.
@@ -50,9 +48,7 @@ The Entity Manipulation Language simplifies the read, creation, update, and dele
5048
#### Read
5149
Use the `READ ENTITY` command and display the result in an UI5 tabel control:
5250
```abap
53-
CLASS z2ui5_cl_sample_eml_read DEFINITION
54-
PUBLIC
55-
CREATE PUBLIC.
51+
CLASS z2ui5_cl_sample_eml_read DEFINITION PUBLIC CREATE PUBLIC.
5652
5753
PUBLIC SECTION.
5854
INTERFACES z2ui5_if_app.

0 commit comments

Comments
 (0)