R_SrvcConfAppointmentTP
Service Confirmation Appointment - TP
R_SrvcConfAppointmentTP is a Transactional CDS View that provides data about "Service Confirmation Appointment - TP" in SAP S/4HANA. It reads from 2 data sources (I_SrvcDocAppointment, I_ServiceDocument) and exposes 5 fields with key fields ServiceConfirmation, SrvcDocAppointmentType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvcDocAppointment | ServiceAppointment | from |
| I_ServiceDocument | ServiceConfirmation | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Service Confirmation Appointment - TP | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceConfirmation | I_ServiceDocument | ServiceDocument | |
| KEY | SrvcDocAppointmentType | I_SrvcDocAppointment | SrvcDocAppointmentType | |
| SrvcDocApptStartDateTime | I_SrvcDocAppointment | SrvcDocApptStartDateTime | ||
| SrvcDocApptEndDateTime | I_SrvcDocAppointment | SrvcDocApptEndDateTime | ||
| _ServiceConfirmationTP | _ServiceConfirmationTP |
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
viewType: #TRANSACTIONAL,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Service Confirmation Appointment - TP'
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #B,
sizeCategory: #L
}
}
define view entity R_SrvcConfAppointmentTP
as select from I_SrvcDocAppointment as ServiceAppointment
// inner join R_ServiceConfirmationTP as ServiceConfirmation on ServiceAppointment.SrvcMgmtObjectUUID = ServiceConfirmation.ServiceConfirmationUUID
inner join I_ServiceDocument as ServiceConfirmation on ServiceAppointment.SrvcMgmtObjectUUID = ServiceConfirmation.ServiceDocumentUUID
and ServiceConfirmation.ServiceObjectType = 'BUS2000117'
association to parent R_ServiceConfirmationTP as _ServiceConfirmationTP on $projection.ServiceConfirmation = _ServiceConfirmationTP.ServiceConfirmation
{
//key ServiceConfirmation.ServiceConfirmation as ServiceConfirmation,
key ServiceConfirmation.ServiceDocument as ServiceConfirmation,
key ServiceAppointment.SrvcDocAppointmentType as SrvcDocAppointmentType,
ServiceAppointment.SrvcDocApptStartDateTime as SrvcDocApptStartDateTime,
ServiceAppointment.SrvcDocApptEndDateTime as SrvcDocApptEndDateTime,
_ServiceConfirmationTP
}
where ServiceAppointment.SrvcDocApptStartDateTime is not initial
or ServiceAppointment.SrvcDocApptEndDateTime is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SERVICEDOCUMENT",
"I_SRVCDOCAPPOINTMENT"
],
"ASSOCIATED":
[
"R_SERVICECONFIRMATIONTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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