abapOpenChecks icon indicating copy to clipboard operation
abapOpenChecks copied to clipboard

"#EC NO_HANDLER can be removed

Open larshp opened this issue 6 years ago • 1 comments

wrong use of "#EC NO_HANDLER, it can be removed if there is a handler implemented

larshp avatar Jan 10 '19 11:01 larshp

plus it seems that sometimes the pragma is placed wrong, it is only valid for CATCH statements(?)

        TRY.
            CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'   "#EC NO_HANDLER
              EXPORTING
                i_name     = co_form_name
              IMPORTING
                e_funcname = lv_fm_name.
          CATCH cx_fp_api INTO lo_exception.            "#EC NO_HANDLER
            IF lo_exception IS NOT INITIAL.             "#EC NO_HANDLER

larshp avatar Jan 10 '19 11:01 larshp