I_CollsInvoiceRelatedDsputCase
Dispute Case Related to Invoice
I_CollsInvoiceRelatedDsputCase is a Basic CDS View that provides data about "Dispute Case Related to Invoice" in SAP S/4HANA. It has 6 associations to related views.
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 (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICOLLSINVRELDC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Dispute Case Related to Invoice | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | CaseUniqueID | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LogicalSystem | LogicalSystem | ||
| KEY | ObjectType | ObjectType | ||
| KEY | ObjectKey | ObjectKey | ||
| KEY | CaseUniqueID | CaseUniqueID | ||
| CompanyCode | CompanyCode | |||
| AccountingDocument | AccountingDocument | |||
| FiscalYear | FiscalYear | |||
| AccountingDocumentItem | AccountingDocumentItem | |||
| CaseID | CaseID | |||
| DisputeCaseCoordinator | _DisputeCase | DisputeCaseCoordinator | ||
| CaseCreatedBy | _DisputeCase | CaseCreatedBy | ||
| CaseLastChangedBy | _DisputeCase | CaseLastChangedBy | ||
| CaseClosedBy | _DisputeCase | CaseClosedBy | ||
| CaseProcessor | _DisputeCase | CaseProcessor | ||
| CaseResponsible | _DisputeCase | CaseResponsible | ||
| NumberOfDisputeCases | ||||
| _CaseAttribute | _CaseAttribute | |||
| _DisputeCase | _DisputeCase | |||
| _ChangedByContactCard | _ChangedByContactCard | |||
| _ClosedByContactCard | _ClosedByContactCard | |||
| _CreatedByContactCard | _CreatedByContactCard | |||
| _DisputeCaseCoordinatorCard | _DisputeCaseCoordinatorCard | |||
| _ProcessorContactCard | _ProcessorContactCard | |||
| _ResponsibleContactCard | _ResponsibleContactCard |
@AbapCatalog: { sqlViewName: 'ICOLLSINVRELDC',
compiler: { compareFilter: true },
preserveKey: true }
@AccessControl: { authorizationCheck: #CHECK }
@EndUserText.label: 'Dispute Case Related to Invoice'
@VDM: { viewType: #BASIC,
lifecycle: { contract: { type: #SAP_INTERNAL_API } } }
@ClientHandling: { algorithm: #SESSION_VARIABLE }
@ObjectModel: { usageType: { serviceQuality: #C,
sizeCategory: #L,
dataClass: #TRANSACTIONAL },
semanticKey: [ 'CaseUniqueID', 'CaseID' ],
representativeKey: 'CaseUniqueID' }
define root view I_CollsInvoiceRelatedDsputCase
as select distinct from I_CollsInvoiceRelatedObject
// BO 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 LogicalSystem,
key ObjectType,
key ObjectKey,
key CaseUniqueID,
CompanyCode,
AccountingDocument,
FiscalYear,
AccountingDocumentItem,
CaseID,
@ObjectModel: { foreignKey: { association: '_DisputeCaseCoordinatorCard' } }
_DisputeCase.DisputeCaseCoordinator,
@ObjectModel: { foreignKey: { association: '_CreatedByContactCard' } }
_DisputeCase.CaseCreatedBy,
@ObjectModel: { foreignKey: { association: '_ChangedByContactCard' } }
_DisputeCase.CaseLastChangedBy,
@ObjectModel: { foreignKey: { association: '_ClosedByContactCard' } }
_DisputeCase.CaseClosedBy,
@ObjectModel: { foreignKey: { association: '_ProcessorContactCard' } }
_DisputeCase.CaseProcessor,
@ObjectModel: { foreignKey: { association: '_ResponsibleContactCard' } }
_DisputeCase.CaseResponsible,
cast ( 1 as int4 ) as NumberOfDisputeCases,
// Exposed Associations
_CaseAttribute,
_DisputeCase,
_ChangedByContactCard,
_ClosedByContactCard,
_CreatedByContactCard,
_DisputeCaseCoordinatorCard,
_ProcessorContactCard,
_ResponsibleContactCard
}
where
(
RelationToLinkedObject = 'F1'
or RelationToLinkedObject = 'F2'
or RelationToLinkedObject = 'F3'
or RelationToLinkedObject = 'F4'
or RelationToLinkedObject = 'F5'
or RelationToLinkedObject = 'F6'
)
and ObjectIsVoided <> 'X'
and ObjectType = 'BSEG'
and _DisputeCase.CaseClosedBy = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_COLLSINVOICERELATEDOBJECT",
"R_DISPUTECASE"
],
"ASSOCIATED":
[
"I_CASEATTRIBUTE",
"R_DISPUTECASE",
"R_RBLSMGMTUSERCONTACTCARD"
],
"BASE":
[
"I_COLLSINVOICERELATEDOBJECT"
],
"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