It is checked whether runnable is an instance of ZIF_RUNNABLE.
|
o_runnable is instance of zif_runnable |
This is done using "is instance of" which is only available from 7.50 onwards.
We are still on 7.4 and this displays an syntax error:
We´ve replaced it currently with:
rv_is_runnable = xsdbool( cl_wdy_wb_reflection_helper=>is_instance_of( object = o_runnable type_name = 'ZIF_RUNNABLE' ) and lv_name <> '\CLASS=ZCL_THREAD' ).
https://codezentrale.de/abap-funktion-instanceof/
Do we have another option here?
It is checked whether runnable is an instance of ZIF_RUNNABLE.
zthread/src/zcl_thread.clas.abap
Line 251 in 0c8cdb7
This is done using "is instance of" which is only available from 7.50 onwards.
We are still on 7.4 and this displays an syntax error:
We´ve replaced it currently with:
rv_is_runnable = xsdbool( cl_wdy_wb_reflection_helper=>is_instance_of( object = o_runnable type_name = 'ZIF_RUNNABLE' ) and lv_name <> '\CLASS=ZCL_THREAD' ).https://codezentrale.de/abap-funktion-instanceof/
Do we have another option here?