Skip to content

Commit 42fcf0d

Browse files
authored
Update navigation.md
1 parent 28e5175 commit 42fcf0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/development/navigation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ To call an ABAP class, use the following code:
1010
```abap
1111
METHOD z2ui5_if_app~main.
1212
13-
DATA(lo_app) = NEW z2ui5_cl_demo_app_025( ).
13+
DATA(lo_app) = NEW z2ui5_cl_new_app( ).
1414
client->nav_app_call( lo_app ).
1515
1616
ENDMETHOD.
@@ -28,7 +28,7 @@ If you need to access data from the previous application, use casting as follows
2828
METHOD z2ui5_if_app~main.
2929
3030
IF client->check_on_navigated( ).
31-
DATA(lo_called_app) = CAST z2ui5_cl_demo_app_025( client->get_app_prev( ) ).
31+
DATA(lo_called_app) = CAST z2ui5_cl_new_app( client->get_app_prev( ) ).
3232
client->message_box_display( `Input made in the previous app:` && lo_called_app->mv_input ).
3333
ENDIF.
3434
@@ -38,8 +38,8 @@ To navigate to an application without adding it to the call stack, use:
3838
```abap
3939
METHOD z2ui5_if_app~main.
4040
41-
DATA(lo_app) = NEW z2ui5_cl_demo_app_025( ).
42-
client->nav_app_call( lo_app ).
41+
DATA(lo_app) = NEW z2ui5_cl_new_app( ).
42+
client->nav_app_leave( lo_app ).
4343
4444
ENDMETHOD.
4545
```

0 commit comments

Comments
 (0)