File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -65,12 +65,16 @@ Check out the popup to confirm, for example:
6565 CASE abap_true.
6666
6767 when client->check_on_init( ).
68- client->nav_app_call( z2ui5_cl_pop_to_confirm=>factory( `Can you confirm this?` ) ).
68+ DATA(lo_popup) = z2ui5_cl_pop_to_confirm=>factory(
69+ i_question_text = `Can you confirm this?`
70+ i_event_confirm = `CONFIRM`
71+ i_event_cancel = `CANCEL` ).
72+ client->nav_app_call( lo_popup ).
6973
70- WHEN client->check_on_event( z2ui5_cl_pop_to_confirm=>cs_event-confirmed ).
74+ WHEN client->check_on_event( `CONFIRM` ).
7175 client->message_box_display( `the result is confirmed` ).
7276
73- WHEN client->check_on_event( z2ui5_cl_pop_to_confirm=>cs_event-canceled ).
77+ WHEN client->check_on_event( `CANCEL` ).
7478 client->message_box_display( `the result is rejected` ).
7579
7680 ENDCASE.
You can’t perform that action at this time.
0 commit comments