From 5f312e1a15bcdd753d32ab35040e8d8c9d1117c8 Mon Sep 17 00:00:00 2001 From: Albert Mink Date: Tue, 26 Sep 2023 11:38:39 +0200 Subject: [PATCH] identical contents in if/else branch --- src/z_generate_repo.prog.abap | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/z_generate_repo.prog.abap b/src/z_generate_repo.prog.abap index c8056df8..687a682f 100644 --- a/src/z_generate_repo.prog.abap +++ b/src/z_generate_repo.prog.abap @@ -869,11 +869,10 @@ CLASS lcl_generator IMPLEMENTATION. FIND FIRST OCCURRENCE OF PCRE element_name IN TABLE hidden_elements. "or line exists IF sy-subrc = 0. screen-active = 0. - MODIFY SCREEN. ELSE. screen-active = 1. - MODIFY SCREEN. ENDIF. + MODIFY SCREEN. ENDLOOP. ENDMETHOD.