C_UsageDecisionReadyOVP

DDL: C_USAGEDECISIONREADYOVP SQL: CUSGDSNRDYOVP Type: view CONSUMPTION

Usage Decision Ready Card

C_UsageDecisionReadyOVP is a Consumption CDS View that provides data about "Usage Decision Ready Card" in SAP S/4HANA. It reads from 1 data source (I_InspectionLotTP) and exposes 25 fields with key field InspectionLot. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_InspectionLotTP I_InspectionLotTP from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_InspectionLotAggregate _InspLotAgg $projection.InspectionLot = _InspLotAgg.InspectionLot
[0..1] C_InspUsgDescCF _CalFields $projection.InspectionLot = _CalFields.InspectionLot
[1..1] I_InspectionLotWithStatus _InspectionLotWithStatus $projection.InspectionLot = _InspectionLotWithStatus.InspectionLot

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName CUSGDSNRDYOVP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Usage Decision Ready Card view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
UI.headerInfo.title.label Inspection Lot ID: view
UI.headerInfo.title.value InspectionLot view
UI.headerInfo.typeName Inspection Lot view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled false view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled false view
ObjectModel.transactionalProcessingDelegated true view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY InspectionLot I_InspectionLotTP InspectionLot Inspection Lot
InspectionLotTypeText
PlantName
MaterialName
InspectionLotEndDate I_InspectionLotTP InspectionLotEndDate
InspCharacteristicCount
InspLotNmbrOpenShortTermCharc I_InspectionLotTP InspLotNmbrOpenShortTermCharc
InspectionLotOrigin I_InspectionLotTP InspectionLotOrigin
InspectionLotStorageLocation I_InspectionLotTP InspectionLotStorageLocation
BatchStorageLocation I_InspectionLotTP BatchStorageLocation
MatlQualityAuthorizationGroup I_InspectionLotTP MatlQualityAuthorizationGroup QM Matl Auth.
Supplier I_InspectionLotTP Supplier Supplier
Manufacturer I_InspectionLotTP Manufacturer Manufacturer
ManufacturerPartNmbr I_InspectionLotTP ManufacturerPartNmbr Mfr Part Number
PurchasingOrganization I_InspectionLotTP PurchasingOrganization Purchasing Organization
InspectionLotHasQuantity
Customer I_InspectionLotTP Customer Sold-to Party
SoldToParty I_InspectionLotTP SoldToParty Sold-to Party
SalesOrganization I_InspectionLotTP SalesOrganization Sales Organization
Plant I_InspectionLotTP Plant Valuation Area
Material I_InspectionLotTP Material Vehicle Model
InspectionLotType I_InspectionLotTP InspectionLotType Inspection Type
IsBusinessPurposeCompleted I_InspectionLotTP IsBusinessPurposeCompleted Purpose Completed
InspLotRsltRecgStatus _CalFields InspLotRsltRecgStatus
InspectionLotHasUsageDecision I_InspectionLotTP InspectionLotHasUsageDecision

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 C_UsageDecisionReadyOVP.
-- 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: CUSGDSNRDYOVP

CREATE VIEW C_UsageDecisionReadyOVP AS
SELECT
  I_InspectionLotTP.InspectionLot AS InspectionLot,
  concat(concat(concat(I_InspectionLotTP.InspectionLotType , ' ( '),I_InspectionLotTP._InspectionLotType._Text[1:Language=$session.system_language].InspectionLotTypeText), ' )') AS InspectionLotTypeText,
  concat(concat(concat(I_InspectionLotTP.Plant, ' ( '),I_InspectionLotTP._Plant.PlantName), ' )') AS PlantName,
  concat(concat(concat( I_InspectionLotTP.Material, ' ( '), I_InspectionLotTP._Material._Text[1:Language=$session.system_language].MaterialName), ' )') AS MaterialName,
  I_InspectionLotTP.InspectionLotEndDate AS InspectionLotEndDate,
  (_InspLotAgg.InspCharacteristicCount - _InspLotAgg.InspCharOpenCount) AS InspCharacteristicCount,
  I_InspectionLotTP.InspLotNmbrOpenShortTermCharc AS InspLotNmbrOpenShortTermCharc,
  I_InspectionLotTP.InspectionLotOrigin AS InspectionLotOrigin,
  I_InspectionLotTP.InspectionLotStorageLocation AS InspectionLotStorageLocation,
  I_InspectionLotTP.BatchStorageLocation AS BatchStorageLocation,
  I_InspectionLotTP.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
  I_InspectionLotTP.Supplier AS Supplier,
  I_InspectionLotTP.Manufacturer AS Manufacturer,
  I_InspectionLotTP.ManufacturerPartNmbr AS ManufacturerPartNmbr,
  I_InspectionLotTP.PurchasingOrganization AS PurchasingOrganization,
  cast(I_InspectionLotTP.InspectionLotHasQuantity as xfeld ) AS InspectionLotHasQuantity,
  I_InspectionLotTP.Customer AS Customer,
  I_InspectionLotTP.SoldToParty AS SoldToParty,
  I_InspectionLotTP.SalesOrganization AS SalesOrganization,
  I_InspectionLotTP.Plant AS Plant,
  I_InspectionLotTP.Material AS Material,
  I_InspectionLotTP.InspectionLotType AS InspectionLotType,
  I_InspectionLotTP.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _CalFields.InspLotRsltRecgStatus AS InspLotRsltRecgStatus,
  I_InspectionLotTP.InspectionLotHasUsageDecision AS InspectionLotHasUsageDecision
FROM I_InspectionLotTP
LEFT OUTER JOIN I_InspectionLotAggregate AS _InspLotAgg ON InspectionLot = _InspLotAgg.InspectionLot  -- association [1..1]
LEFT OUTER JOIN C_InspUsgDescCF AS _CalFields ON InspectionLot = _CalFields.InspectionLot  -- association [0..1]
LEFT OUTER JOIN I_InspectionLotWithStatus AS _InspectionLotWithStatus ON InspectionLot = _InspectionLotWithStatus.InspectionLot  -- association [1..1]
;