P_SrvcConfOpenPrdcssr
Check Predecessor Open Item For Confirmation
P_SrvcConfOpenPrdcssr is a Composite CDS View that provides data about "Check Predecessor Open Item For Confirmation" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 7 fields with key fields ServiceObjectType, ServiceConfirmation, ServiceOrder, ParentServiceDocumentItemUUID. Part of development package CRMS4_SERV_ORDER_UI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentItemEnhcd | I_ServiceDocumentItemEnhcd | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | ServiceObjectType | ||
| KEY | ServiceConfirmation | ServiceDocument | ||
| KEY | ServiceOrder | |||
| KEY | ParentServiceDocumentItemUUID | |||
| ParentServiceDocumentItem | ||||
| ServiceOrderItem | ||||
| ConfirmationIsAllowed |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
define view entity P_SrvcConfOpenPrdcssr
as select from I_ServiceDocumentItemEnhcd
{
key ServiceObjectType,
key ServiceDocument as ServiceConfirmation,
// key ServiceDocumentItem as ServiceConfirmationItem,
key I_ServiceDocumentItemEnhcd._ServiceDocItmPrdcssr_2._ServiceDocItm.ServiceDocument as ServiceOrder,
key I_ServiceDocumentItemEnhcd._ParentServiceDocItem.ServiceDocumentItemUUID as ParentServiceDocumentItemUUID,
I_ServiceDocumentItemEnhcd._ParentServiceDocItem.ServiceDocumentItem as ParentServiceDocumentItem,
max(I_ServiceDocumentItemEnhcd._ServiceDocItmPrdcssr_2._ServiceDocItm.ServiceDocumentItem) as ServiceOrderItem,
'N' as ConfirmationIsAllowed
}
where
ServiceObjectType = 'BUS2000117'
and I_ServiceDocumentItemEnhcd._ServiceDocItmPrdcssr_2._ServiceDocItm.ServiceDocumentItemIsOpen = 'X'
and ServiceDocumentItemIsOpen != 'X'
and I_ServiceDocumentItemEnhcd._ParentServiceDocItem.ServiceDocumentItem != '000000'
group by
ServiceObjectType,
ServiceDocument,
//ServiceDocumentItem,
I_ServiceDocumentItemEnhcd._ParentServiceDocItem.ServiceDocumentItem,
_ServiceDocItmPrdcssr_2._ServiceDocItm.ServiceDocument,
I_ServiceDocumentItemEnhcd._ParentServiceDocItem.ServiceDocumentItemUUID
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