From 65e96e620fd2085c38bc4d65eef1e433767f98eb Mon Sep 17 00:00:00 2001 From: Marc Bernard Date: Wed, 17 Apr 2024 12:18:57 +0000 Subject: [PATCH] replace select * --- src/#mbtools#cl_command__show.clas.testclasses.abap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/#mbtools#cl_command__show.clas.testclasses.abap b/src/#mbtools#cl_command__show.clas.testclasses.abap index 3aa53c8..bb9de95 100644 --- a/src/#mbtools#cl_command__show.clas.testclasses.abap +++ b/src/#mbtools#cl_command__show.clas.testclasses.abap @@ -23,10 +23,10 @@ CLASS ltcl_command_show IMPLEMENTATION. METHOD test. - DATA ls_tstc TYPE tstc. + DATA lv_tcode TYPE tstc-tcode. DATA ls_act TYPE /mbtools/if_definitions=>ty_tadir_key. - SELECT SINGLE * INTO ls_tstc FROM tstc WHERE tcode = iv_tcode. + SELECT SINGLE tcode INTO lv_tcode FROM tstc WHERE tcode = iv_tcode. CHECK sy-subrc = 0. ls_act = /mbtools/cl_command__show=>get_object_from_tcode( iv_tcode ).