Skip to content

Commit 9a69921

Browse files
authored
Fix ABAP class syntax and update table binding
1 parent c26ad42 commit 9a69921

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/z2ui5_cl_demo_app_011.clas.abap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
3939
)->page(
4040
title = 'abap2UI5 - Tables and editable'
4141
navbuttonpress = client->_event( 'BACK' )
42-
shownavbutton = abap_true ).
42+
shownavbutton = abap_true
43+
id = `test2` ).
4344

4445
DATA(tab) = page->table(
45-
items = client->_bind_edit( t_tab )
46+
items = `{path: '` && client->_bind_edit( val = t_tab path = abap_true ) && `' , templateShareable: false }`
4647
mode = 'MultiSelect'
4748
)->header_toolbar(
4849
)->overflow_toolbar(
@@ -81,6 +82,7 @@ CLASS z2ui5_cl_demo_app_011 IMPLEMENTATION.
8182
)->cells(
8283
)->input( value = '{TITLE}'
8384
enabled = `{EDITABLE}`
85+
id = `test`
8486
)->input( value = '{VALUE}'
8587
enabled = `{EDITABLE}`
8688
)->input( value = '{INFO}'

0 commit comments

Comments
 (0)