Generic: only unique tables

This commit is contained in:
larshp 2019-04-23 17:33:51 +00:00 committed by Lars Hvam
parent 73b5ddc276
commit 4a4f556e21

View File

@ -197,6 +197,9 @@ CLASS ZCL_ABAPGIT_OBJECTS_GENERIC IMPLEMENTATION.
zcx_abapgit_exception=>raise( |Obviously corrupted object-type { zcx_abapgit_exception=>raise( |Obviously corrupted object-type {
is_item-obj_type }: No tables defined| ). is_item-obj_type }: No tables defined| ).
ENDIF. ENDIF.
* only unique tables
SORT mt_object_table BY tobj_name ASCENDING.
DELETE ADJACENT DUPLICATES FROM mt_object_table COMPARING tobj_name.
* object methods * object methods
SELECT * FROM objm INTO TABLE mt_object_method SELECT * FROM objm INTO TABLE mt_object_method