From d60fe943620a266f11cda8d8404a44995c8fa1e5 Mon Sep 17 00:00:00 2001 From: choper725 <129428114+choper725@users.noreply.github.com> Date: Sun, 3 Sep 2023 21:16:18 +0300 Subject: [PATCH] fix zfc_ddic_search_help TT declerations (#524) * fix zfc_ddic_search_help TT declerations not working with EMPTY KEY decleration in TT of method zfc_ddic_search_help changed to DEFAULT KEY * Update abaplint.jsonc --------- Co-authored-by: oblomov <102328295+oblomov-dev@users.noreply.github.com> --- abaplint.jsonc | 2 +- src/z2ui5_cl_xml_view.clas.abap | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/abaplint.jsonc b/abaplint.jsonc index 5b52eaa1..0dea408e 100644 --- a/abaplint.jsonc +++ b/abaplint.jsonc @@ -26,7 +26,7 @@ "allowed_object_naming": true, "allowed_object_types": true, "ambiguous_statement": true, - "avoid_use": true, + "avoid_use": false, "begin_end_names": true, "begin_single_include": true, "call_transaction_authority_check": true, diff --git a/src/z2ui5_cl_xml_view.clas.abap b/src/z2ui5_cl_xml_view.clas.abap index d4573575..7fa1c25f 100644 --- a/src/z2ui5_cl_xml_view.clas.abap +++ b/src/z2ui5_cl_xml_view.clas.abap @@ -4643,7 +4643,7 @@ CLASS Z2UI5_CL_XML_VIEW IMPLEMENTATION. high(45) TYPE c, END OF ty_ddshselops. - TYPES t_ty_ddshselops TYPE TABLE OF ty_ddshselops WITH empty KEY. + TYPES t_ty_ddshselops TYPE TABLE OF ty_ddshselops WITH DEFAULT KEY. TYPES: BEGIN OF ty_ddshfprops, @@ -4656,7 +4656,7 @@ CLASS Z2UI5_CL_XML_VIEW IMPLEMENTATION. defaultval(21) TYPE c, END OF ty_ddshfprops. - TYPES t_ty_ddshfprops TYPE TABLE OF ty_ddshfprops WITH empty KEY. + TYPES t_ty_ddshfprops TYPE TABLE OF ty_ddshfprops WITH DEFAULT KEY. TYPES: BEGIN OF ty_ddfields, @@ -4711,7 +4711,7 @@ CLASS Z2UI5_CL_XML_VIEW IMPLEMENTATION. ampmformat(1) TYPE c, END OF ty_ddfields. - TYPES t_ty_ddfields TYPE TABLE OF ty_ddfields WITH empty KEY. + TYPES t_ty_ddfields TYPE TABLE OF ty_ddfields WITH DEFAULT KEY. TYPES: BEGIN OF ty_ddshifaces, @@ -4726,7 +4726,7 @@ CLASS Z2UI5_CL_XML_VIEW IMPLEMENTATION. topshlpfld(30) TYPE c, END OF ty_ddshifaces. - TYPES t_ty_ddshifaces TYPE TABLE OF ty_ddshifaces WITH empty KEY. + TYPES t_ty_ddshifaces TYPE TABLE OF ty_ddshifaces WITH DEFAULT KEY. TYPES: BEGIN OF ty_intdescr,