A_SubscrpnContrItmPrElmnt
Subscription Contract Item Pricing Element
A_SubscrpnContrItmPrElmnt is a Consumption CDS View that provides data about "Subscription Contract Item Pricing Element" in SAP S/4HANA. It reads from 2 data sources (I_PricingElement, I_ServiceDocumentEnhcd) and exposes 19 fields with key fields SubscriptionContract, SubscriptionContractItem, PricingProcedureStep, PricingProcedureCounter. It has 2 associations to related views. It is exposed through 1 OData service (API_SUBSCRIPTIONCONTRACT).
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_PricingElement | PricingElement | from |
| I_ServiceDocumentEnhcd | SubscriptionContract | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | A_SubscriptionContract | _SubscriptionContract | $projection.SubscriptionContract = _SubscriptionContract.SubscriptionContract |
| [0..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.ConditionQuantityUnit = _UnitOfMeasure.UnitOfMeasure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Subscription Contract Item Pricing Element | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.createEnabled | false | view | |
| ObjectModel.updateEnabled | false | view | |
| ObjectModel.deleteEnabled | false | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_SUBSCRIPTIONCONTRACT | API_SUBSCRIPTIONCONTRACT | V2 | C2 | C1 |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | I_ServiceDocumentEnhcd | ServiceDocument | Transaction ID |
| KEY | SubscriptionContractItem | I_PricingElement | PricingDocumentItem | Item |
| KEY | PricingProcedureStep | I_PricingElement | PricingProcedureStep | Step Number |
| KEY | PricingProcedureCounter | I_PricingElement | PricingProcedureCounter | Pricing Procedure Counter |
| ConditionType | I_PricingElement | ConditionType | Condition type | |
| ConditionRateValue | I_PricingElement | ConditionRateValue | Condition Rate Value | |
| ConditionCurrency | I_PricingElement | ConditionCurrency | Currency | |
| ConditionQuantity | I_PricingElement | ConditionQuantity | Pricing Unit | |
| ConditionQuantityISOUnit | _UnitOfMeasure | UnitOfMeasureISOCode | ||
| ConditionQuantitySAPUnit | _UnitOfMeasure | UnitOfMeasureSAPCode | ||
| ConditionQuantityUnit | I_PricingElement | ConditionQuantityUnit | Unit of Measure | |
| ConditionIsForConfiguration | I_PricingElement | ConditionIsForConfiguration | UsedfVarConfig | |
| VariantCondition | I_PricingElement | VariantCondition | Variant Key | |
| ConditionIsForStatistics | I_PricingElement | ConditionIsForStatistics | Statistical | |
| ConditionIsManuallyChanged | I_PricingElement | ConditionIsManuallyChanged | Changed Manual. | |
| ConditionOrigin | I_PricingElement | ConditionOrigin | Condit.Origin | |
| ConditionClass | I_PricingElement | ConditionClass | Condition Class | |
| ConditionCalculationType | I_PricingElement | ConditionCalculationType | Calculat.Type | |
| _SubscriptionContract | _SubscriptionContract |
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_SubscrpnContrItmPrElmnt.
-- 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_SubscrpnContrItmPrElmnt AS
SELECT
SubscriptionContract.ServiceDocument AS SubscriptionContract,
PricingElement.PricingDocumentItem AS SubscriptionContractItem,
PricingElement.PricingProcedureStep AS PricingProcedureStep,
PricingElement.PricingProcedureCounter AS PricingProcedureCounter,
PricingElement.ConditionType AS ConditionType,
PricingElement.ConditionRateValue AS ConditionRateValue,
PricingElement.ConditionCurrency AS ConditionCurrency,
PricingElement.ConditionQuantity AS ConditionQuantity,
_UnitOfMeasure.UnitOfMeasureISOCode AS ConditionQuantityISOUnit,
_UnitOfMeasure.UnitOfMeasureSAPCode AS ConditionQuantitySAPUnit,
PricingElement.ConditionQuantityUnit AS ConditionQuantityUnit,
PricingElement.ConditionIsForConfiguration AS ConditionIsForConfiguration,
PricingElement.VariantCondition AS VariantCondition,
PricingElement.ConditionIsForStatistics AS ConditionIsForStatistics,
PricingElement.ConditionIsManuallyChanged AS ConditionIsManuallyChanged,
PricingElement.ConditionOrigin AS ConditionOrigin,
PricingElement.ConditionClass AS ConditionClass,
PricingElement.ConditionCalculationType AS ConditionCalculationType
FROM I_PricingElement AS PricingElement
INNER JOIN I_ServiceDocumentEnhcd AS SubscriptionContract ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN A_SubscriptionContract AS _SubscriptionContract ON SubscriptionContract = _SubscriptionContract.SubscriptionContract -- association [1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON ConditionQuantityUnit = _UnitOfMeasure.UnitOfMeasure -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA