P_EBPCC_MaxKeyStatus
Event-Based PCC Max Key Status
P_EBPCC_MaxKeyStatus is a Composite CDS View that provides data about "Event-Based PCC Max Key Status" in SAP S/4HANA. It reads from 1 data source (I_StatusObjectStatusBasic) and exposes 2 fields with key field ControllingObject. Part of development package ODATA_CO_EB_PROD_COST_CLTR_DET.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_StatusObjectStatusBasic | I_StatusObjectStatusBasic | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Event-Based PCC Max Key Status | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingObject | StatusObject | ||
| StatusCode |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Event-Based PCC Max Key Status'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view entity P_EBPCC_MaxKeyStatus
as select from I_StatusObjectStatusBasic
{
key StatusObject as ControllingObject,
max(StatusCode) as StatusCode
}
where
(
StatusCode = 'I0002' // Released
or StatusCode = 'I0009' // Confirmed
or StatusCode = 'I0045' // Technicaly Completed
or StatusCode = 'I0076' // Deletion Flag
)
and StatusIsInactive = ''
group by
StatusObject
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