I_DefectCodeGroupText

DDL: I_DEFECTCODEGROUPTEXT SQL: IDEFECTCODEGRPT Type: view BASIC

Defect Code Group - Text

I_DefectCodeGroupText (Basic)

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

Manufacturing

I_DefectCodeGroupText is a Basic CDS View that provides data about "Defect Code Group - Text" in SAP S/4HANA. It reads from 1 data source (qpgt) and exposes 4 fields with key fields DefectCodeGroup, Language. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-QN
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Language-Dependent Text
PackageManufacturing for SAP S/4HANA Cloud Private 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
qpgt qpgt from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_DefectCodeGroup _DefectCodeGroup $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IDEFECTCODEGRPT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Defect Code Group - Text view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey DefectCodeGroup view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #TEXT view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY DefectCodeGroup Defect Code Group
KEY Language qpgt sprache Language Key
DefectCodeGroupText Text for Defect Code Group
_DefectCodeGroup _DefectCodeGroup

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_DefectCodeGroupText.
-- 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: IDEFECTCODEGRPT

CREATE VIEW I_DefectCodeGroupText AS
SELECT
  cast( qpgt.codegruppe as vdm_qfegrp preserving type ) AS DefectCodeGroup,
  qpgt.sprache AS Language,
  cast( qpgt.kurztext as vdm_qfegrp_text preserving type ) AS DefectCodeGroupText
FROM qpgt
LEFT OUTER JOIN I_DefectCodeGroup AS _DefectCodeGroup ON DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup  -- association [1..1]
;