Skip to Content

Restrict RFC's to invoke from the excel File.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Nov 12, 2015 at 05: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

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 09, 2015 at 08:32 AM

    Hi Vaibhav,

    restrict with different user authorization?

    BR,

    Lalio

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 14, 2015 at 04: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

    Add comment
    10|10000 characters needed characters exceeded