cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime error CALL_FUNCTION_NOT_FOUND has occurred while calling RFC

vikash_pathak
Participant
0 Kudos

Hi,

I have create a RFC and RFC Destination in SM59 too

but while calling the FM in ABAP Report Getting Dump 'CALL_FUNCTION_REMOTE_ERROR' and while trying to execute RFC through SE37 getting error system failure 'Runtime error CALL_FUNCTION_NOT_FOUND has occurred'

I have tested RFC Connection in SM59 and and able to login destination system.

Please let me know the solution for this issue.

Thanks

data: li_mara TYPE mara.


START-OF-SELECTION.


CALL FUNCTION 'ZTEST_VIKASH' DESTINATION 'New_system_test'
  EXPORTING
    i_matnr       = 'A001'
 IMPORTING
   EX_MARA       = li_mara
          .

Accepted Solutions (1)

Accepted Solutions (1)

Pankaj_Gupta
Advisor
Advisor
0 Kudos

While calling the program through Report, you are getting Dump because no Exception is handled while calling RFC FM-

EXCEPTIONS

SYSTEM_FAILURE = 1

COMMUNICATION_FAILURE = 2

These Exceptions are only mentioned in Report and not in FM itself.

Regarding the Exception raised, could you please confirm whether this FM is maintained in RFC System 'New_system_test' or not with same parameters.

vikash_pathak
Participant
0 Kudos

got it, i hadn't created RFC in Destination System.

Thanks

Answers (0)