Refactor split_by_name call (#6510)

This commit is contained in:
Marc Bernard 2023-09-26 09:17:08 -04:00 committed by GitHub
parent 500ed4e7b0
commit 31cf38aab6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,11 +109,9 @@ CLASS zcl_abapgit_tadir IMPLEMENTATION.
DATA ls_tadir TYPE zif_abapgit_definitions=>ty_tadir.
DATA ls_obj_with_namespace TYPE zif_abapgit_definitions=>ty_obj_namespace.
DATA lv_obj_with_namespace TYPE sobj_name.
lv_obj_with_namespace = iv_object.
TRY.
ls_obj_with_namespace = zcl_abapgit_factory=>get_sap_namespace( )->split_by_name( lv_obj_with_namespace ).
ls_obj_with_namespace = zcl_abapgit_factory=>get_sap_namespace( )->split_by_name( iv_object ).
CATCH zcx_abapgit_exception.
"Ignore the exception like before the replacement of the FM RS_NAME_SPLIT_NAMESPACE
RETURN.