P_ProcOrdInspLotUsgeDcsnCodeR
P_ProcOrdInspLotUsgeDcsnCodeR is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_InspectionLot, P_ProcessOrderHeader) and exposes 2 fields with key field ProcessOrder.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_InspectionLot | _InspLot | inner |
| P_ProcessOrderHeader | _ProcessOrder | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROCORDUSDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProcessOrder | P_ProcessOrderHeader | OrderID | |
| InspLotUsageDecisionValuation |
@AbapCatalog.sqlViewName: 'PPROCORDUSDR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #C, sizeCategory: #L, dataClass: #TRANSACTIONAL }
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ClientHandling.algorithm: #SESSION_VARIABLE
//@EndUserText.label: 'Process Order Inspection Lots with Usage Decision Valuation R'
define view P_ProcOrdInspLotUsgeDcsnCodeR
as select from P_ProcessOrderHeader as _ProcessOrder
inner join I_InspectionLot as _InspLot on _InspLot.ManufacturingOrder = _ProcessOrder.OrderID
// inner join I_MfgOrderBasic _ProcessOrder on _InspLot.ManufacturingOrder = _ProcessOrder.ManufacturingOrder
// and _ProcessOrder.ManufacturingOrderCategory = '40'
{
key _ProcessOrder.OrderID as ProcessOrder,
// _ProcessOrder.ProductionPlant,
// _ProcessOrder.ProductionSupervisor,
'R' as InspLotUsageDecisionValuation
}
where
_InspLotUsageDecision.InspLotUsageDecisionValuation = 'R'
and(
InspectionLotOrigin = '04'
or InspectionLotOrigin = '03'
)
group by
_ProcessOrder.OrderID
// _ProcessOrder.ProductionPlant,
// _ProcessOrder.ProductionSupervisor
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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