P_SubscrpnProdSpec
P_SubscrpnProdSpec is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (mara, t134, crms4c_som_prcat, crms4d_som_spsd) and exposes 16 fields with key field SubscrpnProdSpecUUID.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| mara | Product | inner |
| t134 | ProductType | inner |
| crms4c_som_prcat | SubscriptionProductPurpose | left_outer |
| crms4d_som_spsd | SubscrpnProdSpec | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSPRODSPEC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscrpnProdSpecUUID | crms4d_som_spsd | subscrpnprodspecuuid | Sub. Prod. Data UUID |
| CreatedByUser | crms4d_som_spsd | createdbyuser | User Name | |
| CreationDateTime | crms4d_som_spsd | creationdatetime | Timestamp | |
| LastChangedByUser | crms4d_som_spsd | lastchangedbyuser | User Name | |
| LastChangeDateTime | crms4d_som_spsd | lastchangedatetime | Timestamp | |
| Product | crms4d_som_spsd | product | Product Sold | |
| ProductType | mara | mtart | Product Type | |
| ProductGroup | mara | matkl | Product Sold Group | |
| AuthorizationGroup | mara | begru | AuthorizGroup | |
| ProductUUID | mara | scm_matid_guid16 | Product | |
| ProductIsConfigurable | mara | kzkfg | Origin of config | |
| BaseUnit | mara | meins | Valuation Unit | |
| CABillgCycle | mara | som_cycle | Billing Cycle | |
| SubscrpnProdBillgCycDetn | mara | som_cycle_rule | Billing Cycle Determ | |
| ContractAutoRenewalType | mara | som_ctr_autorenewal | Ctr. Auto Renew Ind. | |
| SubscrpnProdTechRsceIsActive | crms4d_som_spsd | subscrpnprodtechrsceisactive | Active Tec. Resource |
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 P_SubscrpnProdSpec.
-- 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: PSPRODSPEC
CREATE VIEW P_SubscrpnProdSpec 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,
Product.mtart AS ProductType,
Product.matkl AS ProductGroup,
Product.begru AS AuthorizationGroup,
Product.scm_matid_guid16 AS ProductUUID,
Product.kzkfg AS ProductIsConfigurable,
Product.meins AS BaseUnit,
Product.som_cycle AS CABillgCycle,
Product.som_cycle_rule AS SubscrpnProdBillgCycDetn,
Product.som_ctr_autorenewal AS ContractAutoRenewalType,
SubscrpnProdSpec.subscrpnprodtechrsceisactive AS SubscrpnProdTechRsceIsActive
FROM crms4d_som_spsd AS SubscrpnProdSpec
INNER JOIN mara AS Product ON /* join condition not captured in parsed metadata */
INNER JOIN t134 AS ProductType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN crms4c_som_prcat AS SubscriptionProductPurpose ON /* join condition not captured in parsed metadata */
;
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