P_EBWObjectStatus
P_EBWObjectStatus is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (jest) and exposes 2 fields with key field ControllingObject.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| jest | jest | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIEBWOBJSTAT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | ControllingObject | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ControllingObject | objnr | ||
| StatusCode | stat |
@AbapCatalog.sqlViewName: 'PFIEBWOBJSTAT'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'ControllingObject'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
//@EndUserText.label: 'CO PCC Object Max Status'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
define view P_EBWObjectStatus
as select from jest
{
key objnr as ControllingObject,
case substring(objnr, 1, 2)
when 'OR'
then substring(objnr, 3, 12)
when 'OP'
then substring(objnr, 3, 12)
else ''
end as OrderID,
case substring(objnr, 1, 2)
when 'OR'
then '0000'
when 'OP'
then substring(objnr, 15, 4)
else ''
end as OrderItem,
stat as StatusCode
}
where
(
stat = 'I0002' //Released
or stat = 'I0012' //Delivered
or stat = 'I0045' //Technically Completed
)
and inact = ''
and stat <> 'I0046' // CLSD = closed
and stat <> 'I0076' // DLFL = deletion flag
group by
objnr,
stat
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