SAP Knowledge Base Article - Public

3682253 - Unable to access custom pricing condition tables A503 and A504 in custom CDS views or RAP applications – SAP S/4HANA Cloud Public Edition

Symptom

Attempt to consume data from custom pricing condition tables A503 and A504 in a custom RAP application but these tables are not available for selection as data sources when creating a Custom CDS View.

Environment

  • Sales and Distribution (SD)
  • SAP S/4HANA Cloud Public Edition

Cause

As per current SAP Standard Behavior, tables A503 and A504 are Internal Pricing tables that are not released under Contract C1. Unreleased artifacts cannot be used as data sources in custom CDS Views or referenced in RAP applications. In S/4HANA Cloud Public Edition, only released CDS Views and public APIs are permitted for use in custom development to ensure system stability and upgrade safety.

Resolution

  • If the required condition tables are released under Contract C1 they can be used in a Custom CDS View by following these steps:
    1. Create a Custom CDS View,
    2. Use I_SlsPrcgConditionRecord as the primary data source, and
    3. Add/extend the required associated data sources so the custom fields from A503/A504 are projected into the final view.
  • If the tables A503/A504 are not released under Contract C1 (current SAP standard behavior) they cannot be used in custom development. In this case, only the following supported options exist:
    1. Use released pricing CDS views or public APIs (for example, I_SlsPrcgConditionRecord or API_SLSPRICINGCONDITIONRECORD_SRV). These artefacts expose standard condition data that is safe for use in ABAP Cloud.
    2. Create a Custom CDS View based on released sources only. Custom CDS Views can extend or project fields from released entities but cannot include non-released tables such as A503/A504.
    3. Use Custom Fields & Logic extensibility to add the required fields in the relevant business context and extend the released CDS or API.
    4. Submit an enhancement request asking SAP to release the custom condition tables or fields in a future CDS/API version. Refer to KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Public Edition - SAP for Me.

See Also

KBA 2963059 - How to Submit Feature Requests for SAP S/4HANA Cloud Public Edition - SAP for Me

Keywords

A503, A504, custom pricing table, Contract C1, not released, CDS view, RAP, I_SlsPrcgConditionRecord, API_SLSPRICINGCONDITIONRECORD_SRV, ABAP Cloud, developer extensibility, pricing condition record, condition table, custom fields, S/4HANA Cloud Public Edition, enhancement request, internal table , KBA , SD-MD-CM-2CL , Conditions and Condition Maintainance (Public Cloud) , SD-MD , Master Data , Problem

Product

SAP S/4HANA Cloud Public Edition 2508