Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict RFC's to invoke from the excel File.

vairma
Advisor
Advisor
0 Kudos

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

3 REPLIES 3

0 Kudos

Hi Vaibhav,

restrict with different user authorization?

BR,

Lalio

jack_graus2
Active Contributor
0 Kudos

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

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

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