I_Inspectioncodegrouptext

DDL: I_INSPECTIONCODEGROUPTEXT SQL: IINSPCODEGRPTXT Type: view BASIC

Inspection Code Group - Text

I_Inspectioncodegrouptext (Basic)

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

Manufacturing

I_Inspectioncodegrouptext is a Basic CDS View that provides data about "Inspection Code Group - Text" in SAP S/4HANA. It reads from 1 data source (qpgt) and exposes 6 fields with key fields InspectionCatalog, InspectionCodeGroup, Language. 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, 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 all catalog types.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
qpgt qpgt from

Associations (2)

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

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IINSPCODEGRPTXT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Code Group - Text view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.dataCategory #TEXT 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 (6)

KeyFieldSource TableSource FieldDescription
KEY InspectionCatalog qpgt katalogart Catalog
KEY InspectionCodeGroup qpgt codegruppe Code Group
KEY Language qpgt sprache Language Key
InspSpecAddlCodeGroupText Text for Code Group
_InspectionCatalog _InspectionCatalog
_InspectionCodeGroup _InspectionCodeGroup

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_Inspectioncodegrouptext.
-- 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: IINSPCODEGRPTXT

CREATE VIEW I_Inspectioncodegrouptext AS
SELECT
  qpgt.katalogart AS InspectionCatalog,
  qpgt.codegruppe AS InspectionCodeGroup,
  qpgt.sprache AS Language,
  cast( qpgt.kurztext as vdm_qktextgr preserving type ) AS InspSpecAddlCodeGroupText
FROM qpgt
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]
;