03-18-2005 11:55 AM
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.
03-18-2005 1:46 PM
Did you check in SM59 whether the said RFC destination is maintained and if it is able to connect to the destination.