on 02-19-2014 1:13 PM
Hi!
In class /SAPSRM/CL_CH_WD_MAP_FACTORY method CREATE_DODM_PARTNERS
DATA: lo_dodm_partners TYPE REF TO /sapsrm/cl_ch_wd_dodm_partners,
....
* create do-mapper
CREATE OBJECT LO_DODM_PARTNERS
EXPORTING
ION_CLL_SET_FACADE = lon_cll_set_facade
IO_WD_VIEW_CONTROLLER = io_wd_view_controller
IO_WD_COMPONENT_CONTROLLER = io_wd_component_controller
IO_PARENT_BO_MAPPER = io_parent_bo_mapper
IO_META_INIT = io_meta_init
IV_VIEW_NAME = iv_view_name
IV_PARTNER_LEVEL = IV_PARTNER_LEVEL
.
ro_dodm_partners = lo_dodm_partners.
How I can call my Z class inherit from /SAPSRM/CL_CH_WD_DODM_PARTNERS?
Hi Konstantin,
you can try to inherit your class and add an implicit enhancement at the beginning (with RETURN) or at the end of /SAPSRM/IF_CH_WD_MAP_FACTORY~CREATE_DODM_PARTNERS to return not the standard class, but your own.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Konstantin,
you could add the Interface /SAPSRM/IF_CH_WD_MAP_FACTORY to the interface tab from your specific class...
But methods from this class are public, so if you need the interface methods only once in one of your specific methods, just call the static method /SAPSRM/IF_CH_WD_MAP_FACTORY~GET_INSTANCE from /SAPSRM/CL_CH_WD_MAP_FACTORY class: in this way, you have the factory interface data.
Regards.
Laurent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.