From 59479570c583f06cfa634ab57fe9d191968c683c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=81nis=20B?= <9512588+JanisB-AT@users.noreply.github.com> Date: Mon, 22 Mar 2021 13:12:49 +0100 Subject: [PATCH] Change DDIC activation mode (#4503) * Fixes DDIC activation The changes mimic the behavior of CTS Activatin Job as of 7.40 SP 23 * fixes Activation of dependant DDIC (#4496) The change attempts to mimic behaviour of SAP CTS DDIC Mass Activation Job * Revert to DDMODE = 'O' Reverts to activation mode "in original" system; adds "forced activation" (FRCACT = abap_true) * restore variable definitions * and Pretty Printer Co-authored-by: Lars Hvam --- .../core/zcl_abapgit_objects_activation.clas.abap | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/objects/core/zcl_abapgit_objects_activation.clas.abap b/src/objects/core/zcl_abapgit_objects_activation.clas.abap index e404f6b6c..8930e9783 100644 --- a/src/objects/core/zcl_abapgit_objects_activation.clas.abap +++ b/src/objects/core/zcl_abapgit_objects_activation.clas.abap @@ -61,7 +61,7 @@ ENDCLASS. -CLASS zcl_abapgit_objects_activation IMPLEMENTATION. +CLASS ZCL_ABAPGIT_OBJECTS_ACTIVATION IMPLEMENTATION. METHOD activate. @@ -118,10 +118,11 @@ CLASS zcl_abapgit_objects_activation IMPLEMENTATION. CALL FUNCTION 'DD_MASS_ACT_C3' EXPORTING - ddmode = 'O' - medium = 'T' " transport order - device = 'T' " saves to table DDRPH? - version = 'M' " activate newest + ddmode = 'O' " activate changes in Original System + frcact = abap_true " force Activation + medium = 'T' " transport order + device = 'T' " saves to table DDRPH? + version = 'M' " activate newest version logname = lv_logname write_log = abap_true log_head_tail = abap_true