I_CADisputeCase
Dispute Case Attribute
I_CADisputeCase is a Composite CDS View that provides data about "Dispute Case Attribute" in SAP S/4HANA. It reads from 1 data source (P_CADisputeCaseAttribute) and exposes 115 fields with key field CaseUUID. It has 11 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_CADisputeCaseAttribute | P_CADisputeCaseAttribute | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_User | _CaseProcessor | $projection.CaseProcessor = _CaseProcessor.UserID |
| [0..1] | I_User | _CaseResponsible | $projection.CaseResponsible = _CaseResponsible.UserID |
| [0..1] | I_User | _DisputeCaseCoordinator | $projection.DisputeCaseCoordinator = _DisputeCaseCoordinator.UserID |
| [0..1] | I_User | _CaseCreatedBy | $projection.CaseCreatedBy = _CaseCreatedBy.UserID |
| [0..1] | I_User | _CaseLastChangedBy | $projection.CaseLastChangedBy = _CaseLastChangedBy.UserID |
| [0..1] | I_User | _CaseClosedBy | $projection.CaseClosedBy = _CaseClosedBy.UserID |
| [1..1] | I_RootCause | _RootCause | $projection.CaseType = _RootCause.CaseType and $projection.DisputeCaseRootCause = _RootCause.DisputeCaseRootCause |
| [0..*] | I_CaseIndivStatusText | _CaseIndividualStatusText | $projection.CaseStatusProfile = _CaseIndividualStatusText.CaseStatusProfile and $projection.CaseStatus = _CaseIndividualStatusText.CaseStatus |
| [0..*] | I_CADisputeCaseOriginText | _CaseOriginText | $projection.CADisputeCaseOrigin = _CaseOriginText.CADisputeCaseOrigin |
| [0..*] | I_CountryText | _ContactPersonFaxCountryText | $projection.ContactPersonFaxCountry = _ContactPersonFaxCountryText.Country |
| [0..*] | I_CASubApplicationText | _CASubApplicationText | $projection.CASubApplication = _CASubApplicationText.CASubApplication |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICADISPUTECASE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Dispute Case Attribute | view |
Fields (115)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CaseUUID | CaseUUID | UUID | |
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| CAContract | ||||
| CAApplicationArea | CAApplicationArea | ApplicationArea | ||
| CASubApplication | Subapplication | |||
| DisputedAmount | DisputedAmount | Disputed Amount | ||
| TotalReceivablesAmount | TotalReceivablesAmount | |||
| DisputeCaseCorrectionAmount | DisputeCaseCorrectionAmount | |||
| DisputeCaseReversedAmount | DisputeCaseReversedAmount | |||
| CreditedAmount | CreditedAmount | Credited | ||
| WriteOffAmount | WriteOffAmount | Cleared Manually | ||
| DisputeCaseReplacedAmount | DisputeCaseReplacedAmount | |||
| PaidAmount | PaidAmount | Paid Amount | ||
| CARemainingDisputedAmount | CARemainingDisputedAmount | |||
| DisputeCaseCurrency | DisputeCaseCurrency | Currency | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| DisputeCaseCoordinator | DisputeCaseCoordinator | Coordinator | ||
| DsputCaseCoordinatorFullName | _DisputeCaseCoordinator | UserDescription | Full Name | |
| DisputeCaseRootCause | DisputeCaseRootCause | Root Cause Code | ||
| CaseRootCauseDescription | ||||
| MissingDocCaseRootCause | DisputeCaseRootCause | Root Cause Code | ||
| IncorrectDocCaseRootCause | DisputeCaseRootCause | Root Cause Code | ||
| CaseProcessingDeadlineDate | CaseProcessingDeadlineDate | Process. Deadline | ||
| ContactPersonFullName | ContactPersonFullName | |||
| ContactPersonEmailAddress | ContactPersonEmailAddress | |||
| ContactPersonPhoneNumber | ContactPersonPhoneNumber | Telephone No. | ||
| ContactPersonFaxNumber | ContactPersonFaxNumber | Fax Number | ||
| ContactPersonFaxCountry | ContactPersonFaxCountry | C/R of Fax No. | ||
| DisputeCaseBPCorrespondenceKey | DisputeCaseBPCorrespondenceKey | |||
| DisputeCaseInformationText | DisputeCaseInformationText | |||
| DisputeCaseTransactionDate | DisputeCaseTransactionDate | |||
| CADisputeType | ||||
| CADisputeCase | CADisputeCase | |||
| CaseType | CaseType | Upper/Lowercase | ||
| CaseID | CaseID | Case ID | ||
| CaseExternalReference | CaseExternalReference | External Reference | ||
| CaseCreatedBy | CaseCreatedBy | Created By | ||
| CaseCreatedByUserName | _CaseCreatedBy | UserDescription | Full Name | |
| CaseCreationDate | CaseCreationDate | |||
| CaseLastChangedBy | CaseLastChangedBy | Changed By | ||
| CaseLastChangedByUserName | _CaseLastChangedBy | UserDescription | Full Name | |
| CaseLastChangedOn | Last Changed At | |||
| CaseStatusProfile | CaseStatusProfile | Status Profile | ||
| CaseClosedBy | CaseClosedBy | Closed By | ||
| CaseClosedByUserName | _CaseClosedBy | UserDescription | Full Name | |
| CaseClosedTime | CaseClosedTime | Closed At | ||
| CasePlannedCloseDate | CasePlannedCloseDate | Planned Close Date | ||
| CaseProcessor | CaseProcessor | Processor | ||
| CaseProcessorName | _CaseProcessor | UserDescription | Full Name | |
| CaseResponsible | CaseResponsible | Person Responsible | ||
| CaseResponsibleName | _CaseResponsible | UserDescription | Full Name | |
| CaseTitle | CaseTitle | Case Title | ||
| CaseAuthorizationLevel | CaseAuthorizationLevel | Auth. Level | ||
| CaseStatus | CaseStatus | Status | ||
| MissingDocumentCaseStatus | CaseStatus | Status | ||
| IncorrectDocumentCaseStatus | CaseStatus | Status | ||
| CaseStatusName | ||||
| CaseSystemStatus | CaseSystemStatus | System Status | ||
| CaseUserStatusName | CaseUserStatusName | User Status | ||
| CasePriority | CasePriority | Priority | ||
| DisputeCasePriorityName | DisputeCasePriorityName | |||
| CaseCategory | CaseCategory | Category | ||
| DisputeCaseCategoryName | DisputeCaseCategoryName | |||
| MissingDocCaseCategory | CaseCategory | Category | ||
| IncorrectDocCaseCategory | CaseCategory | Category | ||
| CaseReason | CaseReason | Reason | ||
| CaseReasonName | CaseReasonName | |||
| MissingDocCaseReason | CaseReason | Reason | ||
| IncorrectDocCaseReason | CaseReason | Reason | ||
| CACaseEscltnRsnForMissingDoc | CACaseEscltnRsnForMissingDoc | Escalation Reason | ||
| CACaseEscltnRsnForIncorrectDoc | CACaseEscltnRsnForIncorrectDoc | Escalation Reason | ||
| CaseEscalationReason | CaseEscalationReason | Escalation Reason | ||
| DsputCaseEscalationRsnName | DsputCaseEscalationRsnName | |||
| CADisputeTypeText | CADisputeTypeText | |||
| BusinessPartnerFullName | BusinessPartnerFullName | Broker Name | ||
| StreetName | StreetName | Text | ||
| HouseNumber | HouseNumber | House Number | ||
| CountryName | CountryName | Country | ||
| PostalCode | PostalCode | Postal Code | ||
| CityName | CityName | Name | ||
| ContractAccountName | ContractAccountName | Cont. acct name | ||
| CompanyCodeName | CompanyCodeName | Company Name | ||
| CACaseConversionStatus | CACaseConversionStatus | |||
| CaseIsDisplayOnly | CaseIsDisplayOnly | |||
| CaseIsClosed | CaseIsClosed | |||
| CADisputeCaseProcessingIsActv | CADisputeCaseProcessingIsActv | |||
| DisputeCaseOrigin | DisputeCaseOrigin | |||
| CADisputeCaseOrigin | CADisputeCaseOrigin | |||
| CADisputeCaseOriginText | ||||
| CaseAttributeProfile | _CaseTypes | CaseAttributeProfile | ||
| UserDescription | _CaseProcessor | UserDescription | Full Name | |
| _Priority | _Priority | |||
| _Escalation | _Escalation | |||
| _Reasons | _Reasons | |||
| _Category | _Category | |||
| _BusinessPartner | _BusinessPartner | |||
| _ContractAccount | _ContractAccount | |||
| _CompCode | _CompCode | |||
| _Currency | _Currency | |||
| _CaseSystemStatus | _CaseSystemStatus | |||
| _StatProfile | _StatProfile | |||
| _CaseTypes | _CaseTypes | |||
| _CaseProcessor | _CaseProcessor | |||
| _CaseResponsible | _CaseResponsible | |||
| _DisputeCaseCoordinator | _DisputeCaseCoordinator | |||
| _CaseCreatedBy | _CaseCreatedBy | |||
| _CaseLastChangedBy | _CaseLastChangedBy | |||
| _CaseClosedBy | _CaseClosedBy | |||
| _RootCause | _RootCause | |||
| _CaseIndividualStatusText | _CaseIndividualStatusText | |||
| _CaseOriginText | _CaseOriginText | |||
| _ContactPersonFaxCountryText | _ContactPersonFaxCountryText | |||
| _CASubApplicationText | _CASubApplicationText |
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 I_CADisputeCase.
-- 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.
-- SQL view name: ICADISPUTECASE
CREATE VIEW I_CADisputeCase AS
SELECT
CaseUUID,
BusinessPartner,
ContractAccount,
cast ( ltrim( CAContract,'0') as fica_vtref preserving type ) AS CAContract,
CAApplicationArea,
cast( CASubApplication as subap_kk ) AS CASubApplication,
DisputedAmount,
TotalReceivablesAmount,
DisputeCaseCorrectionAmount,
DisputeCaseReversedAmount,
CreditedAmount,
WriteOffAmount,
DisputeCaseReplacedAmount,
PaidAmount,
CARemainingDisputedAmount,
DisputeCaseCurrency,
LogicalSystem,
CompanyCode,
DisputeCaseCoordinator,
_DisputeCaseCoordinator.UserDescription AS DsputCaseCoordinatorFullName,
DisputeCaseRootCause,
_RootCause._Text[1:Language = $session.system_language].CaseRootCauseDescription AS CaseRootCauseDescription,
DisputeCaseRootCause AS MissingDocCaseRootCause,
DisputeCaseRootCause AS IncorrectDocCaseRootCause,
CaseProcessingDeadlineDate,
ContactPersonFullName,
ContactPersonEmailAddress,
ContactPersonPhoneNumber,
ContactPersonFaxNumber,
ContactPersonFaxCountry,
DisputeCaseBPCorrespondenceKey,
DisputeCaseInformationText,
DisputeCaseTransactionDate,
cast( CADisputeType as fica_dispute_type_gfn ) AS CADisputeType,
CADisputeCase,
CaseType,
CaseID,
CaseExternalReference,
CaseCreatedBy,
_CaseCreatedBy.UserDescription AS CaseCreatedByUserName,
CaseCreationDate,
CaseLastChangedBy,
_CaseLastChangedBy.UserDescription AS CaseLastChangedByUserName,
cast( CaseLastChangedOn as coll_pr_changed_at preserving type ) AS CaseLastChangedOn,
CaseStatusProfile,
CaseClosedBy,
_CaseClosedBy.UserDescription AS CaseClosedByUserName,
CaseClosedTime,
CasePlannedCloseDate,
CaseProcessor,
_CaseProcessor.UserDescription AS CaseProcessorName,
CaseResponsible,
_CaseResponsible.UserDescription AS CaseResponsibleName,
CaseTitle,
CaseAuthorizationLevel,
CaseStatus,
CaseStatus AS MissingDocumentCaseStatus,
CaseStatus AS IncorrectDocumentCaseStatus,
cast(_CaseIndividualStatusText[1:Language = $session.system_language].CaseStatusName as scmgstat_descr_gfn) AS CaseStatusName,
CaseSystemStatus,
CaseUserStatusName,
CasePriority,
DisputeCasePriorityName,
CaseCategory,
DisputeCaseCategoryName,
CaseCategory AS MissingDocCaseCategory,
CaseCategory AS IncorrectDocCaseCategory,
CaseReason,
CaseReasonName,
CaseReason AS MissingDocCaseReason,
CaseReason AS IncorrectDocCaseReason,
CACaseEscltnRsnForMissingDoc,
CACaseEscltnRsnForIncorrectDoc,
CaseEscalationReason,
DsputCaseEscalationRsnName,
CADisputeTypeText,
BusinessPartnerFullName,
StreetName,
HouseNumber,
CountryName,
PostalCode,
CityName,
ContractAccountName,
CompanyCodeName,
CACaseConversionStatus,
CaseIsDisplayOnly,
CaseIsClosed,
CADisputeCaseProcessingIsActv,
DisputeCaseOrigin,
CADisputeCaseOrigin,
_CaseOriginText[1:Language = $session.system_language].CADisputeCaseOriginText AS CADisputeCaseOriginText,
_CaseTypes.CaseAttributeProfile AS CaseAttributeProfile,
_CaseProcessor.UserDescription AS UserDescription
FROM P_CADisputeCaseAttribute
LEFT OUTER JOIN I_User AS _CaseProcessor ON CaseProcessor = _CaseProcessor.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _CaseResponsible ON CaseResponsible = _CaseResponsible.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _DisputeCaseCoordinator ON DisputeCaseCoordinator = _DisputeCaseCoordinator.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _CaseCreatedBy ON CaseCreatedBy = _CaseCreatedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _CaseLastChangedBy ON CaseLastChangedBy = _CaseLastChangedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _CaseClosedBy ON CaseClosedBy = _CaseClosedBy.UserID -- association [0..1]
LEFT OUTER JOIN I_RootCause AS _RootCause ON CaseType = _RootCause.CaseType AND DisputeCaseRootCause = _RootCause.DisputeCaseRootCause -- association [1..1]
LEFT OUTER JOIN I_CaseIndivStatusText AS _CaseIndividualStatusText ON CaseStatusProfile = _CaseIndividualStatusText.CaseStatusProfile AND CaseStatus = _CaseIndividualStatusText.CaseStatus -- association [0..*]
LEFT OUTER JOIN I_CADisputeCaseOriginText AS _CaseOriginText ON CADisputeCaseOrigin = _CaseOriginText.CADisputeCaseOrigin -- association [0..*]
LEFT OUTER JOIN I_CountryText AS _ContactPersonFaxCountryText ON ContactPersonFaxCountry = _ContactPersonFaxCountryText.Country -- association [0..*]
LEFT OUTER JOIN I_CASubApplicationText AS _CASubApplicationText ON CASubApplication = _CASubApplicationText.CASubApplication -- 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