abapOpenChecks icon indicating copy to clipboard operation
abapOpenChecks copied to clipboard

CATCH cx_sy_itab_line_not_found

Open larshp opened this issue 7 years ago • 0 comments

        TRY.
            DATA(ls_foo) = lt_foo[ field = value ].
          CATCH cx_sy_itab_line_not_found.
        ENDTRY.

can be replaced with

  DATA(ls_foo) = VALUE # ( lt_foo[ field = value ] OPTIONAL ).

??

better performance? as the exception does not have to be instantiated?

larshp avatar Oct 15 '18 12:10 larshp