P_ServiceDocumentRefObject
Service Document Reference Object
P_ServiceDocumentRefObject is a Consumption CDS View that provides data about "Service Document Reference Object" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentRefObject) and exposes 14 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem. Part of development package CRMS4_SERV_FIORI_UI.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentRefObject | I_ServiceDocumentRefObject | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | ServiceDocumentItem | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceObjectType | ServiceObjectType | ||
| KEY | ServiceDocument | ServiceDocument | ||
| KEY | ServiceDocumentItem | ServiceDocumentItem | ||
| ServiceReferenceObjectType | ServiceReferenceObjectType | |||
| ServiceReferenceObjectUUID | ServiceReferenceObjectUUID | |||
| ProductID | ProductID | |||
| SrvcRefObjIsMainObject | SrvcRefObjIsMainObject | |||
| ProductUUID | ProductUUID | |||
| SerialNumber | SerialNumber | |||
| Equipment | Equipment | |||
| FunctionalLocation | FunctionalLocation | |||
| _Equipment | _Equipment | |||
| _Product | _Product | |||
| _FunctionalLocation | _FunctionalLocation |
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Service Document Reference Object'
@ObjectModel: {
representativeKey: 'ServiceDocumentItem',
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #XL
}
}
//@Analytics.technicalName: 'PSERVDOCREFOBJ'
@VDM.private: true
@VDM.viewType: #CONSUMPTION
//@VDM: {
// viewType: #BASIC
// //lifecycle.contract.type: #PUBLIC_LOCAL_API
//}
define view entity P_ServiceDocumentRefObject
as select from I_ServiceDocumentRefObject
{
key ServiceObjectType,
key ServiceDocument,
key ServiceDocumentItem,
ServiceReferenceObjectType,
case ServiceReferenceObjectType
when 'B' then 'EAMS_FL'
when 'C' then 'EAMS_EQUI'
end as TechObjIsEquipOrFuncnlLoc,
ServiceReferenceObjectUUID,
ProductID,
SrvcRefObjIsMainObject,
ProductUUID,
SerialNumber,
Equipment,
FunctionalLocation,
_Equipment,
_Product,
_FunctionalLocation
}
where
SrvcRefObjIsMainObject = 'X'
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