SAP Knowledge Base Article - Preview

3738583 - RAP BO contract test reports error for associations with hard-coded conditions in on when target has unmanaged query

Symptom

  • The RAP BO contract validation test (CL_CI_RAP_BO_CONTRACT_TESTS) reports an error when a CDS association uses a hard-coded/literal condition in its ON clause:
    • Error message: "RAP Contract Precondition failed".
  • The issue is detected by a pre-check in CL_SADL_EC_COMMON_CHECKS.


Read more...

Environment

ABAP platform

Product

ABAP platform all versions

Keywords

RAP BO contracts, CL_CI_RAP_BO_CONTRACT_TESTS, RAP Contract Precondition failed, SADL, CL_SADL_EC_COMMON_CHECKS, association ON clause, hard-coded condition, unmanaged query, @ObjectModel.query.implementedBy, CDS association, ABAP CDS, field mapping, navigation, precheck, ABAP platform , KBA , BC-ESI-ESF-BSA , Business Service Adaptation , 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.