Skip to content

Commit 4f1abf1

Browse files
authored
reverting changes
1 parent b5008bb commit 4f1abf1

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/profiles/y_profile_manager.clas.abap

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -346,11 +346,10 @@ CLASS y_profile_manager IMPLEMENTATION.
346346

347347

348348
METHOD y_if_profile_manager~select_all_profiles.
349-
"Based on Checks because the profile might be inactive
350-
SELECT DISTINCT profile FROM ytab_checks INTO TABLE @DATA(profiles).
351-
LOOP AT profiles ASSIGNING FIELD-SYMBOL(<profile>).
352-
APPEND VALUE ytab_profiles( profile = <profile> ) TO result.
353-
ENDLOOP.
349+
SELECT * FROM ytab_profiles INTO TABLE @result.
350+
IF sy-subrc NE 0.
351+
RAISE EXCEPTION TYPE ycx_entry_not_found.
352+
ENDIF.
354353
ENDMETHOD.
355354

356355

0 commit comments

Comments
 (0)