mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
Fix syntax errors in 702 (#3955)
* Fix syntax errors in 702 * Fix syntax errors in 702
This commit is contained in:
parent
e95b6f7806
commit
5bde9bd549
|
@ -192,11 +192,13 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DB IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD zif_abapgit_gui_event_handler~on_event.
|
METHOD zif_abapgit_gui_event_handler~on_event.
|
||||||
|
|
||||||
DATA: ls_db TYPE zif_abapgit_persistence=>ty_content.
|
DATA ls_db TYPE zif_abapgit_persistence=>ty_content.
|
||||||
|
DATA lo_query TYPE REF TO zcl_abapgit_string_map.
|
||||||
|
|
||||||
|
lo_query = ii_event->query( ).
|
||||||
CASE ii_event->mv_action.
|
CASE ii_event->mv_action.
|
||||||
WHEN c_action-delete.
|
WHEN c_action-delete.
|
||||||
ii_event->query( )->to_abap( CHANGING cs_container = ls_db ).
|
lo_query->to_abap( CHANGING cs_container = ls_db ).
|
||||||
delete( ls_db ).
|
delete( ls_db ).
|
||||||
rs_handled-state = zcl_abapgit_gui=>c_event_state-re_render.
|
rs_handled-state = zcl_abapgit_gui=>c_event_state-re_render.
|
||||||
WHEN OTHERS.
|
WHEN OTHERS.
|
||||||
|
|
|
@ -169,10 +169,12 @@ CLASS ZCL_ABAPGIT_GUI_ROUTER IMPLEMENTATION.
|
||||||
METHOD db_actions.
|
METHOD db_actions.
|
||||||
|
|
||||||
DATA ls_db_key TYPE zif_abapgit_persistence=>ty_content.
|
DATA ls_db_key TYPE zif_abapgit_persistence=>ty_content.
|
||||||
|
DATA lo_query TYPE REF TO zcl_abapgit_string_map.
|
||||||
|
|
||||||
|
lo_query = ii_event->query( ).
|
||||||
CASE ii_event->mv_action.
|
CASE ii_event->mv_action.
|
||||||
WHEN zif_abapgit_definitions=>c_action-db_edit.
|
WHEN zif_abapgit_definitions=>c_action-db_edit.
|
||||||
ii_event->query( )->to_abap( CHANGING cs_container = ls_db_key ).
|
lo_query->to_abap( CHANGING cs_container = ls_db_key ).
|
||||||
CREATE OBJECT rs_handled-page TYPE zcl_abapgit_gui_page_db_edit
|
CREATE OBJECT rs_handled-page TYPE zcl_abapgit_gui_page_db_edit
|
||||||
EXPORTING
|
EXPORTING
|
||||||
is_key = ls_db_key.
|
is_key = ls_db_key.
|
||||||
|
@ -181,7 +183,7 @@ CLASS ZCL_ABAPGIT_GUI_ROUTER IMPLEMENTATION.
|
||||||
rs_handled-state = zcl_abapgit_gui=>c_event_state-new_page_replacing.
|
rs_handled-state = zcl_abapgit_gui=>c_event_state-new_page_replacing.
|
||||||
ENDIF.
|
ENDIF.
|
||||||
WHEN zif_abapgit_definitions=>c_action-db_display.
|
WHEN zif_abapgit_definitions=>c_action-db_display.
|
||||||
ii_event->query( )->to_abap( CHANGING cs_container = ls_db_key ).
|
lo_query->to_abap( CHANGING cs_container = ls_db_key ).
|
||||||
CREATE OBJECT rs_handled-page TYPE zcl_abapgit_gui_page_db_dis
|
CREATE OBJECT rs_handled-page TYPE zcl_abapgit_gui_page_db_dis
|
||||||
EXPORTING
|
EXPORTING
|
||||||
is_key = ls_db_key.
|
is_key = ls_db_key.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user