Skip to content

Commit b1cdbf4

Browse files
authored
Update dx.md
1 parent 7a6a420 commit b1cdbf4

File tree

1 file changed

+14
-6
lines changed
  • docs/advanced/technical

1 file changed

+14
-6
lines changed

docs/advanced/technical/dx.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ START-OF-SELECTION.
6060
Benefits:
6161
* Data Transfer with inputs
6262
* events and buttons
63-
* fullstck application (already deployt) with 4 lines
63+
* fullstack application (already deployt) with 4 lines
6464

6565
abap2UI5 brings this concept into the browser:
6666
```abap
@@ -109,7 +109,12 @@ cl_salv_table=>factory(
109109
t_table = gt_t100 ).
110110
go_salv->display( ).
111111
```
112-
While this is compact and effective, it's not cloud-ready. abap2UI5 provides a browser-based, cloud-compatible alternative:
112+
Benefits:
113+
* Table output with a single method calls
114+
* generic table input, ui is generated out of an internal table
115+
* no additonal cds artifacts needed
116+
117+
abap2UI5 brings this benefits into the browser:
113118
```abap
114119
CLASS zcl_app_alv DEFINITION PUBLIC.
115120
PUBLIC SECTION.
@@ -142,9 +147,8 @@ CLASS zcl_app_alv IMPLEMENTATION.
142147
ENDMETHOD.
143148
ENDCLASS.
144149
```
145-
Why this improves Developer Experience:
146-
- Data binding is straightforward and localized
147-
- Table layout and content are configured inline
150+
151+
Additional Benefits in abap2UI5:
148152
- Fully works in browser and on any device, no SAP GUI dependencies
149153

150154
### API IV: popup_to_confirm
@@ -168,8 +172,12 @@ CASE event.
168172
MESSAGE `the result is NO` TYPE 'I'.
169173
ENDCASE.
170174
```
171-
abap2UI5 offers a matching approach using z2ui5_cl_pop_to_confirm:
175+
Benefits:
176+
* event logic at a central place
177+
* easy to understand program flow
178+
* popups are encapsulated in abap code and can be reused
172179

180+
abap2UI5 offers a matching approach using z2ui5_cl_pop_to_confirm:
173181
```abap
174182
CLASS zcl_app_alv_event DEFINITION PUBLIC.
175183
PUBLIC SECTION.

0 commit comments

Comments
 (0)