I_DefectCodeText

DDL: I_DEFECTCODETEXT Type: view_entity BASIC Package: VDM_QM_NOTIFICATION

Defect Code - Text

I_DefectCodeText (Basic)

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

Manufacturing

I_DefectCodeText is a Basic CDS View that provides data about "Defect Code - Text" in SAP S/4HANA. It reads from 1 data source (qpct) and exposes 6 fields with key fields DefectCodeGroup, DefectCode, Language. It has 2 associations to related views. Part of development package VDM_QM_NOTIFICATION.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-QN-2CL
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities,Language-Dependent Text
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 codes for catalog type 9 (Defects).</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpct qpct from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_DefectCodeGroup _DefectCodeGroup $projection.DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup
[1..1] I_DefectCode _DefectCode $projection.DefectCodeGroup = _DefectCode.DefectCodeGroup and $projection.DefectCode = _DefectCode.DefectCode

Annotations (12)

NameValueLevelField
EndUserText.label Defect Code - Text view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey DefectCode view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.dataCategory #TEXT view
Analytics.technicalName IDEFECTCODET view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DefectCodeGroup Defect Code Group
KEY DefectCode Defect Code
KEY Language qpct sprache Language Key
DefectCodeText Text for Defect Code
_DefectCodeGroup _DefectCodeGroup
_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_DefectCodeText.
-- 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.

CREATE VIEW I_DefectCodeText AS
SELECT
  cast( qpct.codegruppe as vdm_qfegrp preserving type ) AS DefectCodeGroup,
  cast( qpct.code as vdm_qfecod preserving type ) AS DefectCode,
  qpct.sprache AS Language,
  cast( qpct.kurztext as vdm_qfecod_text preserving type ) AS DefectCodeText
FROM qpct
LEFT OUTER JOIN I_DefectCodeGroup AS _DefectCodeGroup ON DefectCodeGroup = _DefectCodeGroup.DefectCodeGroup  -- association [1..1]
LEFT OUTER JOIN I_DefectCode AS _DefectCode ON DefectCodeGroup = _DefectCode.DefectCodeGroup AND DefectCode = _DefectCode.DefectCode  -- association [1..1]
;