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

Short dump while adding oData service using /IWFND/MAINT_SERVICE tcode

former_member55862
Participant
0 Likes
3,525

We are adding oData service related to one of the standard Fiori application e.g.

Accounts Payable Overview.

Application has oData services based on CDS views. As soon as we click on "Add Selected Services" button system is throwing short dump.

.......An error occurred when executing a REMOTE FUNCTION CALL.

.......CALL_FUNCTION_REMOTE_ERROR in /IWFND/CL_MED_REM_EXPLORATION

Steps to produce this error:

1. Go to t-code /IWFND/MAINT_SERVICE

2. Click on "Add Service" button

3. Enter System Alias = Local and Technical Service Name =

C_APDAYSPYBLOUTSTDGDIRECT_CDS

4. Click on Get Services and then highlight the service

5. Click on "Add Selected Service"

This will throw short dump

Can any expert advise where exactly the issue is and what needs to be done additionally?

Regards,

AQIB

We are adding oData service related to one of the standard Fiori application e.g.

Accounts Payable Overview.

Application has oData services based on CDS views. As soon as we click on "Add Selected Services" button system is throwing short dump.

.......An error occurred when executing a REMOTE FUNCTION CALL.

.......CALL_FUNCTION_REMOTE_ERROR in /IWFND/CL_MED_REM_EXPLORATION

Steps to produce this error:

1. Go to t-code /IWFND/MAINT_SERVICE

2. Click on "Add Service" button

3. Enter System Alias = Local and Technical Service Name =

C_APDAYSPYBLOUTSTDGDIRECT_CDS

4. Click on Get Services and then highlight the service

5. Click on "Add Selected Service"

This will throw short dump

Can any expert advise where exactly the issue is and what needs to be done additionally?

Regards,

AQIB

3 REPLIES 3
Read only

BJarkowski
Active Contributor
0 Likes
2,317

Could you also attach the shortdump from ST22?

Read only

Former Member
0 Likes
2,317

Hi there,

I'm interested in knowing why this issue has occurred in the first place.

Kindly share your issue log from ST22.

(If already solved, please share the reason/issue log here for future use).

Regards,

Naren

Read only

former_member55862
Participant
0 Likes
2,317

I am unable to attach image files.

Dump Text:

***********************************

Category External Error
Runtime Errors CALL_FUNCTION_REMOTE_ERROR
Date and Time 08/20/2019 13:03:44

Short Text
"The current application has triggered a termination with a short dump."

What happened?
Error in the ABAP application program.

The current ABAP program "/IWFND/CL_MED_REM_EXPLORATION=CP" had to be
terminated because it found a
statement that could not be executed.
The error occurred during an RFC call to another system.
A short dump has also been written in the target system. More detailed
information about the cause of the error can be found there.


Data for the target system (RFC server): Host.................

Client..................
User name..............

What can I do?
Note which actions and entries caused the error to occur.

Consult your SAP administrator.

Using transaction ST22 for ABAP dump analysis, you can view, manage,
and retain termination messages for longer periods.

Error analysis
An error occurred when executing a REMOTE FUNCTION CALL. The error that
caused this has been logged on the called puage under MESSAGE_TYPE_X.

Information on where terminated
The termination occurred in ABAP program or include
"/IWFND/CL_MED_REM_EXPLORATION=CP", in "GET_BEP_OBJECT_MODELS". The
main program was "/IWFND/R_MGW_REGISTRATION".

In the source code, the termination point is in line 62 of include
"/IWFND/CL_MED_REM_EXPLORATION=CM004".
include "/IWFND/CL_MED_REM_EXPLORATION=CM004".

Source Code Extract

Line Code

