From 4a4f556e21e9d211dcf4e5cd7b746d26719bd4f0 Mon Sep 17 00:00:00 2001 From: larshp Date: Tue, 23 Apr 2019 17:33:51 +0000 Subject: [PATCH] Generic: only unique tables --- src/objects/zcl_abapgit_objects_generic.clas.abap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/objects/zcl_abapgit_objects_generic.clas.abap b/src/objects/zcl_abapgit_objects_generic.clas.abap index 82ff8de69..3487a3262 100644 --- a/src/objects/zcl_abapgit_objects_generic.clas.abap +++ b/src/objects/zcl_abapgit_objects_generic.clas.abap @@ -197,6 +197,9 @@ CLASS ZCL_ABAPGIT_OBJECTS_GENERIC IMPLEMENTATION. zcx_abapgit_exception=>raise( |Obviously corrupted object-type { is_item-obj_type }: No tables defined| ). ENDIF. +* only unique tables + SORT mt_object_table BY tobj_name ASCENDING. + DELETE ADJACENT DUPLICATES FROM mt_object_table COMPARING tobj_name. * object methods SELECT * FROM objm INTO TABLE mt_object_method