I_InspectionSelectedSetText

DDL: I_INSPECTIONSELECTEDSETTEXT SQL: IINSPSELDSETTEXT Type: view BASIC

Inspection Selected Set - Text

I_InspectionSelectedSetText (Basic)

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

Manufacturing

I_InspectionSelectedSetText is a Basic CDS View that provides data about "Inspection Selected Set - Text" in SAP S/4HANA. It reads from 1 data source (qpamtxt) and exposes 8 fields with key fields SelectedCodeSetPlant, InspectionCatalog, SelectedCodeSet, Language. It has 3 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, Language-Dependent Text, Association Target for Defining CDS Entities
PackageManufacturing for SAP S/4HANA Cloud Private 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 (1)

SourceAliasJoin Type
qpamtxt qpamtxt from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _SelectedSetPlant $projection.SelectedCodeSetPlant = _SelectedSetPlant.Plant
[1..1] I_Inspectioncatalog _InspectionCatalog $projection.InspectionCatalog = _InspectionCatalog.InspectionCatalog
[1..1] I_InspectionSelectedSet _InspectionSelectedSet $projection.SelectedCodeSetPlant = _InspectionSelectedSet.SelectedCodeSetPlant and $projection.InspectionCatalog = _InspectionSelectedSet.InspectionCatalog and $projection.SelectedCodeSet = _InspectionSelectedSet.SelectedCodeSet

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPSELDSETTEXT view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Inspection Selected Set - Text 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 #MASTER view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey SelectedCodeSet view
Metadata.ignorePropagatedAnnotations true view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY SelectedCodeSetPlant qpamtxt werks Receiving Plant
KEY InspectionCatalog qpamtxt katalogart Catalog
KEY SelectedCodeSet qpamtxt auswahlmge Selected Set
KEY Language qpamtxt language Report Text Language
SelectedCodeSetText Text for Selected Set
_SelectedSetPlant _SelectedSetPlant
_InspectionCatalog _InspectionCatalog
_InspectionSelectedSet _InspectionSelectedSet

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_InspectionSelectedSetText.
-- 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: IINSPSELDSETTEXT

CREATE VIEW I_InspectionSelectedSetText AS
SELECT
  qpamtxt.werks AS SelectedCodeSetPlant,
  qpamtxt.katalogart AS InspectionCatalog,
  qpamtxt.auswahlmge AS SelectedCodeSet,
  qpamtxt.language AS Language,
  cast( qpamtxt.ktx01 as vdm_qktextam preserving type ) AS SelectedCodeSetText
FROM qpamtxt
LEFT OUTER JOIN I_Plant AS _SelectedSetPlant ON SelectedCodeSetPlant = _SelectedSetPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_Inspectioncatalog AS _InspectionCatalog ON InspectionCatalog = _InspectionCatalog.InspectionCatalog  -- association [1..1]
LEFT OUTER JOIN I_InspectionSelectedSet AS _InspectionSelectedSet ON SelectedCodeSetPlant = _InspectionSelectedSet.SelectedCodeSetPlant AND InspectionCatalog = _InspectionSelectedSet.InspectionCatalog AND SelectedCodeSet = _InspectionSelectedSet.SelectedCodeSet  -- association [1..1]
;