I_InspUsgeDcsnSelectedSet

DDL: I_INSPUSGEDCSNSELECTEDSET SQL: IINSPUDSELDSET Type: view COMPOSITE

Selected Set for Usage Decision

I_InspUsgeDcsnSelectedSet is a Composite CDS View that provides data about "Selected Set for Usage Decision" in SAP S/4HANA. It reads from 1 data source (I_InspectionSelectedSet) and exposes 10 fields with key fields SelectedCodeSetPlant, SelectedCodeSet. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspectionSelectedSet I_InspectionSelectedSet from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_InspUsgeDcsnSelectedSetT _InspectionSelectedSetText $projection.SelectedCodeSetPlant = _InspectionSelectedSetText.SelectedCodeSetPlant and $projection.SelectedCodeSet = _InspectionSelectedSetText.SelectedCodeSet

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IINSPUDSELDSET view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Selected Set for Usage Decision view
AccessControl.authorizationCheck #MANDATORY 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 #A view
ObjectModel.representativeKey SelectedCodeSet view
Metadata.ignorePropagatedAnnotations true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY SelectedCodeSetPlant SelectedCodeSetPlant Receiving Plant
KEY SelectedCodeSet SelectedCodeSet CodeGrp/SelSet
InspectionCatalog InspectionCatalog Catalog
InspectionSelectedSetStatus InspectionSelectedSetStatus Workflow Status
SelectedCodeSetDfltCodeGroup SelectedCodeSetDfltCodeGroup Default Code Group
SelectedCodeSetDefaultCode SelectedCodeSetDefaultCode Default Code
SelectedCodeSetText SelectedCodeSetText
_SelectedCodeSetPlant _SelectedCodeSetPlant
_InspectionSelectedSetText _InspectionSelectedSetText
_InspectionCatalog _InspectionCatalog

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_InspUsgeDcsnSelectedSet.
-- 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: IINSPUDSELDSET

CREATE VIEW I_InspUsgeDcsnSelectedSet AS
SELECT
  SelectedCodeSetPlant,
  SelectedCodeSet,
  InspectionCatalog,
  InspectionSelectedSetStatus,
  SelectedCodeSetDfltCodeGroup,
  SelectedCodeSetDefaultCode,
  SelectedCodeSetText
FROM I_InspectionSelectedSet
LEFT OUTER JOIN I_InspUsgeDcsnSelectedSetT AS _InspectionSelectedSetText ON SelectedCodeSetPlant = _InspectionSelectedSetText.SelectedCodeSetPlant AND SelectedCodeSet = _InspectionSelectedSetText.SelectedCodeSet  -- association [0..*]
;