P_SpecAPICustomDefinedAttrib

DDL: P_SPECAPICUSTOMDEFINEDATTRIB SQL: PSPCAPICUSDA Type: view COMPOSITE

P_SpecAPICustomDefinedAttrib is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (I_ProdSpecCompositionTypeAll, I_SpecCstmPropertyDefinition, I_SpecStdCompositionDefinition) and exposes 23 fields with key fields ProdSpecCompositionType, IsCustomComposition, IsProperty, IsCustomComposition, IsProperty.

Data Sources (3)

SourceAliasJoin Type
I_ProdSpecCompositionTypeAll I_ProdSpecCompositionTypeAll from
I_SpecCstmPropertyDefinition I_SpecCstmPropertyDefinition union
I_SpecStdCompositionDefinition I_SpecStdCompositionDefinition union

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PSPCAPICUSDA view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #NONE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ProdSpecCompositionType ProdSpecCompositionType Composition Type
KEY IsCustomComposition
KEY IsProperty
ProdSpecCompositionCategory ProdSpecCompositionCategory
ProdSpecCmpstnHdrValAssgmtType ProdSpecCmpstnHdrValAssgmtType Value Asm. Type
ProdSpecCmpstnHdrRating ProdSpecCmpstnHdrRating Rating
ProdSpecCmpstnHdrValidityArea ProdSpecCmpstnHdrValidityArea Validity Area
ProdSpecCmpstnSpecType ProdSpecCmpstnSpecType Specification Type
KEY IsCustomComposition
KEY IsProperty
ProdSpecCompositionCategory
ProdSpecCmpstnHdrValAssgmtType ProdSpecCmpstnHdrValAssgmtType Value Asm. Type
ProdSpecCmpstnHdrRating ProdSpecCmpstnHdrRating Rating
ProdSpecCmpstnHdrValidityArea ProdSpecCmpstnHdrValidityArea Validity Area
ProdSpecCmpstnSpecType ProdSpecCmpstnSpecType Specification Type
KEY IsCustomComposition
KEY IsProperty
ProdSpecCompositionCategory
ProdSpecCmpstnHdrValAssgmtType ProdSpecPrptyDefValAssgmtType Value Asm. Type
ProdSpecCmpstnHdrRating ProdSpecPrptyDefRating Rating
ProdSpecCmpstnHdrValidityArea ProdSpecPrptyDefValidityArea Validity Area
ProdSpecCmpstnSpecType Specification Type
ProdSpecCmpstnGroupSpecType

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_SpecAPICustomDefinedAttrib.
-- 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: PSPCAPICUSDA

CREATE VIEW P_SpecAPICustomDefinedAttrib AS
SELECT
  ProdSpecCompositionType,
  cast('X' as char1 preserving type) AS IsCustomComposition,
  cast(' ' as char1 preserving type) AS IsProperty,
  ProdSpecCompositionCategory,
  ProdSpecCmpstnHdrValAssgmtType,
  ProdSpecCmpstnHdrRating,
  ProdSpecCmpstnHdrValidityArea,
  ProdSpecCmpstnSpecType,
  ' ' AS ProdSpecCmpstnGroupSpecType
FROM I_ProdSpecCompositionTypeAll
-- UNION with additional select branch(es): I_SpecStdCompositionDefinition, I_SpecCstmPropertyDefinition
;