I_InspectionCodeGroup

DDL: I_INSPECTIONCODEGROUP SQL: IINSPCODEGRP Type: view BASIC

Inspection Code Group

I_InspectionCodeGroup (Basic)

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

Manufacturing

I_InspectionCodeGroup is a Basic CDS View that provides data about "Inspection Code Group" in SAP S/4HANA. It reads from 1 data source (qpgr) and exposes 5 fields with key fields InspectionCatalog, InspectionCodeGroup. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-PT
CapabilitiesData Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the definition of code groups for all catalog types.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpgr qpgr from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Inspectioncatalog _InspectionCatalog $projection.InspectionCatalog = _InspectionCatalog.InspectionCatalog
[1..*] I_Inspectioncodegrouptext _Text $projection.InspectionCatalog = _Text.InspectionCatalog and $projection.InspectionCodeGroup = _Text.InspectionCodeGroup

Annotations (13)

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

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog qpgr katalogart Catalog
KEY InspectionCodeGroup qpgr codegruppe Code Group
CodeGroupStatus qpgr status Status of Master Record
_InspectionCatalog _InspectionCatalog
_Text _Text

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_InspectionCodeGroup.
-- 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: IINSPCODEGRP

CREATE VIEW I_InspectionCodeGroup AS
SELECT
  qpgr.katalogart AS InspectionCatalog,
  qpgr.codegruppe AS InspectionCodeGroup,
  qpgr.status AS CodeGroupStatus
FROM qpgr
LEFT OUTER JOIN I_Inspectioncatalog AS _InspectionCatalog ON InspectionCatalog = _InspectionCatalog.InspectionCatalog  -- association [1..1]
LEFT OUTER JOIN I_Inspectioncodegrouptext AS _Text ON InspectionCatalog = _Text.InspectionCatalog AND InspectionCodeGroup = _Text.InspectionCodeGroup  -- association [1..*]
;