SAP Knowledge Base Article - Preview

3597801 - WDA: ASSERTION_FAILED runtime error for CL_WDR_ELEMENTARY_SEARCH_HELP=CP when clicking the F4 Help icon

Symptom

Using a Web Dynpro ABAP application (e.g. EAMS_WDA_ORDNTF_OIF) and clicking the F4 Help icon the below runtime error appears:

500 Internal Server Error

The ASSERT condition was violated.

In ST22 there is a corresponding dump as well:

Category                      ABAP programming error
Runtime Errors             ASSERTION_FAILED
ABAP: Program             CL_WDR_ELEMENTARY_SEARCH_HELP=CP
Application Component  BC-WD-ABA-RUN

Short Text
        The ASSERT condition was violated.

Information on where terminated
        The termination occurred in ABAP program or include
         "CL_WDR_ELEMENTARY_SEARCH_HELP=CP", in "GET_LIST_FIELD_LENGTHS". The
        main program was "SAPMHTTP".

        In the source code, the termination point is in line 12 of include
         "CL_WDR_ELEMENTARY_SEARCH_HELP=CM01H".
        include "CL_WDR_ELEMENTARY_SEARCH_HELP=CM01H".

Source Code Extract (Source code changed)

    Line        Code

        1        method get_list_field_lengths.
        2
        3          clear field_lengths.
        4
        5          field-symbols <fieldprop> like line of m_shlp-fieldprop.
        6          loop at m_shlp-fieldprop
        7             assigning <fieldprop>
        8             where shlplispos gt 0.
        9
       10            field-symbols <fielddescr> like line of m_shlp-fielddescr.
       11            read table m_shlp-fielddescr assigning <fielddescr> with key fieldname = <fieldprop>-fi                                                                                                                                        \
    eldname.
    >>>>>            assert sy-subrc = 0.


Read more...

Environment

SAP S/4HANA 2021 - 2023

Product

SAP S/4HANA 2021 ; SAP S/4HANA 2022 ; SAP S/4HANA 2023

Keywords

WDA, Web Dynpro ABAP, WDA_GDPR, EAMS_WDA_ORDNTF_OIF, ASSERTION_FAILED, CL_WDR_ELEMENTARY_SEARCH_HELP=CP, GET_LIST_FIELD_LENGTHS, F4, F4 Help, Help, clicking, click, icon, dump, runtime error, ST22 , KBA , EP-PCT-MAN-MW , BP for Maintenance Worker , BC-WD-ABA , Web Dynpro ABAP , 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.