Symptom
Accessing odata gws_fiori_srv fails with error:
Request failed with status code 500: GET /sap/opu/odata/stats/gws_fiori_srv/GetConfiguration?sap-client=XXX- [{"code":"CALL_FUNCTION_NO_DEST","message":"Runtime Error: 'CALL_FUNCTION_NO_DEST'. The OData request processing has been abnormally terminated. If you use SAP S/4HANA Cloud, please create an incident. Otherwise, if \"Runtime Error\" is not initial, launch ADT feed \"Runtime Errors\" or transaction ST22 / SM21 (system log analysis) for details and analysis.","persistent":false,"targets":[""],"type":"Error"}] sap.ui.model.odata.ODataMessageParser
And st22 dump:
Category Installation error
Runtime Errors CALL_FUNCTION_NO_DEST
Date and Time 21.02.2024 16:54:25 (UTC)
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Short Text |
| RFC destination "XXXXXXXXXXXXXXXXXXXXX" does not exist. |
----------------------------------------------------------------------------------------------------
|Information on where terminated |
| The termination occurred in ABAP program or include "/STATS/SAPLFG_MAIN", in |
| "READ_CUSTOMIZING". The |
| main program was "SAPMHTTP". |
| |
| In the source code, the termination point is in line 376 of include |
| "/STATS/LFG_MAINM01". |
| include "/STATS/LFG_MAINM01". |
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
|Source Code Extract |
----------------------------------------------------------------------------------------------------
|Line |Code |
----------------------------------------------------------------------------------------------------
| 346| |
| 347| ENDIF. |
| 348| |
| 349| IF lv_cfg_found EQ 'X'. |
| 350| SELECT SINGLE * INTO CORRESPONDING FIELDS OF ls_settings_local FROM /stats/t_setting C|
| 351| ELSE. |
| 352| |
| 353| IF iv_oss EQ 'X'. |
| 354| SELECT SINGLE * INTO CORRESPONDING FIELDS OF ls_settings_local FROM /stats/t_setting|
| 355| INNER JOIN /stats/t_cfg AS b ON a~config_id EQ b~config_id AND a~mandt EQ b~mandt |
| 356| WHERE b~mandt EQ lv_client AND a~config_id EQ /stats/c_tools=>mc_config_id_oss AND|
| 357| ELSE. |
| 358| SELECT SINGLE * INTO CORRESPONDING FIELDS OF ls_settings_local FROM /stats/t_setting|
| 359| INNER JOIN /stats/t_cfg AS b ON a~config_id EQ b~config_id AND a~mandt EQ b~mandt |
| 360| WHERE b~mandt EQ lv_client AND a~config_id EQ space AND active EQ 'X'. |
| 361| ENDIF. |
| 362| |
| 363| ENDIF. |
| 364| |
| 365| ENDIF. |
| 366| |
| 367| IF ( sy-subrc NE 0 AND iv_oss IS INITIAL ) OR ( iv_sysid NE sy-sysid AND iv_rf_fcode IS NO|
| 368| ( iv_sysid EQ sy-sysid AND iv_rf_fcode IS NOT INITIAL AND lv_config_id IS INITIAL AND l|
| 369| RETURN. |
| 370| ENDIF. |
| 371| |
| 372| IF ls_settings_local-solman_proxy EQ 'X'. |
| 373| |
| 374| IF iv_oss IS INITIAL. |
| 375| |
|>>>>>| CALL FUNCTION '/STATS/FM_GET_SETTINGS' DESTINATION ls_settings_local-rfcdest |
| 377| EXPORTING |
| 378| iv_sysid = sy-sysid |
| 379| iv_menufunct = iv_menufunct |
| 380| iv_rf_fcode = iv_rf_fcode |
| 381| IMPORTING |
| 382| es_cfg = cs_cfg |
| 383| es_settings = cs_settings |
| 384| es_settings_text = cs_settings_text |
| 385| es_related_settings = cs_related_settings |
| 386| es_keyuser_settings = cs_keyuser_settings |
| 387| es_ns_cfg = cs_ns_cfg |
| 388| et_dd_values = ct_dd_values |
| 389| et_sid_def = ct_sid_def |
| 390| et_labels = ct_labels |
| 391| et_gen_def = ct_gen_def |
| 392| es_rf_cust = cs_rf_cust |
| 393| es_rspc_cust = cs_rspc_cust |
| 394| et_msg_def = ct_msg_def |
| 395| et_groups = ct_groups |
----------------------------------------------------------------------------------------------------
Read more...
Environment
SAP Gateway.
Product
Keywords
/STATS/T_SETTING, STATS, CALL_FUNCTION_NO_DEST, gws_fiori_srv, /STATS/FM_GET_SETTINGS, /STATS/SAPLFG_MAIN, /STATS/LFG_MAINM01 , KBA , OPU-GW-COR , Framework , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview