R_DISPUTECASETP
Dispute Case
R_DISPUTECASETP is a CDS View in S/4HANA. Dispute Case. 5 CDS views read from this table.
CDS Views using this table (5)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| A_DisputeCase | view_entity | projection | CONSUMPTION | Dispute Case API |
| A_DisputeCaseAsCoordinator | view_entity | projection | CONSUMPTION | Dispute Cases As Coordinator |
| A_DisputeCaseAsPersonResp | view_entity | projection | CONSUMPTION | Dispute Cases As Person Responsible |
| A_DisputeCaseAsProcessor | view_entity | projection | CONSUMPTION | Dispute Cases As Processor |
| C_DisputeCaseTP | view_entity | projection | CONSUMPTION | Dispute Case |
@AccessControl: { authorizationCheck: #CHECK,
privilegedAssociations: [ '_ChangedByContactCard',
'_ClosedByContactCard',
'_CreatedByContactCard',
'_DisputeCaseCoordinatorCard',
'_ProcessorContactCard',
'_ResponsibleContactCard',
'_LinkedInvoice' ] }
@EndUserText: { label: 'Dispute Case' }
@VDM: { viewType: #TRANSACTIONAL,
lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
@ObjectModel: { usageType: { serviceQuality: #A,
sizeCategory: #L,
dataClass: #TRANSACTIONAL },
modelCategory: #BUSINESS_OBJECT,
transactionalProcessingEnabled: true,
semanticKey: [ 'DisputeCaseUUID' ],
representativeKey: 'DisputeCaseUUID',
sapObjectNodeType: { name: 'DisputeCase' } }
@Consumption: { dbHints: [ 'USE_HEX_PLAN' ] }
define root view entity R_DisputeCaseTP
as select from R_DisputeCase
// BO Associations
composition [0..*] of R_DisputeCaseLinkedObjectTP as _DisputeCaseLinkedObjects
// Created By Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _CreatedByContactCard on $projection.CaseCreatedBy = _CreatedByContactCard.ContactCardID
// Changed By Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ChangedByContactCard on $projection.CaseLastChangedBy = _ChangedByContactCard.ContactCardID
// Closed By Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ClosedByContactCard on $projection.CaseClosedBy = _ClosedByContactCard.ContactCardID
// Coordinator Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _DisputeCaseCoordinatorCard on $projection.DisputeCaseCoordinator = _DisputeCaseCoordinatorCard.ContactCardID
// Coordinator User
association [0..1] to I_BusinessUser as _CoordinatorUser on $projection.DisputeCaseCoordinator = _CoordinatorUser.UserID
// Processor Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ProcessorContactCard on $projection.CaseProcessor = _ProcessorContactCard.ContactCardID
// Processor User
association [0..1] to I_BusinessUser as _ProcessorUser on $projection.CaseProcessor = _ProcessorUser.UserID
// Person Responsible Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ResponsibleContactCard on $projection.CaseResponsible = _ResponsibleContactCard.ContactCardID
// Processor User
association [0..1] to I_BusinessUser as _ResponsibleUser on $projection.CaseResponsible = _ResponsibleUser.UserID
// Customer Quick View Facet
association [0..1] to R_CollectionsCustomerQuickView as _CustomerQuickView on $projection.Customer = _CustomerQuickView.Customer
and $projection.CompanyCode = _CustomerQuickView.CompanyCode
// Case Log
association [0..*] to R_DisputeCaseProtocol as _DisputeCaseProtocol on $projection.DisputeCaseUUID = _DisputeCaseProtocol.DisputeCaseUUID
// Container View for Invoices
association [0..1] to R_DisputeCaseLinkedInvoice as _LinkedInvoice on $projection.DisputeCaseUUID = _LinkedInvoice.DisputeCaseUUID
// Contact Person
association [0..1] to I_CustomerContact as _CustomerContact on $projection.ContactPerson = _CustomerContact.CustomerContact
// Extension Include View
association [1] to E_DisputeCase as _Extension on $projection.DisputeCaseUUID = _Extension.DisputeCaseUUID
// Situation Instances
association [0..1] to I_SitnInstceIndicator as _SitnInstceIndicator on _SitnInstceIndicator.SitnInstceAnchorObjectKey = $projection.DisputeCaseUUID
and _SitnInstceIndicator.SitnDefAnchorObject = 'DisputeCaseUUID'
{
// VDM Fields
key DisputeCaseUUID,
@ObjectModel: { foreignKey: { association: '_DisputeCaseCoordinatorCard' } }
DisputeCaseCoordinator,
DisputeCaseRootCause,
CaseProcessingDeadlineDate,
OriginalAmount,
DisputedAmount,
PaidAmount,
CreditedAmount,
WriteOffAmount,
ManuallyClearedAmount,
DisputeCaseCurrency,
CustomerDisputedAmount,
CustomerDisputedCurrency,
ContactPersonName,
ContactPersonEmailAddress,
ContactPersonPhoneNumber,
ContactPersonFaxNumber,
ContactPersonFaxCountry,
ContactPerson,
@ObjectModel: { foreignKey: { association: '_CustomerQuickView' } }
Customer,
CompanyCode,
DisputeCaseExternalApplication,
CaseType,
CaseID,
CaseExternalReference,
@ObjectModel: { foreignKey: { association: '_CreatedByContactCard' } }
CaseCreatedBy,
CaseCreatedOn,
@ObjectModel: { foreignKey: { association: '_ChangedByContactCard' } }
CaseLastChangedBy,
CaseLastChangedOn,
@ObjectModel: { foreignKey: { association: '_ClosedByContactCard' } }
CaseClosedBy,
CaseClosedTime,
CasePlannedCloseDate,
@ObjectModel: { foreignKey: { association: '_ProcessorContactCard' } }
CaseProcessor,
@ObjectModel: { foreignKey: { association: '_ResponsibleContactCard' } }
CaseResponsible,
CaseTitle,
CaseEscalationReason,
CaseCategory,
CasePriority,
CaseAuthorizationLevel,
CaseStatusProfile,
CaseStatus,
CaseSystemStatus,
CaseReason,
CaseUserStatusName,
// Exposed Associations
_AuthLevel,
_CaseSystemStatus,
_CaseTypes,
_CaseCategory,
_ChangedByContactCard,
_ClosedByContactCard,
_CompanyCode,
_Country,
_CreatedByContactCard,
_Customer,
_DisputeCaseCoordinatorCard,
_DisputeCaseExternalAppl,
_Escalation,
_Individual,
_Priority,
_ProcessorContactCard,
_Reasons,
_ResponsibleContactCard,
_RootCause,
_StatProfile,
_DisputeCaseLinkedObjects,
_CustomerQuickView,
_DisputeCaseProtocol,
_LinkedInvoice,
_CoordinatorUser,
_ProcessorUser,
_ResponsibleUser,
_CustomerContact,
_SitnInstceIndicator
}