SAP Knowledge Base Article - Preview

3626455 - SYNTAX_ERROR CL_RSODP_ODATA_V4_CDI_BASE====CP

Symptom

ST22 dump below occurs (for example during publishing OData):

Category               ABAP programming error
Runtime Errors         SYNTAX_ERROR
ABAP Program           CL_RSODP_ODATA_V4_CDI_BASE====CP
Application Component  BW-WHM-DBA-ODA
Date and Time          23.06.2025 11:45:03 (CET)
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Short Text                                                                                        |
|    Syntax error in program "CL_RSODP_ODATA_V4_CDI_BASE====CP        ".                           |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|What happened?                                                                                    |
|    Error in the ABAP application program.                                                        |
|                                                                                                  |
|    The current ABAP program "CL_RSODP_ODATA_V4_REPO========CP" had to be                         |
|     terminated because it found a                                                                |
|    statement that could not be executed.                                                         |
|    In include "CL_RSODP_ODATA_V4_CDI_BASE====CM007     ", in line 76 of program                  |
|     "CL_RSODP_ODATA_V4_CDI_BASE====CP        ", the following syntax errors                      |
|    have occurred:                                                                                |
|    The parameter name can be omitted only if the method has only one non-                        |
|    optional IMPORTING parameter or one optional IMPORTING parameter ident                        |
|    ified by "PREFERRED PARAMETER".                                                               |
|                                                                                                  |
|                                                                                                  |
|    Author and last person to change the include are:                                             |
|    Author         SAP                                                                            |
|    Last changed by "SAP         "                                                                |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Error analysis                                                                                    |
|    The following syntax error has occurred in program                                            |
|     CL_RSODP_ODATA_V4_CDI_BASE====CP        :                                                    |
|    The parameter name can be omitted only if the method has only one non-                        |
|    optional IMPORTING parameter or one optional IMPORTING parameter ident                        |
|    ified by "PREFERRED PARAMETER".                                                               |
|    " "                                                                                           |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Trigger Location of Runtime Error                                                                 |
|    (Program)                               CL_RSODP_ODATA_V4_REPO========CP                      |
|    (Include)                               CL_RSODP_ODATA_V4_REPO========CM006                   |
|    (Row)                                   3                                                     |
|    (Module Type)                           (METHOD)                                              |
|    (Module Name)                           /IWBEP/IF_V4_SERVICE_REPO~GET_SERVICES                |
----------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------
|Source Code Extract                                                                               |
----------------------------------------------------------------------------------------------------
|Line |Code                                                                                        |
----------------------------------------------------------------------------------------------------
|    1|  METHOD /iwbep/if_v4_service_repo~get_services.                                            |
|    2|                                                                                            |
|>>>>>|    DATA(lr_odp_details) = cl_rsodp_odata_v4_cdi_base=>factory( iv_repository_id = iv_reposi|
|    4|                                                                                            |
|    5|    rt_service_info = lr_odp_details->get_odp_details( iv_language = iv_language ).         |
|    6|                                                                                            |
|    7|  ENDMETHOD.                                                                                |
----------------------------------------------------------------------------------------------------


Read more...

Environment

Operational Data Provider for ABAP CDS, HANA & BW

Product

SAP S/4HANA 2021

Keywords

SYNTAX_ERROR, CL_RSODP_ODATA_V4_CDI_BASE, CL_RSODP_ODATA_V4_REPO, /iwbep/if_v4_service_repo, cl_rsodp_odata_v4_cdi_base, get_odp_details , KBA , BW-WHM-DBA-ODA , Operational Data Provider for ABAP CDS, HANA & BW , 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.