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: 

How to check remote server(client server) name in RFC

Former Member
0 Kudos
140

Hi, gurus..

Is there a way to get a name of client server in RFC.

There is an RFC 'ZTEST' at System B.

'ZTEST' could be called by any system.

So, I want to check the authority by calling system's name.

System A is allowed to call System B, but System C can not.

Please help me.

1 ACCEPTED SOLUTION

GrahamRobbo
Active Contributor
0 Kudos
49

The destination "BACK" can be used to refer back to the caller.

So you can do something like

  CALL FUNCTION 'RFC_SYSTEM_INFO'
    DESTINATION 'BACK'
    IMPORTING
      rfcsi_export      = rfcsi_export
      current_resources = current_resources
      maximal_resources = maximal_resources
      recommended_delay = recommended_delay.

..to get the system information of the caller.

Cheers

Graham Robbo

2 REPLIES 2

GrahamRobbo
Active Contributor
0 Kudos
50

The destination "BACK" can be used to refer back to the caller.

So you can do something like

  CALL FUNCTION 'RFC_SYSTEM_INFO'
    DESTINATION 'BACK'
    IMPORTING
      rfcsi_export      = rfcsi_export
      current_resources = current_resources
      maximal_resources = maximal_resources
      recommended_delay = recommended_delay.

..to get the system information of the caller.

Cheers

Graham Robbo

0 Kudos
49

Thank you.

It's solved!!!