TABL: Fix activation of secondary indexes (#6055)

This commit is contained in:
Marc Bernard 2023-02-09 09:27:40 +01:00 committed by GitHub
parent e6582eadc6
commit f0fa964c25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -350,8 +350,6 @@ CLASS zcl_abapgit_object_tabl IMPLEMENTATION.
LOOP AT lt_dd12v INTO ls_dd12v. LOOP AT lt_dd12v INTO ls_dd12v.
* todo, call corr_insert?
CLEAR lt_secondary. CLEAR lt_secondary.
LOOP AT lt_dd17v INTO ls_dd17v LOOP AT lt_dd17v INTO ls_dd17v
WHERE sqltab = ls_dd12v-sqltab AND indexname = ls_dd12v-indexname. WHERE sqltab = ls_dd12v-sqltab AND indexname = ls_dd12v-indexname.
@ -384,8 +382,8 @@ CLASS zcl_abapgit_object_tabl IMPLEMENTATION.
IMPORTING IMPORTING
obj_name = lv_tname. obj_name = lv_tname.
zcl_abapgit_objects_activation=>add( iv_type = 'INDX' " Secondary indexes are automatically activated as part of R3TR TABL
iv_name = lv_tname ). " So there's no need to add them to activation queue
ENDLOOP. ENDLOOP.