I_DefectCauseCodeGroup

DDL: I_DEFECTCAUSECODEGROUP SQL: IDEFCACODEGRP Type: view BASIC

Defect Cause Code Group

I_DefectCauseCodeGroup is a Basic CDS View that provides data about "Defect Cause Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 4 fields with key field DefectCauseCodeGroup. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
qpgr qpgr from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_DefectCauseCodeGroupText _Text $projection.DefectCauseCodeGroup = _Text.DefectCauseCodeGroup
[0..*] I_DefectCauseCode _DefectCauseCode $projection.DefectCauseCodeGroup = _DefectCauseCode.DefectCauseCodeGroup

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IDEFCACODEGRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Defect Cause Code Group view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey DefectCauseCodeGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DefectCauseCodeGroup
CodeGroupStatus qpgr status Workflow Status
_Text _Text
_DefectCauseCode _DefectCauseCode

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 I_DefectCauseCodeGroup.
-- 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: IDEFCACODEGRP

CREATE VIEW I_DefectCauseCodeGroup AS
SELECT
  cast( qpgr.codegruppe as vdm_qfecausegrp preserving type ) AS DefectCauseCodeGroup,
  qpgr.status AS CodeGroupStatus
FROM qpgr
LEFT OUTER JOIN I_DefectCauseCodeGroupText AS _Text ON DefectCauseCodeGroup = _Text.DefectCauseCodeGroup  -- association [0..*]
LEFT OUTER JOIN I_DefectCauseCode AS _DefectCauseCode ON DefectCauseCodeGroup = _DefectCauseCode.DefectCauseCodeGroup  -- association [0..*]
;