From 607ac4f3abb148817127d07d99ccaf1d2db9c601 Mon Sep 17 00:00:00 2001 From: Marc Bernard <59966492+mbtools@users.noreply.github.com> Date: Thu, 8 Apr 2021 10:33:13 +0200 Subject: [PATCH] SOTS: Uninstall with usage reference (#4687) * SOTS: Uninstall with usage reference Remove usage references of `SOTS` texts during uninstall * Add comment Co-authored-by: Lars Hvam Co-authored-by: Lars Hvam --- src/objects/zcl_abapgit_object_sots.clas.abap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/objects/zcl_abapgit_object_sots.clas.abap b/src/objects/zcl_abapgit_object_sots.clas.abap index 8ea24b911..26a0859e8 100644 --- a/src/objects/zcl_abapgit_object_sots.clas.abap +++ b/src/objects/zcl_abapgit_object_sots.clas.abap @@ -185,6 +185,8 @@ CLASS zcl_abapgit_object_sots IMPLEMENTATION. lt_sots = read_sots( ). LOOP AT lt_sots ASSIGNING . + " Remove any usage to ensure deletion, see function module BTFR_CHECK + DELETE FROM sotr_useu WHERE concept = -header-concept. CALL FUNCTION 'BTFR_DELETE_SINGLE_TEXT' EXPORTING