I_InspectionCodeText

DDL: I_INSPECTIONCODETEXT SQL: IINSPCODETEXT Type: view BASIC

Inspection Code - Text

I_InspectionCodeText (Basic)

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

Manufacturing

I_InspectionCodeText is a Basic CDS View that provides data about "Inspection Code - Text" in SAP S/4HANA. It reads from 1 data source (qpct) and exposes 8 fields with key fields InspectionCatalog, InspectionCodeGroup, InspectionCode, Language. It has 3 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-PT
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities, Association Target 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 codes for all catalog types.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpct qpct from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Inspectioncatalog _InspectionCatalog $projection.InspectionCatalog = _InspectionCatalog.InspectionCatalog
[1..1] I_InspectionCodeGroup _InspectionCodeGroup $projection.InspectionCatalog = _InspectionCodeGroup.InspectionCatalog and $projection.InspectionCodeGroup = _InspectionCodeGroup.InspectionCodeGroup
[1..1] I_InspectionCode _InspectionCode $projection.InspectionCatalog = _InspectionCode.InspectionCatalog and $projection.InspectionCodeGroup = _InspectionCode.InspectionCodeGroup and $projection.InspectionCode = _InspectionCode.InspectionCode

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IINSPCODETEXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Code - Text view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey InspectionCode view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog katalogart Catalog
KEY InspectionCodeGroup codegruppe Code Group
KEY InspectionCode code Water Hazard Cl.
KEY Language sprache Language Key
InspectionCodeText SText insp.char
_InspectionCatalog _InspectionCatalog
_InspectionCodeGroup _InspectionCodeGroup
_InspectionCode _InspectionCode

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_InspectionCodeText.
-- 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: IINSPCODETEXT

CREATE VIEW I_InspectionCodeText AS
SELECT
  katalogart AS InspectionCatalog,
  codegruppe AS InspectionCodeGroup,
  code AS InspectionCode,
  sprache AS Language,
  cast( kurztext as vdm_qtxt_code preserving type ) AS InspectionCodeText
FROM qpct
LEFT OUTER JOIN I_Inspectioncatalog AS _InspectionCatalog ON InspectionCatalog = _InspectionCatalog.InspectionCatalog  -- association [1..1]
LEFT OUTER JOIN I_InspectionCodeGroup AS _InspectionCodeGroup ON InspectionCatalog = _InspectionCodeGroup.InspectionCatalog AND InspectionCodeGroup = _InspectionCodeGroup.InspectionCodeGroup  -- association [1..1]
LEFT OUTER JOIN I_InspectionCode AS _InspectionCode ON InspectionCatalog = _InspectionCode.InspectionCatalog AND InspectionCodeGroup = _InspectionCode.InspectionCodeGroup AND InspectionCode = _InspectionCode.InspectionCode  -- association [1..1]
;