C_DisputeCaseDraftCollsSegment

DDL: C_DISPUTECASEDRAFTCOLLSSEGMENT Type: view_entity CONSUMPTION Package: ODATA_DISPUTE

Dispute Case Draft in Collection Segment

C_DisputeCaseDraftCollsSegment is a Consumption CDS View that provides data about "Dispute Case Draft in Collection Segment" in SAP S/4HANA. It reads from 1 data source (R_DisputeCaseDraftCollsSgmtTP) and exposes 76 fields with key fields CollectionSegment, DisputeCaseUUID. It is exposed through 1 OData service (UI_PROCESSRECEIVABLES_MANAGE). Part of development package ODATA_DISPUTE.

Data Sources (1)

SourceAliasJoin Type
R_DisputeCaseDraftCollsSgmtTP R_DisputeCaseDraftCollsSgmtTP projection

Annotations (9)

NameValueLevelField
EndUserText.label Dispute Case Draft in Collection Segment 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 #CONSUMPTION view
Metadata.allowExtensions true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_PROCESSRECEIVABLES_MANAGE UI_PROCESSRECEIVABLES_MAN V2 C1 NOT_TO_BE_RELEASED_STABLE

Fields (76)

KeyFieldSource TableSource FieldDescription
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 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
virtualPlannedCloseDateCriticalitychar1
CountryNameasCountryNamelocalized
DsputCaseCoordinatorFullName _DisputeCaseCoordinatorCard UserDescription
CustomerName _Customer CustomerName
CompanyCodeName _CompanyCode CompanyCodeName
CaseTypeNameasCaseTypeNamelocalized
CreatedByUserName _CreatedByContactCard UserDescription
LastChangedByUserName _ChangedByContactCard UserDescription
DisputeCaseClosedByUserName _ClosedByContactCard UserDescription
DisputeCaseProcessorFullName _ProcessorContactCard UserDescription
DisputeCaseResponsibleFullName _ResponsibleContactCard UserDescription
CaseStatusNameasCaseStatusNamelocalized
CaseReasonNameasCaseReasonNamelocalized
_AuthLevel _AuthLevel
_CaseSystemStatus _CaseSystemStatus
_CaseTypes _CaseTypes
_CaseCategory _CaseCategory
_CompanyCode _CompanyCode
_Country _Country
_Customer _Customer
_DisputeCaseExternalAppl _DisputeCaseExternalAppl
_Escalation _Escalation
_Individual _Individual
_Priority _Priority
_Reasons _Reasons
_RootCause _RootCause
_StatProfile _StatProfile
_CollectionSegment _CollectionSegment
@EndUserText: { label: 'Dispute Case Draft in Collection Segment' }
@Consumption.dbHints: [ 'USE_HEX_PLAN' ]
@ObjectModel: { semanticKey:       [ 'DisputeCaseUUID', 'CaseID' ],
                representativeKey: 'DisputeCaseUUID',
//                query.implementedBy: 'ABAP:CL_DISPUTE_DRAFT_QUERY',

                usageType:         { dataClass:      #TRANSACTIONAL,
                                     sizeCategory:   #L,
                                     serviceQuality: #C } }
@AccessControl: { authorizationCheck: #CHECK,
                  privilegedAssociations: ['_DisputeCaseCoordinatorCard',
                                           '_CreatedByContactCard',
                                           '_ChangedByContactCard',
                                           '_ClosedByContactCard',
                                           '_ProcessorContactCard',
                                           '_ResponsibleContactCard' ],
                  personalData: { blocking: #BLOCKED_DATA_EXCLUDED } }
@VDM: { viewType: #CONSUMPTION,
        usage:    { type: [ #TRANSACTIONAL_PROCESSING_SERVICE ] } }
@Metadata: { allowExtensions: true }

define root view entity C_DisputeCaseDraftCollsSegment
  as projection on R_DisputeCaseDraftCollsSgmtTP

{

          // VDM Fields

  key     CollectionSegment,
  key     DisputeCaseUUID,
          DraftUUID,
          @ObjectModel: { text: { element: [ 'DsputCaseCoordinatorFullName' ] } }
          DisputeCaseCoordinator,

          @ObjectModel: { text: { element: [ 'CaseRootCauseDescription' ] } }
          DisputeCaseRootCause,

          CaseProcessingDeadlineDate,
          OriginalAmount,
          DisputedAmount,
          PaidAmount,
          CreditedAmount,
          WriteOffAmount,
          ManuallyClearedAmount,
          DisputeCaseCurrency,
          CustomerDisputedAmount,
          CustomerDisputedCurrency,
          ContactPersonName,
          ContactPersonEmailAddress,
          ContactPersonPhoneNumber,
          ContactPersonFaxNumber,

          @ObjectModel: { text: { element: [ 'CountryName' ] } }
          ContactPersonFaxCountry,

          @ObjectModel: { text: { element: [ 'CustomerName' ] } }
          Customer,

          @ObjectModel: { text: { element: [ 'CompanyCodeName' ] } }
          CompanyCode,

          @ObjectModel: { text: { element: [ 'DisputeCaseExtApplName' ] } }
          DisputeCaseExternalApplication,

          @ObjectModel: { text: { element: [ 'CaseTypeName' ] } }
          CaseType,

          CaseID,
          CaseExternalReference,

          @ObjectModel: { text: { element: [ 'CreatedByUserName' ] } }
          CaseCreatedBy,

          CaseCreatedOn,

          @ObjectModel: { text: { element: [ 'LastChangedByUserName' ] } }
          CaseLastChangedBy,

          CaseLastChangedOn,

          @ObjectModel: { text: { element: [ 'DisputeCaseClosedByUserName' ] } }
          CaseClosedBy,

          CaseClosedTime,
          CasePlannedCloseDate,

          @ObjectModel: { text: { element: [ 'DisputeCaseProcessorFullName' ] } }
          CaseProcessor,

          @ObjectModel: { text: { element: [ 'DisputeCaseResponsibleFullName' ] } }
          CaseResponsible,

          CaseTitle,

          @ObjectModel: { text: { element: [ 'DsputCaseEscalationRsnName' ] } }
          CaseEscalationReason,

          @ObjectModel: { text: { element: [ 'DisputeCaseCategoryName' ] } }
          CaseCategory,

          @ObjectModel: { text: { element: [ 'DisputeCasePriorityName' ] } }
          CasePriority,

          CaseAuthorizationLevel,
          CaseStatusProfile,

          @ObjectModel: { text: { element: [ 'CaseStatusName' ] } }
          CaseStatus,

          @ObjectModel: { text: { element: [ 'CaseSystemStatusName' ] } }
          CaseSystemStatus,

          @ObjectModel: { text: { element: [ 'CaseReasonName' ] } }
          CaseReason,
          IsActiveEntity,
          HasActiveEntity,
          DraftCreationDateTime,
          DraftLastChangedDateTime,

          @ObjectModel: { virtualElementCalculatedBy: 'ABAP:CL_DISPUTE_VE' }
  virtual PlannedCloseDateCriticality   : char1,

          @ObjectModel: { virtualElementCalculatedBy: 'ABAP:CL_DISPUTE_VE' }
  virtual ProcessingDeadlineCriticality : char1,

          // Text Elements

          @Semantics: { text: true }
          _Country._Text.CountryName                            as CountryName                : localized,

          @Semantics: { text: true }
          _RootCause._Text.CaseRootCauseDescription             as CaseRootCauseDescription   : localized,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _DisputeCaseCoordinatorCard.UserDescription           as DsputCaseCoordinatorFullName,

          @Semantics: { text: true }
          _Customer.CustomerName                                as CustomerName,

          @Semantics: { text: true }
          _CompanyCode.CompanyCodeName                          as CompanyCodeName,

          @Semantics: { text: true }
          _DisputeCaseExternalAppl._Text.DisputeCaseExtApplName as DisputeCaseExtApplName     : localized,

          @Semantics: { text: true }
          _CaseTypes._Text.CaseTypeName                         as CaseTypeName               : localized,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _CreatedByContactCard.UserDescription                 as CreatedByUserName,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _ChangedByContactCard.UserDescription                 as LastChangedByUserName,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _ClosedByContactCard.UserDescription                  as DisputeCaseClosedByUserName,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _ProcessorContactCard.UserDescription                 as DisputeCaseProcessorFullName,

          @Semantics: { text: true }
          @Semantics.name.fullName:null                     
          _ResponsibleContactCard.UserDescription               as DisputeCaseResponsibleFullName,

          @Semantics: { text: true }
          _Escalation._Text.CaseEscalationReasonName            as DsputCaseEscalationRsnName : localized,

          @Semantics: { text: true }
          _CaseCategory._Text.CaseCategoryName                  as DisputeCaseCategoryName    : localized,

          @Semantics: { text: true }
          _Priority._Text.CasePriorityName                      as DisputeCasePriorityName    : localized,

          @Semantics: { text: true }
          _Individual._Text.CaseStatusName                      as CaseStatusName             : localized,

          @Semantics: { text: true }
          _CaseSystemStatus._Text.CaseSystemStatusName          as CaseSystemStatusName       : localized,

          @Semantics: { text: true }
          _Reasons._Text.CaseReasonName                         as CaseReasonName             : localized,

          // Exposed Associations

          _AuthLevel,
          _CaseSystemStatus,
          _CaseTypes,
          _CaseCategory,
          _ChangedByContactCard       : redirected to C_RblsMgmtUserContactCard,
          _ClosedByContactCard        : redirected to C_RblsMgmtUserContactCard,
          _CompanyCode,
          _Country,
          _CreatedByContactCard       : redirected to C_RblsMgmtUserContactCard,
          _Customer,
          _DisputeCaseCoordinatorCard : redirected to C_RblsMgmtUserContactCard,
          _DisputeCaseExternalAppl,
          _Escalation,
          _Individual,
          _Priority,
          _ProcessorContactCard       : redirected to C_RblsMgmtUserContactCard,
          _Reasons,
          _ResponsibleContactCard     : redirected to C_RblsMgmtUserContactCard,
          _RootCause,
          _StatProfile,
          _CollectionSegment

}