P_OrderIsShopFloorStatusBasic
P_OrderIsShopFloorStatusBasic is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StatusObjectStatusBasic) and exposes 2 fields with key field ObjectInternalID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StatusObjectStatusBasic | jest | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ObjectInternalID | I_StatusObjectStatusBasic | StatusObject | |
| _StatusObject | I_StatusObjectStatusBasic | _StatusObject |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType: {serviceQuality: #B, sizeCategory: #L, dataClass: #TRANSACTIONAL}
@VDM.viewType: #COMPOSITE
@VDM.private: true
/*+[hideWarning] { "IDS" : [ "CALCULATED_FIELD_CHECK", "KEY_CHECK" ] } */
define view entity P_OrderIsShopFloorStatusBasic
as select from I_StatusObjectStatusBasic as jest
{
// Key
@ObjectModel.foreignKey.association: '_StatusObject'
key jest.StatusObject as ObjectInternalID,
case jest.StatusCode
when 'I0665' then 'X'
end as OrderIsShopFloorOrder,
case jest.StatusCode
when 'I0076' then 'X'
end as OrderIsMarkedForDeletion,
// Associations
jest._StatusObject
}
where
( jest.StatusCode = 'I0665' or
jest.StatusCode = 'I0076' )
and
jest.StatusIsInactive = '' and jest.StatusObject like 'OR%'
;
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