I_InspSpecCatalog

DDL: I_INSPSPECCATALOG Type: view COMPOSITE

Assignment of Catalogs to Master Charc

I_InspSpecCatalog (Composite)

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

Manufacturing

I_InspSpecCatalog is a Composite CDS View that provides data about "Assignment of Catalogs to Master Charc" in SAP S/4HANA. It reads from 5 data sources (I_AssgmtInspMethInspSpec, I_AssgmtInspMethInspSpec, I_AssgmtInspMethInspSpec, I_AssgmtInspMethInspSpec, I_AssgmtInspMethInspSpec) and exposes 71 fields with key fields InspectionSpecificationPlant, InspectionSpecification, InspectionSpecificationVersion, InspSpecAddlCatalogFieldGroup, InspectionSpecification. It has 7 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentQM-PT
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides access to the assigned inspection catalogs of a master inspection characteristic. </p>

Documentation

Data Sources (5)

SourceAliasJoin Type
I_AssgmtInspMethInspSpec I_AssgmtInspMethInspSpec from
I_AssgmtInspMethInspSpec I_AssgmtInspMethInspSpec union
I_AssgmtInspMethInspSpec I_AssgmtInspMethInspSpec union
I_AssgmtInspMethInspSpec I_AssgmtInspMethInspSpec union
I_AssgmtInspMethInspSpec I_AssgmtInspMethInspSpec union

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_Plant _InspectionSpecificationPlant $projection.InspectionSpecificationPlant = _InspectionSpecificationPlant.Plant
[1..1] I_InspectionSpecification _InspectionSpecification $projection.InspectionSpecificationPlant = _InspectionSpecification.InspectionSpecificationPlant and $projection.InspectionSpecification = _InspectionSpecification.InspectionSpecification
[1..1] I_InspSpecificationVersion _InspSpecificationVersion $projection.InspectionSpecificationPlant = _InspSpecificationVersion.InspectionSpecificationPlant and $projection.InspectionSpecification = _InspSpecificationVersion.InspectionSpecification and $projection.InspectionSpecificationVersion = _InspSpecificationVersion.InspectionSpecificationVersion
[1..1] I_Inspectioncatalog _InspSpecAddlCatalog $projection.InspSpecAdditionalCatalog = _InspSpecAddlCatalog.InspectionCatalog
[1..1] I_InspectionSelectedSet _InspSpecAddlSelectedSet $projection.InspSpecAdditionalCatalog = _InspSpecAddlSelectedSet.InspectionCatalog and $projection.InspSpecAdditionalSelectedSet = _InspSpecAddlSelectedSet.SelectedCodeSet and $projection.InspSpecAddlSeldCodeSetPlant = _InspSpecAddlSelectedSet.SelectedCodeSetPlant
[1..1] I_InspectionCodeGroup _InspSpecAddlCodeGroup $projection.InspSpecAdditionalCatalog = _InspSpecAddlCodeGroup.InspectionCatalog and $projection.InspSpecAdditionalCodeGroup = _InspSpecAddlCodeGroup.InspectionCodeGroup
[1..1] I_Plant _InspSpecAddlSeldCodeSetPlant $projection.InspSpecAddlSeldCodeSetPlant = _InspSpecAddlSeldCodeSetPlant.Plant

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSPECCAT view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Assignment of Catalogs to Master Charc view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.representativeKey InspSpecAddlCatalogFieldGroup view
Metadata.ignorePropagatedAnnotations true view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY InspectionSpecificationPlant I_AssgmtInspMethInspSpec InspectionSpecificationPlant Plant for Master Inspection Characteristic
KEY InspectionSpecification I_AssgmtInspMethInspSpec InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion I_AssgmtInspMethInspSpec InspectionSpecificationVersion Version Number of Master Inspection Characteristic
KEY InspSpecAddlCatalogFieldGroup 1 Additional Catalog Field Group
InspSpecAdditionalCatalog Catalog Type of Assigned Code Group or Selected Set
InspSpecAdditionalSelectedSet I_AssgmtInspMethInspSpec SelectedCodeSet Assigned Code Group or Selected Set
InspSpecAdditionalCodeGroup Assigned Code Group or Selected Set
InspSpecAddlSeldCodeSetPlant I_AssgmtInspMethInspSpec SelectedCodeSetPlant Plant of the Assigned Selected Set
_InspectionSpecificationPlant _InspectionSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecAddlCatalog _InspSpecAddlCatalog
_InspSpecAddlSelectedSet _InspSpecAddlSelectedSet
_InspSpecAddlCodeGroup _InspSpecAddlCodeGroup
InspectionSpecificationPlant Plant for Master Inspection Characteristic
KEY InspectionSpecification I_AssgmtInspMethInspSpec InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion I_AssgmtInspMethInspSpec InspectionSpecificationVersion Version Number of Master Inspection Characteristic
KEY InspSpecAddlCatalogFieldGroup 2 Additional Catalog Field Group
InspSpecAdditionalCatalog I_AssgmtInspMethInspSpec InspSpecAdditionalCatalog2 Catalog Type of Assigned Code Group or Selected Set
InspSpecAdditionalSelectedSet I_AssgmtInspMethInspSpec InspSpecAdditionalSelectedSet2 Assigned Code Group or Selected Set
InspSpecAdditionalCodeGroup I_AssgmtInspMethInspSpec InspSpecAdditionalCodeGroup2 Assigned Code Group or Selected Set
InspSpecAddlSeldCodeSetPlant I_AssgmtInspMethInspSpec InspSpecAddlSeldCodeSetPlant2 Plant of the Assigned Selected Set
_InspectionSpecificationPlant _InspectionSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecAddlCatalog _InspSpecAddlCatalog
_InspSpecAddlSelectedSet _InspSpecAddlSelectedSet
_InspSpecAddlCodeGroup _InspSpecAddlCodeGroup
InspectionSpecificationPlant Plant for Master Inspection Characteristic
KEY InspectionSpecification I_AssgmtInspMethInspSpec InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion I_AssgmtInspMethInspSpec InspectionSpecificationVersion Version Number of Master Inspection Characteristic
KEY InspSpecAddlCatalogFieldGroup 3 Additional Catalog Field Group
InspSpecAdditionalCatalog I_AssgmtInspMethInspSpec InspSpecAdditionalCatalog3 Catalog Type of Assigned Code Group or Selected Set
InspSpecAdditionalSelectedSet I_AssgmtInspMethInspSpec InspSpecAdditionalSelectedSet3 Assigned Code Group or Selected Set
InspSpecAdditionalCodeGroup I_AssgmtInspMethInspSpec InspSpecAdditionalCodeGroup3 Assigned Code Group or Selected Set
InspSpecAddlSeldCodeSetPlant I_AssgmtInspMethInspSpec InspSpecAddlSeldCodeSetPlant3 Plant of the Assigned Selected Set
_InspectionSpecificationPlant _InspectionSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecAddlCatalog _InspSpecAddlCatalog
_InspSpecAddlSelectedSet _InspSpecAddlSelectedSet
_InspSpecAddlCodeGroup _InspSpecAddlCodeGroup
InspectionSpecificationPlant Plant for Master Inspection Characteristic
KEY InspectionSpecification I_AssgmtInspMethInspSpec InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion I_AssgmtInspMethInspSpec InspectionSpecificationVersion Version Number of Master Inspection Characteristic
KEY InspSpecAddlCatalogFieldGroup 4 Additional Catalog Field Group
InspSpecAdditionalCatalog I_AssgmtInspMethInspSpec InspSpecAdditionalCatalog4 Catalog Type of Assigned Code Group or Selected Set
InspSpecAdditionalSelectedSet I_AssgmtInspMethInspSpec InspSpecAdditionalSelectedSet4 Assigned Code Group or Selected Set
InspSpecAdditionalCodeGroup I_AssgmtInspMethInspSpec InspSpecAdditionalCodeGroup4 Assigned Code Group or Selected Set
InspSpecAddlSeldCodeSetPlant I_AssgmtInspMethInspSpec InspSpecAddlSeldCodeSetPlant4 Plant of the Assigned Selected Set
_InspectionSpecificationPlant _InspectionSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecAddlCatalog _InspSpecAddlCatalog
_InspSpecAddlSelectedSet _InspSpecAddlSelectedSet
_InspSpecAddlCodeGroup _InspSpecAddlCodeGroup
InspectionSpecificationPlant Plant for Master Inspection Characteristic
KEY InspectionSpecification I_AssgmtInspMethInspSpec InspectionSpecification Master Inspection Characteristic
KEY InspectionSpecificationVersion I_AssgmtInspMethInspSpec InspectionSpecificationVersion Version Number of Master Inspection Characteristic
KEY InspSpecAddlCatalogFieldGroup 5 Additional Catalog Field Group
InspSpecAdditionalCatalog I_AssgmtInspMethInspSpec InspSpecAdditionalCatalog5 Catalog Type of Assigned Code Group or Selected Set
InspSpecAdditionalSelectedSet I_AssgmtInspMethInspSpec InspSpecAdditionalSelectedSet5 Assigned Code Group or Selected Set
InspSpecAdditionalCodeGroup I_AssgmtInspMethInspSpec InspSpecAdditionalCodeGroup5 Assigned Code Group or Selected Set
InspSpecAddlSeldCodeSetPlant I_AssgmtInspMethInspSpec InspSpecAddlSeldCodeSetPlant5 Plant of the Assigned Selected Set
_InspectionSpecificationPlant _InspectionSpecificationPlant
_InspectionSpecification _InspectionSpecification
_InspSpecificationVersion _InspSpecificationVersion
_InspSpecAddlCatalog _InspSpecAddlCatalog
_InspSpecAddlSelectedSet _InspSpecAddlSelectedSet
_InspSpecAddlCodeGroup _InspSpecAddlCodeGroup
_InspSpecAddlSeldCodeSetPlant _InspSpecAddlSeldCodeSetPlant

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_InspSpecCatalog.
-- 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_InspSpecCatalog AS
SELECT
  I_AssgmtInspMethInspSpec.InspectionSpecificationPlant AS InspectionSpecificationPlant,
  I_AssgmtInspMethInspSpec.InspectionSpecification AS InspectionSpecification,
  I_AssgmtInspMethInspSpec.InspectionSpecificationVersion AS InspectionSpecificationVersion,
  1 AS InspSpecAddlCatalogFieldGroup,
  cast( '1' as qkatausw ) AS InspSpecAdditionalCatalog,
  I_AssgmtInspMethInspSpec.SelectedCodeSet AS InspSpecAdditionalSelectedSet,
  cast( '' as qcgrausw ) AS InspSpecAdditionalCodeGroup,
  I_AssgmtInspMethInspSpec.SelectedCodeSetPlant AS InspSpecAddlSeldCodeSetPlant
