fix syntax error, #926

method does not exist on older versions
This commit is contained in:
larshp 2017-09-14 17:12:38 +00:00
parent 23c9b69fbb
commit 82769c8c75

View File

@ -195,7 +195,13 @@ CLASS lcl_oo_class_new IMPLEMENTATION.
ENDIF.
lo_update->set_dark_mode( seox_true ).
lo_update->set_amdp_support( abap_true ).
TRY.
CALL METHOD lo_update->('SET_AMDP_SUPPORT')
EXPORTING
enabled = abap_true.
CATCH cx_sy_dyn_call_illegal_method.
* AMDP not supported in this system, ignore error
ENDTRY.
lo_update->scan_section_source(
RECEIVING
scan_error = lv_scan_error