A_ServiceConfirmation
Service Confirmation
A_ServiceConfirmation is a Composite CDS View that provides data about "Service Confirmation" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentEnhcd) and exposes 49 fields with key field ServiceConfirmation. It has 15 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ServiceDocumentEnhcd | ServiceConfirmation | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_ServiceConfirmationItem | _Item | $projection.ServiceConfirmation = _Item.ServiceConfirmation |
| [0..*] | A_ServiceConfPersonResp | _PersonResponsible | $projection.ServiceConfirmation = _PersonResponsible.ServiceConfirmation |
| [0..*] | A_ServiceConfRefObject | _ReferenceObject | $projection.ServiceConfirmation = _ReferenceObject.ServiceConfirmation |
| [0..*] | A_ServiceConfirmationText | _Text | $projection.ServiceConfirmation = _Text.ServiceConfirmation |
| [0..1] | I_StatusObjectUUIDStatus | _StatusCancelled | $projection.ServiceConfirmationUUID = _StatusCancelled.StatusObjectUUID and _StatusCancelled.StatusCode = 'I1096' |
| [0..*] | I_ServiceDocumentPredecessor | _RefServiceOrder | $projection.ServiceConfirmationUUID = _RefServiceOrder.ServiceDocumentUUID and _RefServiceOrder.ServiceDocPrdcssrBusObjType = 'BUS2000116' |
| [0..*] | A_ServiceConfPriceElement | _PricingElement | $projection.ServiceConfirmation = _PricingElement.ServiceConfirmation |
| [0..1] | I_RespyMgmtTeamHeaderDetail | _ServiceTeamHeader | $projection.RespyMgmtServiceTeam = _ServiceTeamHeader.RespyMgmtTeamID |
| [0..1] | E_ServiceDocument | _Extension | _Extension.ServiceCategory = 'BUS2000117' and $projection.ServiceConfirmation = _Extension.ServiceOrder |
| [0..*] | A_ServiceConfUserStatus | _ServiceConfUserStatus | $projection.ServiceConfirmation = _ServiceConfUserStatus.ServiceConfirmation |
| [0..*] | A_SrvcConfPartner | _Partner | $projection.ServiceConfirmation = _Partner.ServiceConfirmation |
| [0..*] | A_SrvcConfDuration | _Duration | $projection.ServiceConfirmation = _Duration.ServiceConfirmation |
| [0..*] | A_SrvcConfAppointment | _Appointment | $projection.ServiceConfirmation = _Appointment.ServiceConfirmation |
| [0..1] | I_WBSElementBasicData | _WBSElementCO | _WBSElementCO.WBSElement = ServiceConfirmation.WBSElement |
| [0..*] | A_SrvcConfTransHistory | _SrvcConfTransHistory | $projection.ServiceConfirmation = _SrvcConfTransHistory.ServiceConfirmation |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Service Confirmation | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | ASRVCON | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | ServiceConfirmation | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (49)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ServiceConfirmation | ServiceDocument | ||
| ServiceConfirmationType | ServiceDocumentType | |||
| ServiceConfirmationUUID | ServiceDocumentUUID | |||
| ServiceConfirmationDescription | ServiceDocumentDescription | |||
| ServiceObjectType | ServiceObjectType | |||
| Language | Language | |||
| ServiceDocumentPriority | ServiceDocumentPriority | |||
| RequestedServiceStartDateTime | RequestedServiceStartDateTime | |||
| RequestedServiceEndDateTime | RequestedServiceEndDateTime | |||
| ErlstRequestedDeliveryDateTime | ErlstRequestedDeliveryDateTime | |||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | |||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | |||
| ServiceConfirmationIsCanceled | _StatusCancelled | StatusIsActive | ||
| SalesOrganization | SalesOrganization | |||
| DistributionChannel | DistributionChannel | |||
| Division | Division | |||
| SalesOffice | SalesOffice | |||
| SalesGroup | SalesGroup | |||
| SoldToParty | SoldToParty | |||
| ShipToParty | ShipToParty | |||
| BillToParty | BillToParty | |||
| PayerParty | PayerParty | |||
| ContactPerson | ContactPerson | |||
| ReferenceServiceOrder | ||||
| ServiceConfirmationIsFinal | ServiceConfirmationIsFinal | |||
| ServiceDocGrossAmount | ServiceDocGrossAmount | |||
| ServiceDocNetAmount | ServiceDocNetAmount | |||
| ServiceDocTaxAmount | ServiceDocTaxAmount | |||
| TransactionCurrency | TransactionCurrency | |||
| ShippingCondition | ShippingCondition | |||
| RespyMgmtServiceTeam | RespyMgmtServiceTeam | |||
| RespyMgmtServiceTeamName | _ServiceTeamHeader | TeamName | ||
| RespyMgmtGlobalTeamID | _ServiceTeamHeader | RespyMgmtGlobalTeamID | ||
| SalesOrganizationOrgUnitID | SalesOrganizationOrgUnitID | |||
| ServiceOrganization | ServiceOrganization | |||
| SalesOfficeOrgUnitID | SalesOfficeOrgUnitID | |||
| SalesGroupOrgUnitID | SalesGroupOrgUnitID | |||
| EnterpriseServiceOrganization | EnterpriseServiceOrganization | |||
| WBSElementExternalID | _WBSElementCO | WBSElementExternalID | ||
| _Item | _Item | |||
| _PersonResponsible | _PersonResponsible | |||
| _ReferenceObject | _ReferenceObject | |||
| _Text | _Text | |||
| _PricingElement | _PricingElement | |||
| _ServiceConfUserStatus | _ServiceConfUserStatus | |||
| _Partner | _Partner | |||
| _Duration | _Duration | |||
| _Appointment | _Appointment | |||
| _SrvcConfTransHistory | _SrvcConfTransHistory |
@ClientHandling.algorithm:#SESSION_VARIABLE
@EndUserText.label: 'Service Confirmation'
@VDM: {
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@AbapCatalog: {
sqlViewName: 'ASRVCON',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl: {
authorizationCheck: #CHECK,
personalData.blocking: #('TRANSACTIONAL_DATA')
//,
// _StatusCancelled association is changed to PRIVILEGED_ONLY
//privilegedAssociations: ['_StatusCancelled']
}
@ObjectModel: {
representativeKey: 'ServiceConfirmation',
createEnabled: true,
updateEnabled: true,
usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XXL
}
}
@Metadata.ignorePropagatedAnnotations: true
define view A_ServiceConfirmation
as select from I_ServiceDocumentEnhcd as ServiceConfirmation
association [0..*] to A_ServiceConfirmationItem as _Item on $projection.ServiceConfirmation = _Item.ServiceConfirmation
association [0..*] to A_ServiceConfPersonResp as _PersonResponsible on $projection.ServiceConfirmation = _PersonResponsible.ServiceConfirmation
association [0..*] to A_ServiceConfRefObject as _ReferenceObject on $projection.ServiceConfirmation = _ReferenceObject.ServiceConfirmation
association [0..*] to A_ServiceConfirmationText as _Text on $projection.ServiceConfirmation = _Text.ServiceConfirmation
association [0..1] to I_StatusObjectUUIDStatus as _StatusCancelled on $projection.ServiceConfirmationUUID = _StatusCancelled.StatusObjectUUID
and _StatusCancelled.StatusCode = 'I1096'
association [0..*] to I_ServiceDocumentPredecessor as _RefServiceOrder on $projection.ServiceConfirmationUUID = _RefServiceOrder.ServiceDocumentUUID
and _RefServiceOrder.ServiceDocPrdcssrBusObjType = 'BUS2000116'
association [0..*] to A_ServiceConfPriceElement as _PricingElement on $projection.ServiceConfirmation = _PricingElement.ServiceConfirmation
association [0..1] to I_RespyMgmtTeamHeaderDetail as _ServiceTeamHeader on $projection.RespyMgmtServiceTeam = _ServiceTeamHeader.RespyMgmtTeamID
//Extensibility
association [0..1] to E_ServiceDocument as _Extension on _Extension.ServiceCategory = 'BUS2000117'
and $projection.ServiceConfirmation = _Extension.ServiceOrder
association [0..*] to A_ServiceConfUserStatus as _ServiceConfUserStatus on $projection.ServiceConfirmation = _ServiceConfUserStatus.ServiceConfirmation
association [0..*] to A_SrvcConfPartner as _Partner on $projection.ServiceConfirmation = _Partner.ServiceConfirmation
association [0..*] to A_SrvcConfDuration as _Duration on $projection.ServiceConfirmation = _Duration.ServiceConfirmation
association [0..*] to A_SrvcConfAppointment as _Appointment on $projection.ServiceConfirmation = _Appointment.ServiceConfirmation
association [0..1] to I_WBSElementBasicData as _WBSElementCO on _WBSElementCO.WBSElement = ServiceConfirmation.WBSElement
association [0..*] to A_SrvcConfTransHistory as _SrvcConfTransHistory on $projection.ServiceConfirmation = _SrvcConfTransHistory.ServiceConfirmation
{
key ServiceDocument as ServiceConfirmation,
@ObjectModel.sapObjectNodeTypeReference: 'ServiceDocumentType'
ServiceDocumentType as ServiceConfirmationType,
ServiceDocumentUUID as ServiceConfirmationUUID,
ServiceDocumentDescription as ServiceConfirmationDescription,
ServiceObjectType,
Language,
@ObjectModel.sapObjectNodeTypeReference: 'ServiceDocumentPriority'
ServiceDocumentPriority,
RequestedServiceStartDateTime,
RequestedServiceEndDateTime,
ErlstRequestedDeliveryDateTime,
PurchaseOrderByCustomer,
CustomerPurchaseOrderDate,
/* STATUS */
//case ServiceDocumentStatus
//when 'C' then 'X'
//else ''
//end as ServiceConfirmationIsCompleted,
case ServiceDocumentIsOpen
when '' then
case ServiceDocumentIsReleased
when '' then 'X' else ''
end
else ''
end as ServiceConfirmationIsCompleted,
_StatusCancelled.StatusIsActive as ServiceConfirmationIsCanceled,
//ServiceConfirmationIsFinal
/* ORG */
SalesOrganization,
DistributionChannel,
@ObjectModel.sapObjectNodeTypeReference: 'Division'
Division,
SalesOffice,
SalesGroup,
/* PARTNER */
SoldToParty,
ShipToParty,
BillToParty,
PayerParty,
ContactPerson,
_RefServiceOrder._ServiceDoc.ServiceDocument as ReferenceServiceOrder,
ServiceConfirmationIsFinal,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocGrossAmount,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocNetAmount,
@Semantics: { amount : {currencyCode: 'TransactionCurrency'} }
ServiceDocTaxAmount,
@ObjectModel.sapObjectNodeTypeReference: 'Currency'
TransactionCurrency,
/* Shipping */
ShippingCondition,
/********************************************************/
/********* Cloud Specific Fields **************************/
//Service Team
//@ObjectModel.editableFieldFor: 'RespyMgmtServiceTeamName'
//@feature: 'BF:API_ESSENTIALSCOPE'
RespyMgmtServiceTeam,
//@feature: 'BF:API_ESSENTIALSCOPE'
@ObjectModel.readOnly: true
_ServiceTeamHeader.TeamName as RespyMgmtServiceTeamName,
//@feature: 'BF:API_ESSENTIALSCOPE'
_ServiceTeamHeader.RespyMgmtGlobalTeamID as RespyMgmtGlobalTeamID,
/********************************************************/
/********************************************************/
/********* OP Specific Fields **************************/
//@feature: 'BF:API_FULLSCOPE'
SalesOrganizationOrgUnitID,
//@feature: 'BF:API_FULLSCOPE'
ServiceOrganization,
//@feature: 'BF:API_FULLSCOPE'
SalesOfficeOrgUnitID,
//@feature: 'BF:API_FULLSCOPE'
SalesGroupOrgUnitID,
@Feature: 'BF:API_FULLSCOPE'
@ObjectModel.sapObjectNodeTypeReference: 'EnterpriseServiceOrganization'
EnterpriseServiceOrganization,
/********************************************************/
_WBSElementCO.WBSElementExternalID,
//Associations
_Item,
_PersonResponsible,
_ReferenceObject,
_Text,
_PricingElement,
_ServiceConfUserStatus,
//@Feature: 'BF:API_FULLSCOPE'
_Partner,
_Duration,
_Appointment,
_SrvcConfTransHistory
}
where
ServiceObjectType = 'BUS2000117' // Service Confirmation
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