Merge branch 'main' into mbtools/change_package_feature

This commit is contained in:
Lars Hvam 2025-03-24 14:26:21 +01:00 committed by GitHub
commit 358655630b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -411,19 +411,11 @@ CLASS ltcl_abap_language_version IMPLEMENTATION.
METHOD is_import_allowed. METHOD is_import_allowed.
DATA lv_version TYPE string. DATA lv_version TYPE string.
DATA ls_clskey TYPE seoclskey.
ls_clskey-clsname = c_language_cfg.
" Tests using ABAP language version "standard" only work if the required " Tests using ABAP language version "standard" only work if the required
" SAP class is available. In older releases, all packages will have " SAP class is available. In older releases, all packages will have
" ABAP language version "undefined" and are handled like a new package " ABAP language version "undefined" and are handled like a new package
CALL FUNCTION 'SEO_CLASS_EXISTENCE_CHECK' mv_has_language_cfg = zcl_abapgit_oo_factory=>get_by_type( 'CLAS' )->exists( c_language_cfg ).
EXPORTING
clskey = ls_clskey
EXCEPTIONS
OTHERS = 1.
mv_has_language_cfg = boolc( sy-subrc = 0 ).
LOOP AT mt_versions INTO lv_version. LOOP AT mt_versions INTO lv_version.