P_SubscriptionProductPurpose

DDL: P_SUBSCRIPTIONPRODUCTPURPOSE SQL: PSPRURPOSE Type: view BASIC

P_SubscriptionProductPurpose is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (mara, t134) and exposes 2 fields with key field Product.

Data Sources (2)

SourceAliasJoin Type
mara Product from
t134 ProductType inner

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PSPRURPOSE view
AbapCatalog.preserveKey true 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 (2)

KeyFieldSource TableSource FieldDescription
KEY Product mara matnr Vehicle Model
ProductType mara mtart Product Type

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_SubscriptionProductPurpose.
-- 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: PSPRURPOSE

CREATE VIEW P_SubscriptionProductPurpose AS
SELECT
  Product.matnr AS Product,
  Product.mtart AS ProductType
FROM mara AS Product
INNER JOIN t134 AS ProductType ON /* join condition not captured in parsed metadata */
;