SAP Knowledge Base Article - Preview

3388996 - ASSERTION_FAILED /IWBEP/CL_CP_CLIENT_PROXY=====CP

Symptom

Using local client proxy, and hits below st22 dump:

Category               ABAP programming error
Runtime Errors         ASSERTION_FAILED
ABAP Program           /IWBEP/CL_CP_CLIENT_PROXY=====CP
Application Component  OPU-GW-COR


    1      METHOD create_proxy_model.
    2    
    3        TEST-SEAM create_proxy_model_seam.
    4          IF iv_consumption_kind EQ /iwbep/if_cp_client_proxy_fw=>gcs_consumption_kind-remote.
    5            " Remote service consumption
    6            ro_proxy_model = /iwbep/cl_cp_pm_factory=>create_proxy_model( is_proxy_model_key ).
    7    
    8          ELSEIF iv_consumption_kind EQ /iwbep/if_cp_client_proxy_fw=>gcs_consumption_kind-local
    9            " Local service consumption
   10            IF iv_odata_version EQ /iwbep/if_cp_client_proxy_fw=>gcs_odata_version-v20.
   11              " Local V2 service consumption
>>>>>              ASSERT 1 = 0.
   13    *          ASSERT is_service_key_v2 IS NOT INITIAL. " Not yet implemented
   14    *          ro_proxy_model = /iwbep/cl_cp_pm_factory=>create_proxy_model_local_v2( is_service
   15    
   16            ELSEIF iv_odata_version EQ /iwbep/if_cp_client_proxy_fw=>gcs_odata_version-v40.
   17              " Local V4 service consumption
   18              ASSERT 1 = 0.
   19              " ASSERT is_v4_service_key IS NOT INITIAL. " Not yet implemented
   20              " /iwbep/cl_cp_todo=>todo( 'POC coding only' ).
   21              " DATA: ls_gw_v4_service_key TYPE /iwbep/s_v4_med_service_key.
   22              " MOVE-CORRESPONDING is_v4_service_key TO ls_gw_v4_service_key.
   23              " ro_proxy_model = /iwbep/cl_v4_med_model_factory=>create_model_for_design_time( l
   24    
   25            ENDIF.
   26    
   27          ENDIF.
   28    
   29        END-TEST-SEAM.
   30    
   31      ENDMETHOD.


Read more...

Environment

SAP_GWFND < 753 SP03

Product

SAP NetWeaver all versions

Keywords

ASSERTION_FAILED, /IWBEP/CL_CP_CLIENT_PROXY=====CP, /iwbep/if_cp_client_proxy_fw, create_proxy_model , KBA , OPU-GW-COR , Framework , OPU-GW-V4 , Gateway Framework, OData v4 , OPU-GW-CP , OData ClientProxy , 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.