A_PrSpCompExcptnCodeByCmpstn

DDL: A_PRSPCOMPEXCPTNCODEBYCMPSTN SQL: APRSEXCCMPSTN Type: view COMPOSITE Package: VDM_PLMB_SPC_API_OP

Exception Code for Components by Cmpstn

A_PrSpCompExcptnCodeByCmpstn is a Composite CDS View that provides data about "Exception Code for Components by Cmpstn" in SAP S/4HANA. It reads from 1 data source (I_PrSpCompExcptnCodeByCmpstn) and exposes 4 fields with key fields ProdSpecCompositionType, ProdSpecComponentExceptionCode. It has 2 associations to related views. It is exposed through 1 OData service (API_PRODSPECCMPSTNCONFIGN). Part of development package VDM_PLMB_SPC_API_OP.

Data Sources (1)

SourceAliasJoin Type
I_PrSpCompExcptnCodeByCmpstn I_PrSpCompExcptnCodeByCmpstn from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_ProdSpecCompositionTypeAll _ProdSpecCompositionTypeAll $projection.ProdSpecCompositionType = _ProdSpecCompositionTypeAll.ProdSpecCompositionType
[0..*] A_ProdSpecCompExceptionCodeT _ProdSpecCompExceptionCodeText $projection.ProdSpecComponentExceptionCode = _ProdSpecCompExceptionCodeText.ProdSpecComponentExceptionCode

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName APRSEXCCMPSTN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #COMPOSITE view
EndUserText.label Exception Code for Components by Cmpstn view

OData Services (1)

ServiceBindingVersionContractRelease
API_PRODSPECCMPSTNCONFIGN API_PRODSPECCMPSTNCONFIGN V2 C2 C1

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY ProdSpecCompositionType ProdSpecCompositionType
KEY ProdSpecComponentExceptionCode ProdSpecComponentExceptionCode
_ProdSpecCompositionTypeAll _ProdSpecCompositionTypeAll
_ProdSpecCompExceptionCodeText _ProdSpecCompExceptionCodeText

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 A_PrSpCompExcptnCodeByCmpstn.
-- 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: APRSEXCCMPSTN

CREATE VIEW A_PrSpCompExcptnCodeByCmpstn AS
SELECT
  ProdSpecCompositionType,
  ProdSpecComponentExceptionCode
FROM I_PrSpCompExcptnCodeByCmpstn
LEFT OUTER JOIN A_ProdSpecCompositionTypeAll AS _ProdSpecCompositionTypeAll ON ProdSpecCompositionType = _ProdSpecCompositionTypeAll.ProdSpecCompositionType  -- association [1..1]
LEFT OUTER JOIN A_ProdSpecCompExceptionCodeT AS _ProdSpecCompExceptionCodeText ON ProdSpecComponentExceptionCode = _ProdSpecCompExceptionCodeText.ProdSpecComponentExceptionCode  -- association [0..*]
;