The following standard code for retrieving rfc destination doesn't work in changeset methods (begin, process, end). There are exceptions raised internally in the methods.
lo_dp_facade = /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).
lv_destination = /iwbep/cl_sb_gen_dpc_rt_util=>get_rfc_destination( io_dp_facade = lo_dp_facade ).
Did anybody in the community find success or an alternate mechanism to get rfc destination ? We would need the destination to call our RFC FM for changeset scenarios.
Also, as per documentation - http://help.sap.com/saphelp_gateway20sp09/helpdata/en/25/1bc18549c04ceea701d8c00cf400e9/content.htm
get_dp_facade method is reserved for future features.
Regards,
Parag.