Skip to content

Commit 88d1e63

Browse files
authored
Update hello_world.md
1 parent 51387da commit 88d1e63

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/get_started/hello_world.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ outline: [2, 4]
66
### Basic Example
77
Every abap2UI5 app is an implementation of the `Z2UI5_IF_APP` interface. Create a new class with the following code:
88
```abap
9-
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC.
9+
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
1010
1111
PUBLIC SECTION.
1212
INTERFACES z2ui5_if_app.
@@ -26,7 +26,7 @@ Go back to the landing page in your browser and enter `Z2UI5_CL_APP_HELLO_WORLD`
2626
### View Display
2727
Now, let's add our first view to display a simple text:
2828
```abap
29-
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC.
29+
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
3030
3131
PUBLIC SECTION.
3232
INTERFACES z2ui5_if_app.
@@ -48,7 +48,7 @@ ENDCLASS.
4848
### Event Handler
4949
Next, we extend the app with a button and an event:
5050
```abap
51-
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC.
51+
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
5252
5353
PUBLIC SECTION.
5454
INTERFACES z2ui5_if_app.
@@ -78,7 +78,7 @@ ENDCLASS.
7878
### Data Exchange
7979
Finally, we add a public attribute and can send data to the backend:
8080
```abap
81-
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC.
81+
CLASS z2ui5_cl_app_hello_world DEFINITION PUBLIC CREATE PUBLIC.
8282
8383
PUBLIC SECTION.
8484
INTERFACES z2ui5_if_app.
@@ -109,4 +109,4 @@ And that's it! Set a breakpoint and observe the communication and data updates.
109109

110110
::: tip **ABAP Language Versions**
111111
While we need to distinguish between Standard ABAP and ABAP for Cloud in the HTTP Handler, the apps themselves are independent. You can decide whether to develop your apps compatible with ABAP Cloud or not.
112-
:::
112+
:::

0 commit comments

Comments
 (0)