Skip to content

Commit 67b72e7

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

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

docs/development/cds.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ outline: [2, 4]
33
---
44
# CDS, EML
55

6-
For compatibility reasons, all examples and snippets are provided without CDS and EML calls. However, if you're using the latest ABAP releases, you can leverage these modern features in your abap2UI5 applications.
6+
While all examples and snippets in our documentation are designed for compatibility without requiring CDS or EML, you can leverage these modern ABAP features in your abap2UI5 applications if you're using the latest ABAP releases.
77

88
### ABAP CDS
9-
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:
9+
ABAP Core Data Services (CDS) enable you to define powerful views and consume data directly from the database. The following example demonstrates how to fetch sales orders using the I_SalesOrder view from the Virtual Data Model (VDM) and display them in a UI5 table:
1010
```abap
1111
CLASS z2ui5_cl_sample_cds DEFINITION PUBLIC CREATE PUBLIC.
1212
@@ -43,10 +43,10 @@ ENDCLASS.
4343
```
4444

4545
### EML
46-
The Entity Manipulation Language simplifies the read, creation, update, and deletion of RAP business objects.
46+
The Entity Manipulation Language simplifies working with RAP business objects by providing a consistent way to perform operations such as reading, creating, updating, and deleting entities.
4747

4848
#### Read
49-
Use the `READ ENTITY` command and display the result in an UI5 tabel control:
49+
Here’s how to use `READ ENTITIES` to fetch sales orders and display them in a UI5 table:
5050
```abap
5151
CLASS z2ui5_cl_sample_eml_read DEFINITION PUBLIC CREATE PUBLIC.
5252
@@ -84,7 +84,8 @@ ENDCLASS.
8484
```
8585

8686
#### Modify
87-
Create a sales order using EML in an abap2UI5 application:
87+
The following example demonstrates how to create a sales order using `MODIFY` in an abap2UI5 application:
88+
8889
```abap
8990
METHOD z2ui5_if_app~main.
9091
@@ -116,7 +117,7 @@ METHOD z2ui5_if_app~main.
116117
ENDMETHOD.
117118
```
118119
Key Considerations:
119-
* EML calls in abap2UI5 apps are executed outside the RAP framework. Therefore, don't forget to explicitly commit transactions using `COMMIT ENTITIES`
120-
* RAP enforces strict limitations, such as disallowing direct calls to posting function modules or explicit commits within its framework. These restrictions do not apply when using EML in abap2UI5 apps, allowing greater flexibility in commit management
120+
* EML calls in abap2UI5 applications are executed outside the RAP framework. Therefore, explicit transaction commits (COMMIT ENTITIES) are necessary
121+
* Restrictions within the RAP framework, such as disallowing direct calls to posting function modules or explicit commits, do not apply to abap2UI5 EML operations. This provides greater flexibility in managing commits and other actions
121122

122123

0 commit comments

Comments
 (0)