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: 

Debugging an RFC function module

Former Member
0 Kudos

Hi,

I am making an RFC call from Server(RDH) to server(RDI).The problem i am facing is that i am not being able to return debug the function module nor is this returning any values. The function module has been transported to the RDH and Rdi servers.

One reason could be that the destination returned by teh function module us wrong but the people concerned insist that it is correct. I am at a loggerheads.

Thanks

CALL FUNCTION '/GLB/RGT_RFC_DESTINATION'

EXPORTING

destsysttype = l_c_o "commercial box

IMPORTING

rfcdest = v_comdest

EXCEPTIONS

no_destination_found = 1

own_logical_system_not_found = 2

OTHERS = 3.

IF sy-subrc <> 0.

MESSAGE i004."Destination not maintained

LEAVE LIST-PROCESSING.

ENDIF.

CALL FUNCTION '/AOA/FAO_RFC_BILL_INFO'

DESTINATION v_comdest

EXPORTING

im_i_bsid10 = i_bsid10

IMPORTING

ex_i_billing = i_billing

ex_i_vbfa = i_vbfa

ex_i_vbpa = i_vbpa

EXCEPTIONS

communication_failure = 1

system_failure = 2

OTHERS = 3.

1 REPLY 1

Former Member
0 Kudos

Did you check in SM59 whether the said RFC destination is maintained and if it is able to connect to the destination.