32
33 ELSE.
34 " Co-Deployment
35 ls_system_alias_info-is_local_iwf = abap_true.
36
37 ENDIF.
38
39
40 *-check that function exists
41 IF is_rfc_function_existing( iv_function_module = gc_s_rfc-bep_groups
42 iv_rfc_destination = lv_destination ) = abap_false.
43 RETURN.
44 ENDIF.
45
46 lv_function_name = gc_s_rfc-bep_models.
47
48 *-serialize context information: System Alias Info
49 TRY.
50 /iwfnd/cl_mgw_runt_rclnt_utils=>serialize_request_details(
51 EXPORTING
52 is_system_alias_info = ls_system_alias_info
53 IMPORTING
54 ev_serialized_data = lv_context
55 ).
56 CATCH /iwfnd/cx_mgw_tech_exception. " MGW Technical Exception
57 ENDTRY.
58
59
60 *-check for local deployment
61 IF ls_system_alias_info-is_local_iwf = abap_true.
>>>>> CALL FUNCTION lv_function_name DESTINATION 'NONE'
63 EXPORTING
64 iv_language = sy-langu
65 iv_service_group_name = iv_service_group_name
66 iv_service_group_version = iv_service_group_version
67 iv_include_model_usage = abap_true
68 iv_context = lv_context
69 IMPORTING
70 rt_object_models = et_object_models
71 es_model_usage = es_model_usage
72 es_msg_container_h = ls_msg_container_header
73 et_msg_container = lt_msg_container.
74
75
76 ELSE.
77 *---get BEP model group
78 CALL FUNCTION lv_function_name
79 DESTINATION lv_destination
80 EXPORTING
81 iv_language = sy-langu


Active Calls/Events

No. Ty. Program Include Line
Name

21 METHOD /IWFND/CL_MED_REM_EXPLORATION=CP /IWFND/CL_MED_REM_EXPLORATION=CM004 62
/IWFND/CL_MED_REM_EXPLORATION=>GET_BEP_OBJECT_MODELS
20 METHOD /IWFND/R_MGW_REGISTRATION /IWFND/R_MGW_REGISTRATION_LCL 801
LCL_ADD_SERVICE=>SELECT_SINGLE_SERVICE
19 METHOD /IWFND/R_MGW_REGISTRATION /IWFND/R_MGW_REGISTRATION_LCL 740
LCL_ADD_SERVICE=>HANDLE_USER_COMMAND
18 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM007 639
CL_GUI_ALV_GRID=>EXECUTE_FCODE
17 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM06W 4
CL_GUI_ALV_GRID=>_DISPATCH_TOOLBAR_EVENTS
16 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM01S 79
CL_GUI_ALV_GRID=>DISPATCH
15 METHOD CL_GUI_CFW====================CP CL_GUI_CFW====================CM00K 191
CL_GUI_CFW=>DISPATCH_SYSTEM_EVENTS
14 FORM SAPFGUICNTL_CFW SAPFGUICNTL_CFW 23
CONTROL_DISPATCH
13 FORM SAPFGUICNTL SAPFGUICNTL 20
CONTROL_DISPATCH
12 FORM SAPMSSYD SAPMSSYD 354
%_CTL_INPUT
11 MODULE (PAI) SAPMSSYD SAPMSSYD 290
%_CTL_INPUT1
10 FORM /IWFND/R_MGW_REGISTRATION /IWFND/R_MGW_REGISTRATION_F01 888
CALL_SCREEN_ADD_SERVICE
9 METHOD /IWFND/R_MGW_REGISTRATION /IWFND/R_MGW_REGISTRATION_LCL 376
LCL_SERVICE=>HANDLE_USER_COMMAND
8 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM007 639
CL_GUI_ALV_GRID=>EXECUTE_FCODE
7 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM06W 4
CL_GUI_ALV_GRID=>_DISPATCH_TOOLBAR_EVENTS
6 METHOD CL_GUI_ALV_GRID===============CP CL_GUI_ALV_GRID===============CM01S 79
CL_GUI_ALV_GRID=>DISPATCH
5 METHOD CL_GUI_CFW====================CP CL_GUI_CFW====================CM00K 191
CL_GUI_CFW=>DISPATCH_SYSTEM_EVENTS
4 FORM SAPFGUICNTL_CFW SAPFGUICNTL_CFW 23
CONTROL_DISPATCH
3 FORM SAPFGUICNTL SAPFGUICNTL 20
CONTROL_DISPATCH
2 FORM SAPMSSYD SAPMSSYD 354
%_CTL_INPUT
1 MODULE (PAI) SAPMSSYD SAPMSSYD 290
%_CTL_INPUT1