refactor to avoid T100 SELECT (#6080)

This commit is contained in:
Lars Hvam 2023-02-23 07:33:17 +01:00 committed by GitHub
parent c79e0e2dd2
commit 86d79f2c29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -306,12 +306,7 @@ CLASS zcl_abapgit_gui_chunk_lib IMPLEMENTATION.
METHOD get_t100_text. METHOD get_t100_text.
SELECT SINGLE text MESSAGE ID iv_msgid TYPE 'S' NUMBER iv_msgno WITH '&1' '&2' '&3' '&4' INTO rv_text.
FROM t100
INTO rv_text
WHERE arbgb = iv_msgid
AND msgnr = iv_msgno
AND sprsl = sy-langu.
" Don't return any generic messages like `&1 &2 &3 &4` " Don't return any generic messages like `&1 &2 &3 &4`
IF rv_text CO ' 0123456789&'. IF rv_text CO ' 0123456789&'.