A_InspLotUsageDecision
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)
| Source | Alias | Join Type |
|---|---|---|
| I_InspLotUsageDecision | I_InspLotUsageDecision | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | A_InspectionLot | _InspectionLot | $projection.InspectionLot = _InspectionLot.InspectionLot |
| [1..1] | E_InspLotUsageDecision | _Extension | $projection.InspectionLot = _Extension.InspectionLot |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
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