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

testing Remote FM

Former Member
0 Likes
2,278

Hi experts,

I writ remote FM and now I want test it with RFC. I nead "How to.." or Step by Step for this. Can anybody help me?

Regards

5 REPLIES 5
Read only

vivekkrishnan
Active Participant
Read only

Former Member
0 Likes
1,267

Hi,

SM59 is the transaction to test for RFC destination.

Just click on REMOTELOGON button. It will open destination system logon.

The function module /SDF/SL_RFC_GET_CLIENT_REMOTE will determine the RFC destination.

The function module ARFC_DEST_CONFIRM will confirms destionation of RFC.

The function module RFC_CHECK_DESTINATION will check the destionation of RFC.

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
1,267

call this function in a program, using the destination addition

CALL FUNCTION <function name> destination <destination name>

where <destination name> is the RFC destination created in SM59

Read only

former_member150733
Contributor
0 Likes
1,267

If you have just custom written the Remote function module, and before you need to test it,

a. you need to transport the transport request containing the developments to a remote server (say R1) that you want to test

b. create a RFC destination for R1 on the server you developed the Remote function module(RFM) and test the connection.

c. You can test the RFM from the development server by just executing the RFM in SE37 and giving the RFC destination name same as the RFC destination name u created for R1.

alternatively for (c) you can test from a program by using the syntax :

CALL FUNCTION <function_name> destination <destination_name>

where <destination_name> is the RFC destination for R1

Regards,

Anish Thomas

Read only

Former Member
0 Likes
1,267

I should correct myself, I try to test ist with SAP Web AS. I have a hostname and port ( TA SMCIM) and try to start the web service. But I get error.. Do you have an Idea?