I_CADISPUTECASEOBJECT

CDS View

Dispute Case Object

I_CADISPUTECASEOBJECT is a CDS View in S/4HANA. Dispute Case Object. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
R_CADisputeCaseObjectTP view_entity from TRANSACTIONAL Object of dispute case
@AbapCatalog.sqlViewName: 'ICACASEOBJ'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@VDM.viewType: #COMPOSITE 
@EndUserText.label: 'Dispute Case Object'
define view I_CADisputeCaseObject
  as select from I_CADisputedPaymentInfo as DisputeCaseObject
  left outer to one join I_CAPaymentLotItem as _CAPaymentLotItem on DisputeCaseObject.CAPaymentDocument = _CAPaymentLotItem.CADocumentNumber
{
    key DisputeCaseObject.CaseUniqueID as CaseUUID,
    key DisputeCaseObject.ObjectType,
    key DisputeCaseObject.ObjectKey,
    DisputeCaseObject.ObjectClassification,
    substring(DisputeCaseObject.ObjectKey,1,2) as CADisputedPaymentOrigin,
    case
      when DisputeCaseObject.ObjectType = 'CA_PAYINFO' and DisputeCaseObject.CADisputedPaymentOrigin = '02'
          then _CAPaymentLotItem.CAPaymentLot
      when DisputeCaseObject.ObjectType = 'CA_PAYINFO' and DisputeCaseObject.CADisputedPaymentOrigin = '01'
          then cast( substring(DisputeCaseObject.ObjectKey,3,12) as keyz1_kk)
      else
        cast('' as keyz1_kk)
    end as   CAPaymentLot,   
    case
      when DisputeCaseObject.ObjectType = 'CA_PAYINFO' and DisputeCaseObject.CADisputedPaymentOrigin = '02'
          then _CAPaymentLotItem.CAPaymentLotItem
      when DisputeCaseObject.ObjectType = 'CA_PAYINFO' and DisputeCaseObject.CADisputedPaymentOrigin = '01'
          then cast( substring(DisputeCaseObject.ObjectKey,15,6) as posza_kk)
      else
        cast( '' as posza_kk)
    end as   CAPaymentLotItem     
}