Skip to content

Commit 44247a9

Browse files
authored
Update odata.md
1 parent f83b982 commit 44247a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/development/model/odata.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Here’s the complete source code:
4141
METHOD z2ui5_if_app~main.
4242
4343
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
44-
items = `{FLIGHT>/Airport}`
44+
items = `{FLIGHT>/Airport}`
4545
growing = abap_true ).
4646
4747
tab->columns(
@@ -71,7 +71,7 @@ ENDMETHOD.
7171
You can also bind multiple OData models simultaneously. For example, here’s how to bind an additional OData model under the name `TRAVEL`:
7272
```abap
7373
DATA(tab) = z2ui5_cl_xml_view=>factory( )->page( )->table(
74-
items = `{TRAVEL>/BookingSupplement}`
74+
items = `{TRAVEL>/BookingSupplement}`
7575
growing = abap_true ).
7676
7777
tab->columns(
@@ -89,7 +89,7 @@ tab->items( )->column_list_item( )->cells(
8989
client->view_display( tab->stringify( ) ).
9090
9191
client->follow_up_action( client->_event_client(
92-
val = z2ui5_if_client=>cs_event-set_odata_model
92+
val = z2ui5_if_client=>cs_event-set_odata_model
9393
t_arg = value #(
9494
( `/sap/opu/odata/DMO/API_TRAVEL_U_V2/` )
9595
( `TRAVEL` ) ) ) ).
@@ -115,7 +115,7 @@ We can use these SAP annotations in our UI5 view to utilize backend translations
115115
```abap
116116
117117
data(tab) = page->table(
118-
items = `{TRAVEL>/Currency}`
118+
items = `{TRAVEL>/Currency}`
119119
growing = abap_true ).
120120
121121
tab->columns(
@@ -133,7 +133,7 @@ tab->items( )->column_list_item( )->cells(
133133
client->view_display( tab->stringify( ) ).
134134
135135
client->follow_up_action( client->_event_client(
136-
val = z2ui5_if_client=>cs_event-set_odata_model
136+
val = z2ui5_if_client=>cs_event-set_odata_model
137137
t_arg = value #(
138138
( `/sap/opu/odata/DMO/API_TRAVEL_U_V2/` )
139139
( `TRAVEL` ) ) ) ).

0 commit comments

Comments
 (0)