C_SubscrpnProdSpecTP
Consumption view for Subscription Product Specification
C_SubscrpnProdSpecTP is a Consumption CDS View that provides data about "Consumption view for Subscription Product Specification" in SAP S/4HANA. It reads from 1 data source (I_SubscrpnProdSpecTP) and exposes 43 fields with key field SubscrpnProdSpecUUID. It has 20 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SubscrpnProdSpecTP | SubscrpnProdSpec | from |
Associations (20)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Product | _Product | _Product.Product = $projection.Product |
| [1..1] | I_Producttype | _ProductType | _ProductType.ProductType = $projection.ProductType |
| [0..1] | I_ProductGroup | _ProductGroup | _ProductGroup.MaterialGroup = $projection.ProductGroup |
| [0..1] | I_ProductDescription | _ProductDescription | _ProductDescription.Product = $projection.Product and _ProductDescription.Language = $session.system_language |
| [0..1] | I_ProductTypeText | _ProductTypeName | _ProductTypeName.ProductType = $projection.ProductType and _ProductTypeName.Language = $session.system_language |
| [0..1] | C_SubscrpnProdSpecVH | _SubscrpnProdSpecVH | _SubscrpnProdSpecVH.Product = $projection.SubscrpnProductSpecification |
| [0..1] | C_SubscrpnProdWthoutSpecVH | _SubscrpnProdWthoutSpecVH | _SubscrpnProdWthoutSpecVH.Product = $projection.Product |
| [0..1] | C_SubscrpnProductTypeVH | _SubscrpnProductTypeVH | _SubscrpnProductTypeVH.ProductType = $projection.ProductType |
| [0..*] | C_SubscrpnProductChargeTP | _SubscrpnProductChargeTP | _SubscrpnProductChargeTP.SubscrpnProdSpecUUID = $projection.SubscrpnProdSpecUUID |
| [0..*] | C_SubscrpnProdDiscountTP | _SubscrpnProdDiscountTP | _SubscrpnProdDiscountTP.SubscrpnProdSpecUUID = $projection.SubscrpnProdSpecUUID |
| [0..*] | C_CrsCtlgMappingVersionTP | _CrsCtlgMappingVersionTP | _CrsCtlgMappingVersionTP.SubscrpnProdSpecUUID = $projection.SubscrpnProdSpecUUID |
| [0..1] | I_UnitOfMeasureText | _BaseUnitOfMeasureText | _BaseUnitOfMeasureText.UnitOfMeasure = $projection.BaseUnit and _BaseUnitOfMeasureText.Language = $session.system_language |
| [0..1] | I_CABillgCycleText | _CABillgCycleText | _CABillgCycleText.CABillgCycle = $projection.CABillgCycle and _CABillgCycleText.Language = $session.system_language |
| [0..1] | I_SubsProdBillgCycDetnText | _SubsProdBillgCycDetnText | _SubsProdBillgCycDetnText.SubscrpnProdBillgCycDetn = $projection.SubscrpnProdBillgCycDetn and _SubsProdBillgCycDetnText.Language = $session.system_language |
| [0..*] | C_SubscrpnProdSlsDelivery | _SubscrpnProdSlsDelivery | _SubscrpnProdSlsDelivery.Product = $projection.Product |
| [0..*] | C_SubscrpnSharingProductTP | _SubscrpnSharingProductTP | _SubscrpnSharingProductTP.SubscrpnProdSpecUUID = $projection.SubscrpnProdSpecUUID |
| [0..1] | C_SubscrpnProductPurposeVH | _SubscrpnProductPurposeVH | _SubscrpnProductPurposeVH.SubscriptionProductPurpose = $projection.SubscriptionProductPurpose |
| [0..*] | C_SubscrpnProdDepdntItmTypeTP | _SubscrpnProdDepdntItmTypeTP | _SubscrpnProdDepdntItmTypeTP.SubscrpnProdSpecUUID = $projection.SubscrpnProdSpecUUID |
| [0..1] | I_SOM_ContrAutoRnwlTypeT | _SOM_ContrAutoRnwlTypeT | _SOM_ContrAutoRnwlTypeT.ContractAutoRenewalType = $projection.ContractAutoRenewalType and _SOM_ContrAutoRnwlTypeT.Language = $session.system_language |
| [0..1] | C_SubscrpnProdTechRsceSchemaVH | _SubscrpnProdTechRsceSchemaVH | _SubscrpnProdTechRsceSchemaVH.SubscrpnProdTechRsceSchema = $projection.SubscrpnProdTechRsceSchema |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSPRODSPECTP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | Consumption view for Subscription Product Specification | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.transactionalProcessingDelegated | true | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.createEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.deleteEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.updateEnabled | EXTERNAL_CALCULATION | view | |
| ObjectModel.draftEnabled | true | view | |
| AccessControl.authorizationCheck | #CHECK | view |
Fields (43)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscrpnProdSpecUUID | I_SubscrpnProdSpecTP | SubscrpnProdSpecUUID | Sub. Prod. Data UUID |
| CreatedByUser | I_SubscrpnProdSpecTP | CreatedByUser | User Name | |
| CreationDateTime | I_SubscrpnProdSpecTP | CreationDateTime | Timestamp | |
| LastChangedByUser | I_SubscrpnProdSpecTP | LastChangedByUser | User Name | |
| LastChangeDateTime | I_SubscrpnProdSpecTP | LastChangeDateTime | Timestamp | |
| Product | I_SubscrpnProdSpecTP | Product | Product Sold | |
| SubscrpnProductSpecification | I_SubscrpnProdSpecTP | Product | Product Sold | |
| ProductType | I_SubscrpnProdSpecTP | ProductType | Product Type Group | |
| ProductGroup | I_SubscrpnProdSpecTP | ProductGroup | Product Group | |
| AuthorizationGroup | I_SubscrpnProdSpecTP | AuthorizationGroup | Authorization Group | |
| SubscrpnProdTechRsceSchema | I_SubscrpnProdSpecTP | SubscrpnProdTechRsceSchema | Assignment Schema | |
| ProductDescription | _ProductDescription | ProductDescription | Description | |
| ProductTypeName | _ProductTypeName | MaterialTypeName | Product Type Description | |
| CreatedByUserName | Created By Description | |||
| LastChangedByUserName | Changed By Description | |||
| SubscrpnProdTechRsceSchemaText | Assignment Schema Description | |||
| MaterialIsMarkedForDeletion | _Product | IsMarkedForDeletion | Purch.org. data | |
| ProductIsConfigurable | I_SubscrpnProdSpecTP | ProductIsConfigurable | Configurable | |
| BaseUnit | I_SubscrpnProdSpecTP | BaseUnit | Unit of Measure | |
| CABillgCycle | I_SubscrpnProdSpecTP | CABillgCycle | Billing Cycle | |
| SubscrpnProdBillgCycDetn | I_SubscrpnProdSpecTP | SubscrpnProdBillgCycDetn | Billing Cycle Determ | |
| SubscriptionProductPurpose | I_SubscrpnProdSpecTP | SubscriptionProductPurpose | ||
| ContractAutoRenewalType | I_SubscrpnProdSpecTP | ContractAutoRenewalType | Ctr. Auto Renew Ind. | |
| _Product | _Product | |||
| _ProductType | _ProductType | |||
| _ProductGroup | _ProductGroup | |||
| _SubscrpnProdSpecVH | _SubscrpnProdSpecVH | |||
| _SubscrpnProductTypeVH | _SubscrpnProductTypeVH | |||
| _SubscrpnProdWthoutSpecVH | _SubscrpnProdWthoutSpecVH | |||
| _CreatedByUserContactCard | _CreatedByUserContactCard | |||
| _LastChangedByUserContactCard | _LastChangedByUserContactCard | |||
| _BaseUnitOfMeasureText | _BaseUnitOfMeasureText | |||
| _CABillgCycleText | _CABillgCycleText | |||
| _SubsProdBillgCycDetnText | _SubsProdBillgCycDetnText | |||
| _SubscrpnProdSlsDelivery | _SubscrpnProdSlsDelivery | |||
| _SubscrpnProductPurposeVH | _SubscrpnProductPurposeVH | |||
| _SOM_ContrAutoRnwlTypeT | _SOM_ContrAutoRnwlTypeT | |||
| _SubscrpnProdTechRsceSchemaVH | _SubscrpnProdTechRsceSchemaVH | |||
| _SubscrpnProductChargeTP | _SubscrpnProductChargeTP | |||
| _SubscrpnProdDiscountTP | _SubscrpnProdDiscountTP | |||
| _CrsCtlgMappingVersionTP | _CrsCtlgMappingVersionTP | |||
| _SubscrpnSharingProductTP | _SubscrpnSharingProductTP | |||
| _SubscrpnProdDepdntItmTypeTP | _SubscrpnProdDepdntItmTypeTP |
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 C_SubscrpnProdSpecTP.
-- 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.
-- SQL view name: CSPRODSPECTP
CREATE VIEW C_SubscrpnProdSpecTP AS
SELECT
SubscrpnProdSpec.SubscrpnProdSpecUUID AS SubscrpnProdSpecUUID,
SubscrpnProdSpec.CreatedByUser AS CreatedByUser,
SubscrpnProdSpec.CreationDateTime AS CreationDateTime,
SubscrpnProdSpec.LastChangedByUser AS LastChangedByUser,
SubscrpnProdSpec.LastChangeDateTime AS LastChangeDateTime,
SubscrpnProdSpec.Product AS Product,
SubscrpnProdSpec.Product AS SubscrpnProductSpecification,
SubscrpnProdSpec.ProductType AS ProductType,
SubscrpnProdSpec.ProductGroup AS ProductGroup,
SubscrpnProdSpec.AuthorizationGroup AS AuthorizationGroup,
SubscrpnProdSpec.SubscrpnProdTechRsceSchema AS SubscrpnProdTechRsceSchema,
_ProductDescription.ProductDescription AS ProductDescription,
_ProductTypeName.MaterialTypeName AS ProductTypeName,
SubscrpnProdSpec._CreatedByUser.UserDescription AS CreatedByUserName,
SubscrpnProdSpec._LastChangedByUser.UserDescription AS LastChangedByUserName,
_SubsProdTechRsceSchema._SubsProdTechRsceSchmText[1: Language=$session.system_language].SubscrpnProdTechRsceSchemaText AS SubscrpnProdTechRsceSchemaText,
_Product.IsMarkedForDeletion AS MaterialIsMarkedForDeletion,
SubscrpnProdSpec.ProductIsConfigurable AS ProductIsConfigurable,
SubscrpnProdSpec.BaseUnit AS BaseUnit,
SubscrpnProdSpec.CABillgCycle AS CABillgCycle,
SubscrpnProdSpec.SubscrpnProdBillgCycDetn AS SubscrpnProdBillgCycDetn,
SubscrpnProdSpec.SubscriptionProductPurpose AS SubscriptionProductPurpose,
SubscrpnProdSpec.ContractAutoRenewalType AS ContractAutoRenewalType
FROM I_SubscrpnProdSpecTP AS SubscrpnProdSpec
LEFT OUTER JOIN I_Product AS _Product ON _Product.Product = Product -- association [0..1]
LEFT OUTER JOIN I_Producttype AS _ProductType ON _ProductType.ProductType = ProductType -- association [1..1]
LEFT OUTER JOIN I_ProductGroup AS _ProductGroup ON _ProductGroup.MaterialGroup = ProductGroup -- association [0..1]
LEFT OUTER JOIN I_ProductDescription AS _ProductDescription ON _ProductDescription.Product = Product AND _ProductDescription.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_ProductTypeText AS _ProductTypeName ON _ProductTypeName.ProductType = ProductType AND _ProductTypeName.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdSpecVH AS _SubscrpnProdSpecVH ON _SubscrpnProdSpecVH.Product = SubscrpnProductSpecification -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdWthoutSpecVH AS _SubscrpnProdWthoutSpecVH ON _SubscrpnProdWthoutSpecVH.Product = Product -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProductTypeVH AS _SubscrpnProductTypeVH ON _SubscrpnProductTypeVH.ProductType = ProductType -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProductChargeTP AS _SubscrpnProductChargeTP ON _SubscrpnProductChargeTP.SubscrpnProdSpecUUID = SubscrpnProdSpecUUID -- association [0..*]
LEFT OUTER JOIN C_SubscrpnProdDiscountTP AS _SubscrpnProdDiscountTP ON _SubscrpnProdDiscountTP.SubscrpnProdSpecUUID = SubscrpnProdSpecUUID -- association [0..*]
LEFT OUTER JOIN C_CrsCtlgMappingVersionTP AS _CrsCtlgMappingVersionTP ON _CrsCtlgMappingVersionTP.SubscrpnProdSpecUUID = SubscrpnProdSpecUUID -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasureText AS _BaseUnitOfMeasureText ON _BaseUnitOfMeasureText.UnitOfMeasure = BaseUnit AND _BaseUnitOfMeasureText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CABillgCycleText AS _CABillgCycleText ON _CABillgCycleText.CABillgCycle = CABillgCycle AND _CABillgCycleText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_SubsProdBillgCycDetnText AS _SubsProdBillgCycDetnText ON _SubsProdBillgCycDetnText.SubscrpnProdBillgCycDetn = SubscrpnProdBillgCycDetn AND _SubsProdBillgCycDetnText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdSlsDelivery AS _SubscrpnProdSlsDelivery ON _SubscrpnProdSlsDelivery.Product = Product -- association [0..*]
LEFT OUTER JOIN C_SubscrpnSharingProductTP AS _SubscrpnSharingProductTP ON _SubscrpnSharingProductTP.SubscrpnProdSpecUUID = SubscrpnProdSpecUUID -- association [0..*]
LEFT OUTER JOIN C_SubscrpnProductPurposeVH AS _SubscrpnProductPurposeVH ON _SubscrpnProductPurposeVH.SubscriptionProductPurpose = SubscriptionProductPurpose -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdDepdntItmTypeTP AS _SubscrpnProdDepdntItmTypeTP ON _SubscrpnProdDepdntItmTypeTP.SubscrpnProdSpecUUID = SubscrpnProdSpecUUID -- association [0..*]
LEFT OUTER JOIN I_SOM_ContrAutoRnwlTypeT AS _SOM_ContrAutoRnwlTypeT ON _SOM_ContrAutoRnwlTypeT.ContractAutoRenewalType = ContractAutoRenewalType AND _SOM_ContrAutoRnwlTypeT.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_SubscrpnProdTechRsceSchemaVH AS _SubscrpnProdTechRsceSchemaVH ON _SubscrpnProdTechRsceSchemaVH.SubscrpnProdTechRsceSchema = SubscrpnProdTechRsceSchema -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- 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