I_DefectCodeGroup

DDL: I_DEFECTCODEGROUP SQL: IDEFECTCODEGRP Type: view BASIC Package: VDM_QM_NOTIFICATION

Defect Code Group

I_DefectCodeGroup (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Manufacturing

I_DefectCodeGroup is a Basic CDS View (Dimension) that provides data about "Defect Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 4 fields with key field DefectCodeGroup. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F2649, ASQL_F4197). Part of development package VDM_QM_NOTIFICATION.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-QN-2CL
CapabilitiesData Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities,Analytical Dimension
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to the definition of code groups for catalog type 9 (Defects).</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpgr qpgr from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_DefectCodeGroupText _Text $projection.DefectCodeGroup = _Text.DefectCodeGroup
[0..*] I_DefectCode _DefectCode $projection.DefectCodeGroup = _DefectCode.DefectCodeGroup

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IDEFECTCODEGRP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Defect Code Group view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey DefectCodeGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F2649 ASQL_F2649 C2 NOT_RELEASED
ASQL_F4197 ASQL_F4197 C2 NOT_RELEASED

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DefectCodeGroup Defect Code Group
CodeGroupStatus qpgr status Status of Master Record
_Text _Text
_DefectCode _DefectCode

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_DefectCodeGroup.
-- 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: IDEFECTCODEGRP

CREATE VIEW I_DefectCodeGroup AS
SELECT
  cast( qpgr.codegruppe as vdm_qfegrp preserving type ) AS DefectCodeGroup,
  qpgr.status AS CodeGroupStatus
FROM qpgr
LEFT OUTER JOIN I_DefectCodeGroupText AS _Text ON DefectCodeGroup = _Text.DefectCodeGroup  -- association [0..*]
LEFT OUTER JOIN I_DefectCode AS _DefectCode ON DefectCodeGroup = _DefectCode.DefectCodeGroup  -- association [0..*]
;