From 453c430723da565569f2b243477bd3c886265f19 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Fri, 1 Apr 2022 17:51:32 +0200 Subject: [PATCH] Deserialize textpool for some objects (#5417) * Deserialize textpool for some objects Fixes inserting the textpool for objects that are not handled by `RPY_PROGRAM_INSERT`. This applies for example to function groups and exit includes (`zx...`). * Fix deserialize_textpool Co-authored-by: Lars Hvam --- src/objects/zcl_abapgit_objects_program.clas.abap | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/objects/zcl_abapgit_objects_program.clas.abap b/src/objects/zcl_abapgit_objects_program.clas.abap index 62974c4e8..cb2e22ecd 100644 --- a/src/objects/zcl_abapgit_objects_program.clas.abap +++ b/src/objects/zcl_abapgit_objects_program.clas.abap @@ -541,13 +541,6 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION. STATE lv_state. "of the mail program -> insert empty textpool ENDIF. ELSE. - IF lines( it_tpool ) = 1 AND lv_language = mv_language. - READ TABLE it_tpool WITH KEY id = 'R' TRANSPORTING NO FIELDS. - IF sy-subrc = 0. - RETURN. "No action because description in main language is already there - ENDIF. - ENDIF. - INSERT TEXTPOOL iv_program FROM it_tpool LANGUAGE lv_language