11-03-2015 7:11 PM
Hi Experts,
I have a use case where the SAP RFC's [with Remote enabled] should always be invoked from the another SAP system but the same RFC's should be restricted to call from the external program like excel.
Please help me to resolve this issue.
Thanks and Best Regards,
Vaibhav
11-09-2015 8:32 AM
11-12-2015 5:13 AM
Hi
When the RFC being called is a customer development then you could retrieve system information from the calling program (SAP, Excel, ...). One can do so by calling the module RFC_SYSTEM_INFO with destination BACK. RFC destination BACK calls a RFC in the calling program. When the calling program is not a SAP system or not a specific SAP system then you could abort your RFC.
Regards Jack
12-14-2015 4:24 PM
Hi Vaibhav,
another idea (although this may be "shooting sparrows with a cannon"... 😞
If UCON is installed on the SAP system, you could define an access rule like "function module XYZ is allowed to be called only from system ABC". Then it can't be called from other SAP systems or from external programs.
Regards, Ulrich