Application Development and Automation 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: 
Read only

Function Module to check RFC call

Former Member
0 Likes
2,698

Hi All,

We have an object that needs to react differently based on whether itu2019s an internal or remote call.

Is there any standard function Module to determine RFC call.

thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
1,286

Hi, can not you check the user who is making the change. Mostly there is only one or a limited number of RFC users. Succes

Read only

Former Member
0 Likes
1,286

Hi

You can use function module TH_ARFC_REQUESTS is used to check the resources of another server.

To carry out a local check, call the function module TH_ARFC_LOCAL_RESOURCES.

For more details check out:

http://help.sap.com/saphelp_nwpi71/helpdata/en/7f/06363dc992752de10000000a114084/content.htm

Read only

Former Member
0 Likes
1,286

Hii,

Its is not mandatory if you are calling the RFC FM in the same system.

If you want the FM to be executed on another system and operate on the data of THAT system, then you have to specify the destination along with the call

like:

call function 'RFC****'

destination <dest>

the destination must be created in sm59 transaction

regards,

Archana

Read only

Former Member
0 Likes
1,286

Check for RFC connection to ur destination server.

Use transaction SM59 to check ur connection.Whether the status of connection using test button.

Thanks,

AMS