I_SubscriptionContractAppt
Contract Appointment
I_SubscriptionContractAppt is a Composite CDS View that provides data about "Contract Appointment" in SAP S/4HANA. It reads from 2 data sources (I_SrvcDocAppointment, I_SubscriptionContract) and exposes 4 fields with key fields SubscriptionContract, SubscrpnContrApptType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SrvcDocAppointment | ServiceAppointment | from |
| I_SubscriptionContract | SubscriptionContract | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| EndUserText.label | Contract Appointment | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SubscriptionContract | I_SubscriptionContract | SubscriptionContract | |
| KEY | SubscrpnContrApptType | I_SrvcDocAppointment | SrvcDocAppointmentType | |
| SubscrpnContrApptStrtDteTme | I_SrvcDocAppointment | SrvcDocApptStartDateTime | ||
| _DateText | I_SrvcDocAppointment | _DateText |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@EndUserText.label: 'Contract Appointment'
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL
}
define view entity I_SubscriptionContractAppt
as select from I_SrvcDocAppointment as ServiceAppointment
inner join I_SubscriptionContract as SubscriptionContract on ServiceAppointment.SrvcMgmtObjectUUID = SubscriptionContract.SubscriptionContractUUID
{
key SubscriptionContract.SubscriptionContract,
key ServiceAppointment.SrvcDocAppointmentType as SubscrpnContrApptType,
ServiceAppointment.SrvcDocApptStartDateTime as SubscrpnContrApptStrtDteTme,
case ServiceAppointment.SrvcDocApptStartDateTime
when ServiceAppointment.SrvcDocApptEndDateTime then 0
else ServiceAppointment.SrvcDocApptEndDateTime
end as SubscrpnContrApptEndDteTme,
/* ASSOCIATION */
ServiceAppointment._DateText
}
where
ServiceAppointment.SrvcDocApptStartDateTime is not initial
or ServiceAppointment.SrvcDocApptEndDateTime is not initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SRVCDOCAPPOINTMENT",
"I_SUBSCRIPTIONCONTRACT"
],
"ASSOCIATED":
[
"I_SRVCDOCAPPOINTMENTTYPETEXT"
],
"BASE":
[
"I_SRVCDOCAPPOINTMENT"
],
"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