Skip to content

Commit 5b09b5e

Browse files
authored
Update dx.md
1 parent 305215c commit 5b09b5e

File tree

1 file changed

+5
-5
lines changed
  • docs/advanced/technical

1 file changed

+5
-5
lines changed

docs/advanced/technical/dx.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ START-OF-SELECTION.
5656
```
5757
this is thew wy we can do it with abap2ui5:
5858
```abap
59-
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
59+
CLASS zcl_app DEFINITION PUBLIC CREATE PUBLIC.
6060
PUBLIC SECTION.
6161
INTERFACES z2ui5_if_app.
62-
DATA pa_arbgb TYPE string.
62+
DATA pa_arbgb TYPE string VALUE 'MDG_TR'.
6363
ENDCLASS.
6464
65-
CLASS z2ui5_cl_app_hello_world IMPLEMENTATION.
65+
CLASS zcl_app IMPLEMENTATION.
6666
METHOD z2ui5_if_app~main.
6767
6868
IF client->check_on_init( ).
@@ -98,12 +98,12 @@ go_salv->display( ).
9898
```
9999
15 lines of code, a single file, and the snippet is ready to use to transport to production for the use of end users. this is strong! unfortunately it is not cloud ready and therefor not future. let mix this with the baap2ui5 approach from above. a abap2ui5 we can create somethig quite similar with the follwoing snippet:
100100
```abap
101-
CLASS z2ui5_cl_app DEFINITION PUBLIC.
101+
CLASS zcl_app DEFINITION PUBLIC.
102102
PUBLIC SECTION.
103103
INTERFACES z2ui5_if_app.
104104
ENDCLASS.
105105
106-
CLASS z2ui5_cl_app IMPLEMENTATION.
106+
CLASS zcl_app IMPLEMENTATION.
107107
METHOD z2ui5_if_app~main.
108108
109109
SELECT FROM t100

0 commit comments

Comments
 (0)