R_DisputeCaseTP
Dispute Case
R_DisputeCaseTP is a Transactional CDS View that provides data about "Dispute Case" in SAP S/4HANA. It reads from 1 data source (R_DisputeCase) and exposes 73 fields with key field DisputeCaseUUID. It has 16 associations to related views. Part of development package ODATA_DISPUTE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_DisputeCase | R_DisputeCase | from |
Associations (16)
| 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] | I_BusinessUser | _CoordinatorUser | $projection.DisputeCaseCoordinator = _CoordinatorUser.UserID |
| [0..1] | R_RblsMgmtUserContactCard | _ProcessorContactCard | $projection.CaseProcessor = _ProcessorContactCard.ContactCardID |
| [0..1] | I_BusinessUser | _ProcessorUser | $projection.CaseProcessor = _ProcessorUser.UserID |
| [0..1] | R_RblsMgmtUserContactCard | _ResponsibleContactCard | $projection.CaseResponsible = _ResponsibleContactCard.ContactCardID |
| [0..1] | I_BusinessUser | _ResponsibleUser | $projection.CaseResponsible = _ResponsibleUser.UserID |
| [0..1] | R_CollectionsCustomerQuickView | _CustomerQuickView | $projection.Customer = _CustomerQuickView.Customer and $projection.CompanyCode = _CustomerQuickView.CompanyCode |
| [0..*] | R_DisputeCaseProtocol | _DisputeCaseProtocol | $projection.DisputeCaseUUID = _DisputeCaseProtocol.DisputeCaseUUID |
| [0..1] | R_DisputeCaseLinkedInvoice | _LinkedInvoice | $projection.DisputeCaseUUID = _LinkedInvoice.DisputeCaseUUID |
| [0..1] | I_CustomerContact | _CustomerContact | $projection.ContactPerson = _CustomerContact.CustomerContact |
| [1] | E_DisputeCase | _Extension | $projection.DisputeCaseUUID = _Extension.DisputeCaseUUID |
| [0..1] | I_SitnInstceIndicator | _SitnInstceIndicator | _SitnInstceIndicator.SitnInstceAnchorObjectKey = $projection.DisputeCaseUUID and _SitnInstceIndicator.SitnDefAnchorObject = 'DisputeCaseUUID' |
| [0..*] | R_DisputeCaseLinkedObjectTP | _DisputeCaseLinkedObjects | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Dispute Case | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.modelCategory | #BUSINESS_OBJECT | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.representativeKey | DisputeCaseUUID | view | |
| ObjectModel.sapObjectNodeType.name | DisputeCase | view |
Fields (73)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | DisputeCaseUUID | DisputeCaseUUID | UUID | |
| DisputeCaseCoordinator | DisputeCaseCoordinator | Coordinator | ||
| DisputeCaseRootCause | DisputeCaseRootCause | Root Cause Code | ||
| CaseProcessingDeadlineDate | CaseProcessingDeadlineDate | Process. Deadline | ||
| OriginalAmount | OriginalAmount | Original Disputed Amount | ||
| DisputedAmount | DisputedAmount | Disputed Amount | ||
| PaidAmount | PaidAmount | Paid Amount | ||
| CreditedAmount | CreditedAmount | Credited | ||
| WriteOffAmount | WriteOffAmount | Cleared Manually | ||
| ManuallyClearedAmount | ManuallyClearedAmount | Automatically Written Off | ||
| DisputeCaseCurrency | DisputeCaseCurrency | Currency | ||
| CustomerDisputedAmount | CustomerDisputedAmount | Customer Disputed Amount | ||
| CustomerDisputedCurrency | CustomerDisputedCurrency | Currency | ||
| ContactPersonName | ContactPersonName | Full Name | ||
| ContactPersonEmailAddress | ContactPersonEmailAddress | |||
| ContactPersonPhoneNumber | ContactPersonPhoneNumber | Telephone No. | ||
| ContactPersonFaxNumber | ContactPersonFaxNumber | Fax Number | ||
| ContactPersonFaxCountry | ContactPersonFaxCountry | C/R of Fax No. | ||
| ContactPerson | ContactPerson | Contact Person Key | ||
| Customer | Customer | Sold-to Party | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| DisputeCaseExternalApplication | DisputeCaseExternalApplication | External Appl. | ||
| CaseType | CaseType | Upper/Lowercase | ||
| CaseID | CaseID | Case ID | ||
| CaseExternalReference | CaseExternalReference | External Reference | ||
| CaseCreatedBy | CaseCreatedBy | Created By | ||
| CaseCreatedOn | CaseCreatedOn | Created At | ||
| CaseLastChangedBy | CaseLastChangedBy | Changed By | ||
| CaseLastChangedOn | CaseLastChangedOn | Last Changed At | ||
| CaseClosedBy | CaseClosedBy | Closed By | ||
| CaseClosedTime | CaseClosedTime | Closed At | ||
| CasePlannedCloseDate | CasePlannedCloseDate | Planned Close Date | ||
| CaseProcessor | CaseProcessor | Processor | ||
| CaseResponsible | CaseResponsible | Person Responsible | ||
| CaseTitle | CaseTitle | Case Title | ||
| CaseEscalationReason | CaseEscalationReason | Escalation Reason | ||
| CaseCategory | CaseCategory | Category | ||
| CasePriority | CasePriority | Priority | ||
| CaseAuthorizationLevel | CaseAuthorizationLevel | Auth. Level | ||
| CaseStatusProfile | CaseStatusProfile | Status Profile | ||
| CaseStatus | CaseStatus | Status | ||
| CaseSystemStatus | CaseSystemStatus | System Status | ||
| CaseReason | CaseReason | Reason | ||
| CaseUserStatusName | CaseUserStatusName | User Status | ||
| _AuthLevel | _AuthLevel | |||
| _CaseSystemStatus | _CaseSystemStatus | |||
| _CaseTypes | _CaseTypes | |||
| _CaseCategory | _CaseCategory | |||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _ClosedByContactCard | _ClosedByContactCard | |||
| _CompanyCode | _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 | |||
| _DisputeCaseLinkedObjects | _DisputeCaseLinkedObjects | |||
| _CustomerQuickView | _CustomerQuickView | |||
| _DisputeCaseProtocol | _DisputeCaseProtocol | |||
| _LinkedInvoice | _LinkedInvoice | |||
| _CoordinatorUser | _CoordinatorUser | |||
| _ProcessorUser | _ProcessorUser | |||
| _ResponsibleUser | _ResponsibleUser | |||
| _CustomerContact | _CustomerContact | |||
| _SitnInstceIndicator | _SitnInstceIndicator |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view R_DisputeCaseTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW R_DisputeCaseTP AS
SELECT
DisputeCaseUUID,
DisputeCaseCoordinator,
DisputeCaseRootCause,
CaseProcessingDeadlineDate,
OriginalAmount,
DisputedAmount,
PaidAmount,
CreditedAmount,
WriteOffAmount,
ManuallyClearedAmount,
DisputeCaseCurrency,
CustomerDisputedAmount,
CustomerDisputedCurrency,
ContactPersonName,
ContactPersonEmailAddress,
ContactPersonPhoneNumber,
ContactPersonFaxNumber,
ContactPersonFaxCountry,
ContactPerson,
Customer,
CompanyCode,
DisputeCaseExternalApplication,
CaseType,
CaseID,
CaseExternalReference,
CaseCreatedBy,
CaseCreatedOn,
CaseLastChangedBy,
CaseLastChangedOn,
CaseClosedBy,
CaseClosedTime,
CasePlannedCloseDate,
CaseProcessor,
CaseResponsible,
CaseTitle,
CaseEscalationReason,
CaseCategory,
CasePriority,
CaseAuthorizationLevel,
CaseStatusProfile,
CaseStatus,
CaseSystemStatus,
CaseReason,
CaseUserStatusName
FROM R_DisputeCase
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _CreatedByContactCard ON CaseCreatedBy = _CreatedByContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _ChangedByContactCard ON CaseLastChangedBy = _ChangedByContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _ClosedByContactCard ON CaseClosedBy = _ClosedByContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _DisputeCaseCoordinatorCard ON DisputeCaseCoordinator = _DisputeCaseCoordinatorCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _CoordinatorUser ON DisputeCaseCoordinator = _CoordinatorUser.UserID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _ProcessorContactCard ON CaseProcessor = _ProcessorContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _ProcessorUser ON CaseProcessor = _ProcessorUser.UserID -- association [0..1]
LEFT OUTER JOIN R_RblsMgmtUserContactCard AS _ResponsibleContactCard ON CaseResponsible = _ResponsibleContactCard.ContactCardID -- association [0..1]
LEFT OUTER JOIN I_BusinessUser AS _ResponsibleUser ON CaseResponsible = _ResponsibleUser.UserID -- association [0..1]
LEFT OUTER JOIN R_CollectionsCustomerQuickView AS _CustomerQuickView ON Customer = _CustomerQuickView.Customer AND CompanyCode = _CustomerQuickView.CompanyCode -- association [0..1]
LEFT OUTER JOIN R_DisputeCaseProtocol AS _DisputeCaseProtocol ON DisputeCaseUUID = _DisputeCaseProtocol.DisputeCaseUUID -- association [0..*]
LEFT OUTER JOIN R_DisputeCaseLinkedInvoice AS _LinkedInvoice ON DisputeCaseUUID = _LinkedInvoice.DisputeCaseUUID -- association [0..1]
LEFT OUTER JOIN I_CustomerContact AS _CustomerContact ON ContactPerson = _CustomerContact.CustomerContact -- association [0..1]
LEFT OUTER JOIN E_DisputeCase AS _Extension ON DisputeCaseUUID = _Extension.DisputeCaseUUID -- association [1]
LEFT OUTER JOIN I_SitnInstceIndicator AS _SitnInstceIndicator ON _SitnInstceIndicator.SitnInstceAnchorObjectKey = DisputeCaseUUID AND _SitnInstceIndicator.SitnDefAnchorObject = 'DisputeCaseUUID' -- association [0..1]
LEFT OUTER JOIN R_DisputeCaseLinkedObjectTP AS _DisputeCaseLinkedObjects ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA