P_ServiceRequestOrder
Service Request Order API
P_ServiceRequestOrder is a Composite CDS View that provides data about "Service Request Order API" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentSuccessor) and exposes 3 fields with key field ServiceRequestUUID. It has 1 association to related views. Part of development package ODATA_CRMS4_SERVICEREQUEST.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentSuccessor | ServiceRequestOrder | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ServiceDocumentEnhcd | _ServiceRequest | $projection.ServiceRequestUUID = _ServiceRequest.ServiceDocumentUUID |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | PSRVREQORD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceRequestUUID | ServiceDocumentUUID | ||
| ServiceRequest | _ServiceRequest | ServiceDocument | ||
| ServiceOrder |
@ClientHandling.algorithm:#SESSION_VARIABLE
//@EndUserText.label: 'Service Request Order API'
@VDM: {
private: true,
viewType: #COMPOSITE
}
@AbapCatalog: {
sqlViewName: 'PSRVREQORD',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
createEnabled: true,
updateEnabled: true,
deleteEnabled: true,
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L
}
}
@Metadata.ignorePropagatedAnnotations: true
define view P_ServiceRequestOrder
as select from I_ServiceDocumentSuccessor as ServiceRequestOrder
association [0..1] to I_ServiceDocumentEnhcd as _ServiceRequest on $projection.ServiceRequestUUID = _ServiceRequest.ServiceDocumentUUID
{
key ServiceDocumentUUID as ServiceRequestUUID,
_ServiceRequest.ServiceDocument as ServiceRequest,
ServiceRequestOrder._ServiceDoc.ServiceDocument as ServiceOrder
}
where
ServiceObjectType = 'BUS2000223' and
ServiceDocSuccessorBusObjType = 'BUS2000116'
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