A_InspLotUsageDecision

DDL: A_INSPLOTUSAGEDECISION SQL: AINSPLOTUSGDCSN Type: view CONSUMPTION

Usage Decisions

A_InspLotUsageDecision is a Consumption CDS View that provides data about "Usage Decisions" in SAP S/4HANA. It reads from 1 data source (I_InspLotUsageDecision) and exposes 24 fields with key field InspectionLot. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspLotUsageDecision I_InspLotUsageDecision from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_InspectionLot _InspectionLot $projection.InspectionLot = _InspectionLot.InspectionLot
[1..1] E_InspLotUsageDecision _Extension $projection.InspectionLot = _Extension.InspectionLot

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName AINSPLOTUSGDCSN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
EndUserText.label Usage Decisions view
AccessControl.personalData.blocking #REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot InspectionLot Inspection Lot
InspLotUsageDecisionLevel InspLotUsageDecisionLevel UD Type
InspectionLotQualityScore InspectionLotQualityScore Inspection Lot Score
InspLotUsageDecisionCatalog InspLotUsageDecisionCatalog Catalog
SelectedCodeSetPlant SelectedCodeSetPlant Plant
InspLotUsgeDcsnSelectedSet InspLotUsgeDcsnSelectedSet UD Selected Set
InspLotUsageDecisionCodeGroup InspLotUsageDecisionCodeGroup
InspectionLotUsageDecisionCode InspectionLotUsageDecisionCode UD Code
InspLotUsgeDcsnDynValuation InspLotUsgeDcsnDynValuation DynModValuation
InspLotUsageDecisionValuation InspLotUsageDecisionValuation Code Valuation
InspLotUsgeDcsnFollowUpAction InspLotUsgeDcsnFollowUpAction Follow-Up Actn
InspectionLotUsageDecidedBy InspectionLotUsageDecidedBy
InspectionLotUsageDecidedOn InspectionLotUsageDecidedOn
InspLotUsageDecisionTime InspLotUsageDecisionTime
InspLotUsageDecisionChangedBy InspLotUsageDecisionChangedBy
InspLotUsageDecisionChangedOn InspLotUsageDecisionChangedOn
InspLotUsgeDcsnChangedTime InspLotUsgeDcsnChangedTime
InspLotUsgeDcsnHasLongText InspLotUsgeDcsnHasLongText
ChangedDateTime _InspectionLot ChangedDateTime Time Stamp
_InspectionLot _InspectionLot
IsBusinessPurposeCompleted _InspectionLot IsBusinessPurposeCompleted Purpose Completed
Plant _InspectionLot Plant Valuation Area
InspectionLotType _InspectionLot InspectionLotType Inspection Type
MatlQualityAuthorizationGroup _InspectionLot MatlQualityAuthorizationGroup QM Matl Auth.

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 A_InspLotUsageDecision.
-- 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: AINSPLOTUSGDCSN

CREATE VIEW A_InspLotUsageDecision AS
SELECT
  InspectionLot,
  InspLotUsageDecisionLevel,
  InspectionLotQualityScore,
  InspLotUsageDecisionCatalog,
  SelectedCodeSetPlant,
  InspLotUsgeDcsnSelectedSet,
  InspLotUsageDecisionCodeGroup,
  InspectionLotUsageDecisionCode,
  InspLotUsgeDcsnDynValuation,
  InspLotUsageDecisionValuation,
  InspLotUsgeDcsnFollowUpAction,
  InspectionLotUsageDecidedBy,
  InspectionLotUsageDecidedOn,
  InspLotUsageDecisionTime,
  InspLotUsageDecisionChangedBy,
  InspLotUsageDecisionChangedOn,
  InspLotUsgeDcsnChangedTime,
  InspLotUsgeDcsnHasLongText,
  _InspectionLot.ChangedDateTime AS ChangedDateTime,
  _InspectionLot.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _InspectionLot.Plant AS Plant,
  _InspectionLot.InspectionLotType AS InspectionLotType,
  _InspectionLot.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup
FROM I_InspLotUsageDecision
LEFT OUTER JOIN A_InspectionLot AS _InspectionLot ON InspectionLot = _InspectionLot.InspectionLot  -- association [1..1]
LEFT OUTER JOIN E_InspLotUsageDecision AS _Extension ON InspectionLot = _Extension.InspectionLot  -- association [1..1]
;