SAP Knowledge Base Article - Preview

3799884 - ESI - ASSERTION_FAILED dump in /bobf/if_dac_legacy_mapping~map_keys_to_database during OData $batch with multiple changesets

Symptom

An ABAP dump is observed in transaction ST22 when sending an OData $batch request with multiple changesets to a service implemented via the SADL/CDS-BOPF framework. Processing the same entries one changeset at a time succeeds without error.

Category               ABAP programming error
Runtime Errors         ASSERTION_FAILED
ABAP Program           /BOBF/CL_TOOL_ASSERT==========CP
Application Component  BC-ESI-BOF

Short Text
    The ASSERT condition was violated.

Error Analysis
    The following checkpoint group was used: No checkpoint group specified

    If the FIELDS addition was used in the ASSERT statement, you can find
    the content of the first 8 fields specified in the following overview:
    (not used)

The call stack includes the following sequence:

/BOBF/CL_DAC_LEGACY_MAPPING -> /bobf/if_dac_legacy_mapping~map_keys_to_database
CL_SADL_BATCH_RUNTIME => IF_SADL_BATCH~MODIFY
CL_SADL_GW_GENERIC_DPC => IF_SADL_GW_DPC~PROCESS_CHANGESET
<Custom DPC class> => /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_PROCESS
/IWBEP/CL_MGW_ABS_DATA => /IWBEP/IF_MGW_CORE_SRV_RUNTIME~CHANGESET_PROCESS


Read more...

Environment

  • SAP NetWeaver AS ABAP 7.52 or higher
  • Custom BOPF business object with custom action, determination, or validation classes

Product

ABAP platform all versions ; SAP NetWeaver Application Server for ABAP innovation package all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions ; SAP Web Application Server for SAP S/4HANA all versions

Keywords

BOPF, SADL, CDS-BOPF, OData batch, $batch, ASSERT, /BOBF/CL_DAC_LEGACY_MAPPING, map_keys_to_database, changeset, ST22 dump, transactionalProcessingDelegated, transactionalProcessingEnabled, alternative key, persistence key mapping, message-location resolution , KBA , BC-ESI-BOF , BOPF Business Object Framework for 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.