Skip to content

Commit

Permalink
fix new samples (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
oblomov-dev authored Oct 26, 2024
1 parent 382b863 commit a18bdde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/z2ui5_cl_demo_app_000.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ CLASS z2ui5_cl_demo_app_000 IMPLEMENTATION.

panel->generic_tile(
header = 'Popup to Select'
press = client->_event( 'Z2UI5_CL_DEMO_APP_152' )
press = client->_event( 'z2ui5_cl_demo_app_174' )
mode = 'LineMode'
class = 'sapUiTinyMarginEnd sapUiTinyMarginBottom'
).
Expand Down
9 changes: 6 additions & 3 deletions src/z2ui5_cl_demo_app_187.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,16 @@ CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
CASE client->get( )-event.

WHEN 'SY'.
MESSAGE ID 'NET' TYPE 'I' NUMBER '001' INTO DATA(lv_dummy).
MESSAGE ID 'NET' TYPE 'E' NUMBER '001' INTO DATA(lv_dummy).
client->message_box_display( sy ).

WHEN 'BAPIRET'.
DATA ls_msg TYPE bapiret2.

* CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
* IMPORTING
* return = ls_msg.
ls_msg = value #( id = 'NET' number = '001' ).
ls_msg = VALUE #( id = 'NET' number = '001' ).
client->message_box_display( ls_msg ).

WHEN 'CX_ROOT'.
Expand All @@ -52,8 +53,10 @@ CLASS z2ui5_cl_demo_app_187 IMPLEMENTATION.
client->message_box_display( lx ).
ENDTRY.

ENDCASE.
WHEN 'BACK'.
client->nav_app_leave( ).

ENDCASE.

ENDMETHOD.
ENDCLASS.

0 comments on commit a18bdde

Please sign in to comment.