Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

RFC-XI-WEBSERVICE => ABAP DUMP ERROR(V.URGENT)

Hi Experts,

I am trying to create a RFC-XI-Webservice scenarion in which i have made a function module giving the parameters which needs to be displayed in my webservice . I call this function module in a report zlv_distance.

.I am getting a dump while executing my Function module . I am copying the dump as under:-

Runtime Errors CALL_FUNCTION_REMOTE_ERROR

Date and Time 11.10.2007 10:23:56

What happened?

Error in ABAP application program.

The current ABAP program "Z_WEBSERVICE_TEST_SARAS=======FT" had to be

terminated because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

The error occurred in an RFC call to another system.

The target system has also written a short dump.

Consult this short dump for more precise information about

the cause of the error.

Error analysis

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "RFC_EXTERNAL_ABORT"

on the called page.

Trigger Location of Runtime Error

Program Z_WEBSERVICE_TEST_SARAS=======FT

Include Z_WEBSERVICE_TEST_SARAS=======FT

Row 68

Module type (FORM)

Module Name FUNCTION_CALL

Source Code Extract

Line SourceCde

38 DATA: %_VDISTANCE TYPE CHAR10.

39 FORM EXISTENCE_CHECK CHANGING VARIA.

40 VARIA = 1.

41 ENDFORM.

42 FORM FUNCTION_CALL.

43 CLEAR %_ODISTANCE.

44 * TRANSAKTION = 'Repo', PROGRAM = REPORT

45 IF ATRA = '1'.

46 SET RUN TIME ANALYZER ON %_INTERNAL.

47 ENDIF.

48 IF DESTI IS INITIAL.

49 IF DEBUG = '1'. BREAK-POINT AT NEXT APPLICATION STATEMENT.

50 ENDIF.

51 DEBUG = SPACE.

52 GET RUN TIME FIELD TIME1.

53 CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS'

54 EXPORTING

55 FROMZIP = %_IFROMZIP

56 TOZIP = %_ITOZIP

57 IMPORTING

58 DISTANCE = %_ODISTANCE.

59 IF ATRA = '1'.

60 SET RUN TIME ANALYZER OFF %_INTERNAL.

61 ENDIF.

62 ELSE.

63 GET RUN TIME FIELD TIME1.

64 * TRANSAKTION = 'Repo', PROGRAM = REPORT

65 IF ATRA = '1'.

66 SET RUN TIME ANALYZER ON %_INTERNAL.

67 ENDIF.

>> CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS' DESTINATION DESTI

69 EXPORTING

70 FROMZIP = %_IFROMZIP

71 TOZIP = %_ITOZIP

72 IMPORTING

73 DISTANCE = %_ODISTANCE.

74 IF ATRA = '1'.

75 SET RUN TIME ANALYZER OFF %_INTERNAL.

76 ENDIF.

77 ENDIF.

78 GET RUN TIME FIELD TIME2.

79 RC = SY-SUBRC.

80 CLEAR EXCEPTIONS.

81 READ TABLE EXCEPTIONS INDEX RC.

82 IF SY-SUBRC = 0.

83 OEXCEPTION = EXCEPTIONS-NAME.

84 ELSE.

85 OEXCEPTION = RESULTAT.

86 ENDIF.

87 TIME1 = TIME2 - TIME1.

I have made my function module Remote enabled.

My RFC destination is working fine .

I have already tested that.

Please help me on this.

Regards

Saras Jain

Former Member
Not what you were looking for? View more on this topic or Ask a question