*"* local class implementation for public class *"* use this source file for the implementation part of *"* local helper classes *"* use this source file for any type declarations (class *"* definitions, interfaces or data types) you need for method *"* implementation or private method's signature *"* use this source file for any macro definitions you need *"* in the implementation part of the class method GET_TABLE. DATA: lo_object TYPE REF TO object, ls_seoclass TYPE seoclass, l_method TYPE string. SELECT SINGLE * INTO ls_seoclass FROM seoclass WHERE clsname = 'IF_SALV_BS_DATA_SOURCE'. IF sy-subrc = 0. l_method = 'GET_TABLE_REF'. lo_object ?= io_object. CALL METHOD lo_object->(l_method) RECEIVING value = ro_data. ELSE. l_method = 'GET_REF_TO_TABLE'. lo_object ?= io_object. CALL METHOD lo_object->(l_method) RECEIVING value = ro_data. ENDIF. endmethod.