I_InspectionSelectedSet

DDL: I_INSPECTIONSELECTEDSET SQL: IINSPSELDSET Type: view BASIC Package: VDM_QM_PLANNING

Inspection Selected Set

I_InspectionSelectedSet (Basic)

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

Manufacturing

I_InspectionSelectedSet is a Basic CDS View that provides data about "Inspection Selected Set" in SAP S/4HANA. It reads from 2 data sources (qpam, qpamtxt) and exposes 9 fields with key fields SelectedCodeSetPlant, InspectionCatalog, SelectedCodeSet. It has 3 associations to related views. Part of development package VDM_QM_PLANNING.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessManufacturing
Application ComponentQM-PT-2CL
CapabilitiesData Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageManufacturing for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides access to definition of selected sets for catalogs for which selected sets are allowed.</p>

Documentation

Data Sources (2)

SourceAliasJoin Type
qpam qpam from
qpamtxt qpamtxt left_outer

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Plant _SelectedCodeSetPlant $projection.SelectedCodeSetPlant = _SelectedCodeSetPlant.Plant
[0..1] I_Inspectioncatalog _InspectionCatalog $projection.InspectionCatalog = _InspectionCatalog.InspectionCatalog
[0..*] I_InspectionSelectedSetText _InspectionSelectedSetText $projection.SelectedCodeSetPlant = _InspectionSelectedSetText.SelectedCodeSetPlant and $projection.InspectionCatalog = _InspectionSelectedSetText.InspectionCatalog and $projection.SelectedCodeSet = _InspectionSelectedSetText.SelectedCodeSet

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSELDSET view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Selected Set view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.representativeKey SelectedCodeSet view
Metadata.ignorePropagatedAnnotations true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SelectedCodeSetPlant qpam werks Receiving Plant
KEY InspectionCatalog qpam katalogart Catalog
KEY SelectedCodeSet qpam auswahlmge Selected Set
InspectionSelectedSetStatus qpam status Status of Master Record
SelectedCodeSetDfltCodeGroup qpam defaultcodegr Default Code Group
SelectedCodeSetDefaultCode qpam defaultcode Default Code
_SelectedCodeSetPlant _SelectedCodeSetPlant
_InspectionCatalog _InspectionCatalog
_InspectionSelectedSetText _InspectionSelectedSetText

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_InspectionSelectedSet.
-- 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: IINSPSELDSET

CREATE VIEW I_InspectionSelectedSet AS
SELECT
  qpam.werks AS SelectedCodeSetPlant,
  qpam.katalogart AS InspectionCatalog,
  qpam.auswahlmge AS SelectedCodeSet,
  qpam.status AS InspectionSelectedSetStatus,
  qpam.defaultcodegr AS SelectedCodeSetDfltCodeGroup,
  qpam.defaultcode AS SelectedCodeSetDefaultCode
FROM qpam
LEFT OUTER JOIN qpamtxt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _SelectedCodeSetPlant ON SelectedCodeSetPlant = _SelectedCodeSetPlant.Plant  -- association [0..1]
LEFT OUTER JOIN I_Inspectioncatalog AS _InspectionCatalog ON InspectionCatalog = _InspectionCatalog.InspectionCatalog  -- association [0..1]
LEFT OUTER JOIN I_InspectionSelectedSetText AS _InspectionSelectedSetText ON SelectedCodeSetPlant = _InspectionSelectedSetText.SelectedCodeSetPlant AND InspectionCatalog = _InspectionSelectedSetText.InspectionCatalog AND SelectedCodeSet = _InspectionSelectedSetText.SelectedCodeSet  -- association [0..*]
;