FROM I_AssgmtInspMethInspSpec
LEFT OUTER JOIN I_Plant AS _InspectionSpecificationPlant ON InspectionSpecificationPlant = _InspectionSpecificationPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_InspectionSpecification AS _InspectionSpecification ON InspectionSpecificationPlant = _InspectionSpecification.InspectionSpecificationPlant AND InspectionSpecification = _InspectionSpecification.InspectionSpecification  -- association [1..1]
LEFT OUTER JOIN I_InspSpecificationVersion AS _InspSpecificationVersion ON InspectionSpecificationPlant = _InspSpecificationVersion.InspectionSpecificationPlant AND InspectionSpecification = _InspSpecificationVersion.InspectionSpecification AND InspectionSpecificationVersion = _InspSpecificationVersion.InspectionSpecificationVersion  -- association [1..1]
LEFT OUTER JOIN I_Inspectioncatalog AS _InspSpecAddlCatalog ON InspSpecAdditionalCatalog = _InspSpecAddlCatalog.InspectionCatalog  -- association [1..1]
LEFT OUTER JOIN I_InspectionSelectedSet AS _InspSpecAddlSelectedSet ON InspSpecAdditionalCatalog = _InspSpecAddlSelectedSet.InspectionCatalog AND InspSpecAdditionalSelectedSet = _InspSpecAddlSelectedSet.SelectedCodeSet AND InspSpecAddlSeldCodeSetPlant = _InspSpecAddlSelectedSet.SelectedCodeSetPlant  -- association [1..1]
LEFT OUTER JOIN I_InspectionCodeGroup AS _InspSpecAddlCodeGroup ON InspSpecAdditionalCatalog = _InspSpecAddlCodeGroup.InspectionCatalog AND InspSpecAdditionalCodeGroup = _InspSpecAddlCodeGroup.InspectionCodeGroup  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _InspSpecAddlSeldCodeSetPlant ON InspSpecAddlSeldCodeSetPlant = _InspSpecAddlSeldCodeSetPlant.Plant  -- association [1..1]
-- UNION with additional select branch(es): I_AssgmtInspMethInspSpec
;