A_SalesPricingConditionTable

DDL: A_SALESPRICINGCONDITIONTABLE Type: view_entity CONSUMPTION

Condition Tables

A_SalesPricingConditionTable is a Consumption CDS View that provides data about "Condition Tables" in SAP S/4HANA. It reads from 1 data source (R_SalesPricingConditionTable) and exposes 7 fields with key fields ConditionUsage, ConditionApplication, ConditionTable. It has 2 associations to related views. It is exposed through 1 OData service (API_SLSPRCGCONDITIONTABLE).

Data Sources (1)

SourceAliasJoin Type
R_SalesPricingConditionTable R_SalesPricingConditionTable projection

Associations (2)

CardinalityTargetAliasCondition
[0..*] A_SlsPrcgConditionTableField _SlsPrcgConditionTableField $projection.ConditionUsage = _SlsPrcgConditionTableField.ConditionUsage and $projection.ConditionApplication = _SlsPrcgConditionTableField.ConditionApplication and $projection.ConditionTable = _SlsPrcgConditionTableField.ConditionTable
[0..*] A_SlsPricingConditionTableText _Text $projection.ConditionUsage = _Text.ConditionUsage and $projection.ConditionApplication = _Text.ConditionApplication and $projection.ConditionTable = _Text.ConditionTable

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Condition Tables view

OData Services (1)

ServiceBindingVersionContractRelease
API_SLSPRCGCONDITIONTABLE API_SLSPRCGCONDITIONTABLE V4 C2 C1

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ConditionUsage ConditionUsage Usage
KEY ConditionApplication ConditionApplication Application
KEY ConditionTable ConditionTable Condition Table
PrcgCndnTableHasValidityPeriod PrcgCndnTableHasValidityPeriod
PrcgCndnTableHasReleaseStatus PrcgCndnTableHasReleaseStatus
_SlsPrcgConditionTableField _SlsPrcgConditionTableField
_Text _Text

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view A_SalesPricingConditionTable.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW A_SalesPricingConditionTable AS
SELECT
  ConditionUsage,
  ConditionApplication,
  ConditionTable,
  PrcgCndnTableHasValidityPeriod,
  PrcgCndnTableHasReleaseStatus
FROM R_SalesPricingConditionTable
LEFT OUTER JOIN A_SlsPrcgConditionTableField AS _SlsPrcgConditionTableField ON ConditionUsage = _SlsPrcgConditionTableField.ConditionUsage AND ConditionApplication = _SlsPrcgConditionTableField.ConditionApplication AND ConditionTable = _SlsPrcgConditionTableField.ConditionTable  -- association [0..*]
LEFT OUTER JOIN A_SlsPricingConditionTableText AS _Text ON ConditionUsage = _Text.ConditionUsage AND ConditionApplication = _Text.ConditionApplication AND ConditionTable = _Text.ConditionTable  -- association [0..*]
;