‎2019 Mar 04 9:06 AM
Hi,
I have requirement to compare two system whether they are same or not. For first one I have RFC details but for another one I have application server and instance. I need to write a logic to create RFC using application server and instance. Is there any FM to create RFC on fly using application server and instance?
‎2019 Mar 04 11:07 AM
Look at class CL_DYNAMIC_DESTINATION, method CREATE_RFC_DESTINATION
(With some restrictions you can also use a destination name such as hostname_sysid_sysnr)
‎2019 Mar 04 11:07 AM
Look at class CL_DYNAMIC_DESTINATION, method CREATE_RFC_DESTINATION
(With some restrictions you can also use a destination name such as hostname_sysid_sysnr)
‎2019 Mar 04 2:46 PM
Thanks for your advice but this object doesn't exist in my system. My system is SAP EHP1 FOR SAP NETWEAVER 7.3
‎2019 Mar 04 2:58 PM
‎2019 Mar 04 3:39 PM
Yes, I can see this FM RFC_CREATE_DEFAULT_DESTINATION. Thanks alot.
‎2019 Mar 05 11:14 AM
There is an issue with this FM.
It has default language 'DE'. This language is hard coded in this FM and there is no option to input the language.
PERFORM REPLACE_STRING USING RFC_OPTIONS '%LANGU' 'D'.
‎2019 Mar 05 2:32 PM