From 34b2fb3222f4dac66c87ae7e493d0dd6e7a1381f Mon Sep 17 00:00:00 2001 From: yellappam Date: Fri, 1 Oct 2021 19:12:18 +1300 Subject: [PATCH] FUGR: Clear TEXT when referring to dictionary (#4973) In dynpro screen, when a field is referring to a data element and text is taken from dictionary, no need to serialize the text as it is always taken from dictionary. If the text is included then it will show unnecessary diffs when data element text changes. Co-authored-by: Marc Bernard <59966492+mbtools@users.noreply.github.com> Co-authored-by: Lars Hvam --- src/objects/zcl_abapgit_objects_program.clas.abap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/objects/zcl_abapgit_objects_program.clas.abap b/src/objects/zcl_abapgit_objects_program.clas.abap index 65a213408..08d9bc291 100644 --- a/src/objects/zcl_abapgit_objects_program.clas.abap +++ b/src/objects/zcl_abapgit_objects_program.clas.abap @@ -831,6 +831,11 @@ CLASS zcl_abapgit_objects_program IMPLEMENTATION. CLEAR -foreignkey. ENDIF. ENDIF. + + IF -from_dict = abap_true AND + -modific <> 'F'. + CLEAR -text. + ENDIF. ENDLOOP. LOOP AT lt_containers ASSIGNING .