I_DefectLocationCode

DDL: I_DEFECTLOCATIONCODE SQL: IDEFLOCCD Type: view BASIC

Defect Location Code

I_DefectLocationCode is a Basic CDS View that provides data about "Defect Location Code" in SAP S/4HANA. It reads from 1 data source (qpcd) and exposes 6 fields with key fields DefectLocationCatalog, DefectLocationCodeGroup, DefectLocationCode.

Data Sources (1)

SourceAliasJoin Type
qpcd qpcd from

Annotations (13)

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

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DefectLocationCatalog Catalog
KEY DefectLocationCodeGroup Code Group
KEY DefectLocationCode Water Hazard Cl.
_DefectLocationCatalog _DefectLocationCatalog
_DefectLocationCodeGroup _DefectLocationCodeGroup
_DefectLocationCodeText _DefectLocationCodeText

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_DefectLocationCode.
-- 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: IDEFLOCCD

CREATE VIEW I_DefectLocationCode AS
SELECT
  cast( katalogart as vdm_qfeocat preserving type ) AS DefectLocationCatalog,
  cast( codegruppe as vdm_qfeogrp preserving type ) AS DefectLocationCodeGroup,
  cast( code as vdm_qfeocod preserving type ) AS DefectLocationCode
FROM qpcd
;