R_DisputeCaseDraftCollsSgmtTP
Dispute Case TP
R_DisputeCaseDraftCollsSgmtTP is a Transactional CDS View that provides data about "Dispute Case TP" in SAP S/4HANA. It reads from 2 data sources (I_CollsSgmtCompanyCodeAssgmt, P_DisputeCaseDraft) and exposes 69 fields with key fields CollectionSegment, DisputeCaseUUID. It has 6 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CollsSgmtCompanyCodeAssgmt | I_CollsSgmtCompanyCodeAssgmt | from |
| P_DisputeCaseDraft | P_DisputeCaseDraft | inner |
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_RblsMgmtUserContactCard | _CreatedByContactCard | $projection.CaseCreatedBy = _CreatedByContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _ChangedByContactCard | $projection.CaseLastChangedBy = _ChangedByContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _ClosedByContactCard | $projection.CaseClosedBy = _ClosedByContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _DisputeCaseCoordinatorCard | $projection.DisputeCaseCoordinator = _DisputeCaseCoordinatorCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _ProcessorContactCard | $projection.CaseProcessor = _ProcessorContactCard.ContactCardID |
| [0..1] | R_RblsMgmtUserContactCard | _ResponsibleContactCard | $projection.CaseResponsible = _ResponsibleContactCard.ContactCardID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RDISPCCLLSGTP | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Dispute Case TP | view | |
| ObjectModel.representativeKey | DisputeCaseUUID | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (69)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CollectionSegment | CollectionSegment | ||
| KEY | DisputeCaseUUID | DisputeCaseUUID | ||
| DraftUUID | DraftUUID | |||
| DisputeCaseCoordinator | DisputeCaseCoordinator | |||
| DisputeCaseRootCause | DisputeCaseRootCause | |||
| CaseProcessingDeadlineDate | CaseProcessingDeadlineDate | |||
| OriginalAmount | OriginalAmount | |||
| DisputedAmount | DisputedAmount | |||
| PaidAmount | PaidAmount | |||
| CreditedAmount | CreditedAmount | |||
| WriteOffAmount | WriteOffAmount | |||
| ManuallyClearedAmount | ManuallyClearedAmount | |||
| DisputeCaseCurrency | DisputeCaseCurrency | |||
| CustomerDisputedAmount | CustomerDisputedAmount | |||
| CustomerDisputedCurrency | CustomerDisputedCurrency | |||
| ContactPersonName | ContactPersonName | |||
| ContactPersonEmailAddress | ContactPersonEmailAddress | |||
| ContactPersonPhoneNumber | ContactPersonPhoneNumber | |||
| ContactPersonFaxNumber | ContactPersonFaxNumber | |||
| ContactPersonFaxCountry | ContactPersonFaxCountry | |||
| Customer | Customer | |||
| CompanyCode | P_DisputeCaseDraft | CompanyCode | ||
| DisputeCaseExternalApplication | DisputeCaseExternalApplication | |||
| CaseType | CaseType | |||
| CaseID | CaseID | |||
| CaseExternalReference | CaseExternalReference | |||
| CaseCreatedBy | CaseCreatedBy | |||
| CaseCreatedOn | CaseCreatedOn | |||
| CaseLastChangedBy | CaseLastChangedBy | |||
| CaseLastChangedOn | CaseLastChangedOn | |||
| CaseClosedBy | CaseClosedBy | |||
| CaseClosedTime | CaseClosedTime | |||
| CasePlannedCloseDate | CasePlannedCloseDate | |||
| CaseProcessor | CaseProcessor | |||
| CaseResponsible | CaseResponsible | |||
| CaseTitle | CaseTitle | |||
| CaseEscalationReason | CaseEscalationReason | |||
| CaseCategory | CaseCategory | |||
| CasePriority | CasePriority | |||
| CaseAuthorizationLevel | CaseAuthorizationLevel | |||
| CaseStatusProfile | CaseStatusProfile | |||
| CaseStatus | CaseStatus | |||
| CaseSystemStatus | CaseSystemStatus | |||
| CaseReason | CaseReason | |||
| IsActiveEntity | IsActiveEntity | |||
| HasActiveEntity | HasActiveEntity | |||
| DraftCreationDateTime | DraftCreationDateTime | |||
| DraftLastChangedDateTime | DraftLastChangedDateTime | |||
| _AuthLevel | _AuthLevel | |||
| _CaseSystemStatus | _CaseSystemStatus | |||
| _CaseTypes | _CaseTypes | |||
| _CaseCategory | _CaseCategory | |||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _ClosedByContactCard | _ClosedByContactCard | |||
| _CompanyCode | P_DisputeCaseDraft | _CompanyCode | ||
| _Country | _Country | |||
| _CreatedByContactCard | _CreatedByContactCard | |||
| _Customer | _Customer | |||
| _DisputeCaseCoordinatorCard | _DisputeCaseCoordinatorCard | |||
| _DisputeCaseExternalAppl | _DisputeCaseExternalAppl | |||
| _Escalation | _Escalation | |||
| _Individual | _Individual | |||
| _Priority | _Priority | |||
| _ProcessorContactCard | _ProcessorContactCard | |||
| _Reasons | _Reasons | |||
| _ResponsibleContactCard | _ResponsibleContactCard | |||
| _RootCause | _RootCause | |||
| _StatProfile | _StatProfile | |||
| _CollectionSegment | _CollectionSegment |
@AbapCatalog: { sqlViewName: 'RDISPCCLLSGTP',
preserveKey: true,
compiler: { compareFilter: true } }
@ClientHandling: { algorithm: #SESSION_VARIABLE }
@EndUserText: { label: 'Dispute Case TP' }
@ObjectModel: { semanticKey: [ 'DisputeCaseUUID', 'CaseID' ],
representativeKey: 'DisputeCaseUUID',
usageType: { dataClass: #TRANSACTIONAL,
sizeCategory: #L,
serviceQuality: #C } }
@AccessControl: { authorizationCheck: #CHECK,
privilegedAssociations: ['_DisputeCaseCoordinatorCard',
'_CreatedByContactCard',
'_ChangedByContactCard',
'_ClosedByContactCard',
'_ProcessorContactCard',
'_ResponsibleContactCard' ],
personalData: { blocking: #BLOCKED_DATA_EXCLUDED } }
@VDM: { viewType: #TRANSACTIONAL,
usage: { type: [ #TRANSACTIONAL_PROCESSING_SERVICE ] },
lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
define root view R_DisputeCaseDraftCollsSgmtTP
as select from I_CollsSgmtCompanyCodeAssgmt
inner join P_DisputeCaseDraft on I_CollsSgmtCompanyCodeAssgmt.CompanyCode = P_DisputeCaseDraft.CompanyCode
// VDM Associations
// 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
// Processor Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ProcessorContactCard on $projection.CaseProcessor = _ProcessorContactCard.ContactCardID
// Person Responsible Contact Card
association [0..1] to R_RblsMgmtUserContactCard as _ResponsibleContactCard on $projection.CaseResponsible = _ResponsibleContactCard.ContactCardID
{
// VDM Fields
key CollectionSegment,
key DisputeCaseUUID,
DraftUUID,
@ObjectModel: { foreignKey: { association: '_DisputeCaseCoordinatorCard' } }
DisputeCaseCoordinator,
DisputeCaseRootCause,
CaseProcessingDeadlineDate,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
OriginalAmount,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
DisputedAmount,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
PaidAmount,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
CreditedAmount,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
WriteOffAmount,
@Semantics: { amount: { currencyCode: 'DisputeCaseCurrency' } }
ManuallyClearedAmount,
@Semantics: { currencyCode: true }
DisputeCaseCurrency,
@Semantics: { amount: { currencyCode: 'CustomerDisputedCurrency' } }
CustomerDisputedAmount,
@Semantics: { currencyCode: true }
CustomerDisputedCurrency,
@Semantics: { name: { fullName: true } }
ContactPersonName,
@Semantics: { eMail: { address: true } }
ContactPersonEmailAddress,
@Semantics: { telephone: { type: [ #PREF ] } }
ContactPersonPhoneNumber,
@Semantics: { telephone: { type: [ #FAX ] } }
ContactPersonFaxNumber,
ContactPersonFaxCountry,
Customer,
P_DisputeCaseDraft.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,
IsActiveEntity,
HasActiveEntity,
DraftCreationDateTime,
DraftLastChangedDateTime,
// Exposed Associations
_AuthLevel,
_CaseSystemStatus,
_CaseTypes,
_CaseCategory,
_ChangedByContactCard,
_ClosedByContactCard,
P_DisputeCaseDraft._CompanyCode,
_Country,
_CreatedByContactCard,
_Customer,
_DisputeCaseCoordinatorCard,
_DisputeCaseExternalAppl,
_Escalation,
_Individual,
_Priority,
_ProcessorContactCard,
_Reasons,
_ResponsibleContactCard,
_RootCause,
_StatProfile,
_CollectionSegment
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COLLSSGMTCOMPANYCODEASSGMT",
"P_DISPUTECASEDRAFT"
],
"ASSOCIATED":
[
"I_CASEAUTHORIZATIONLEVEL",
"I_CASECATEGORY",
"I_CASEESCALATIONREASON",
"I_CASEINDIVIDUALSTATUS",
"I_CASEPRIORITY",
"I_CASEREASONS",
"I_CASESTATUSPROFILE",
"I_CASESYSTEMSTATUS",
"I_CASETYPES",
"I_COLLECTIONSEGMENT",
"I_COMPANYCODE",
"I_COUNTRY",
"I_CUSTOMER",
"I_DISPUTECASEEXTERNALAPPL",
"I_ROOTCAUSE",
"R_RBLSMGMTUSERCONTACTCARD"
],
"BASE":
[
"I_COLLSSGMTCOMPANYCODEASSGMT",
"P_DISPUTECASEDRAFT"
],
"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