C_UsageDecisionReadyOVP
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)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLotTP | I_InspectionLotTP | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA