SAP Knowledge Base Article - Preview

3556507 - OBJECTS_NOT_CHARLIKE /IWCOR/CL_DS_EP_WRITER_XML====CP

Symptom

ODP (Operational Data Provider) related OData hits dump:

Category               ABAP programming error
Runtime Errors         OBJECTS_NOT_CHARLIKE
ABAP: Program          /IWCOR/CL_DS_EP_WRITER_XML====CP
Application Component  OPU-FND-CCL
Date and Time          29.08.2024 11:03:18 (CET)

|   30|    LOOP AT it_property ASSIGNING <property>.                                               |
|   31|      IF <property>-simple IS BOUND.                                                        |
|   32|        CLEAR lv_uri_value.                                                                 |
|   33|        ASSIGN COMPONENT <property>-simple->component-index OF STRUCTURE is_data TO <value>.|
|   34|        TRY.                                                                                |
|   35|            CASE <property>-simple->type->id.                                               |
|   36|              WHEN /iwcor/if_ds_edm_simple_type=>gc_type_id_edm_string.                     |
|>>>>>|                dsedx_format_string                                                         |
|   38|                  lv_value                                 " rv_value       type string     |
|   39|                  <value>                                  " iv_value       type data       |
|   40|                  <property>-simple->facets.               " id_factes      type ref to /IWC|
|   41|                " key or etag                                                               |
|   42|                IF <property>-key_or_etag = abap_true.                                      |
|   43|                  dsedx_escape_uri_string                                                   |
|   44|                    lv_uri_value                           " rv_uri_value   type string     |
|   45|                    lv_value.                              " iv_value       type string     |
|   46|                ENDIF.                                                                      |


Read more...

Environment

SAP Gateway (OData)

Keywords

OBJECTS_NOT_CHARLIKE, /IWCOR/CL_DS_EP_WRITER_XML====CP, /IWCOR/CL_DS_EP_WRITER_XML, ODP, Operational Data Provider , KBA , OPU-FND-CCL , Consumer Connectivity Layer , OPU-GW-COR , Framework , BW-WHM-DBA-ODA , Operational Data Provider for ABAP CDS, HANA & BW , 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.