P_SubscrpnProdSpec

DDL: P_SUBSCRPNPRODSPEC SQL: PSPRODSPEC Type: view BASIC

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)

SourceAliasJoin Type
mara Product inner
t134 ProductType inner
crms4c_som_prcat SubscriptionProductPurpose left_outer
crms4d_som_spsd SubscrpnProdSpec from

Annotations (6)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;