C_CANotDisputedDocument

DDL: C_CANOTDISPUTEDDOCUMENT Type: view CONSUMPTION Package: ODATA_O2C_FICA_DISPUTE_MANAGE

Not Disputed Document

C_CANotDisputedDocument is a Consumption CDS View that provides data about "Not Disputed Document" in SAP S/4HANA. It reads from 1 data source (I_CANotDisputedDocument) and exposes 36 fields with key fields CADocumentNumber, BusinessPartner, ContractAccount, CAMainTransaction, CASubTransaction. It has 1 association to related views. It is exposed through 1 OData service (UI_CADISPUTECASE). Part of development package ODATA_O2C_FICA_DISPUTE_MANAGE.

Data Sources (1)

SourceAliasJoin Type
I_CANotDisputedDocument _NotDisputedDoc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_CANotDisputedDocumentItem _DocumentItem $projection.CADocumentNumber = _DocumentItem.CADocumentNumber

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCANOTDISDOC view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.query.implementedBy ABAP:CL_FICA_DM_QRY_NOT_DIS_DOC view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Not Disputed Document view

OData Services (1)

ServiceBindingVersionContractRelease
UI_CADISPUTECASE UI_CADISPUTECASE V2 C1 NOT_RELEASED

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY CADocumentNumber I_CANotDisputedDocument CADocumentNumber
KEY BusinessPartner I_CANotDisputedDocument BusinessPartner
KEY ContractAccount I_CANotDisputedDocument ContractAccount
KEY CAMainTransaction I_CANotDisputedDocument CAMainTransaction
KEY CASubTransaction I_CANotDisputedDocument CASubTransaction
KEY CAClearingReason I_CANotDisputedDocument CAClearingReason
CaseUUID
CAAmountInTransactionCurrency I_CANotDisputedDocument CAAmountInTransactionCurrency
TransactionCurrency I_CANotDisputedDocument TransactionCurrency
CANetDueDate I_CANotDisputedDocument CANetDueDate
CADeferralDate I_CANotDisputedDocument CADeferralDate
CAClearingDate I_CANotDisputedDocument CAClearingDate
CAClearingReasonName I_CANotDisputedDocument CAClearingReasonName
OpenAmountInTransCrcy I_CANotDisputedDocument OpenAmountInTransCrcy
CAMainTransactionName I_CANotDisputedDocument CAMainTransactionName
CASubTransactionName I_CANotDisputedDocument CASubTransactionName
CAContract I_CANotDisputedDocument CAContract
CASubApplication I_CANotDisputedDocument CASubApplication
CompanyCode I_CANotDisputedDocument CompanyCode
CreationDate I_CANotDisputedDocument CreationDate
CreationTime I_CANotDisputedDocument CreationTime
CreationDateTime CreationDateTime
CAPostingDate I_CANotDisputedDocument CAPostingDate
CAReferenceDocument I_CANotDisputedDocument CAReferenceDocument
ReferenceDocumentType I_CANotDisputedDocument ReferenceDocumentType Reference Procedure
CADocumentTypeName I_CANotDisputedDocument CADocumentTypeName Document Type
DocumentDate I_CANotDisputedDocument DocumentDate
CAReconciliationKey I_CANotDisputedDocument CAReconciliationKey
CADocumentOriginCodeName I_CANotDisputedDocument CADocumentOriginCodeName
CreatedByUser I_CANotDisputedDocument CreatedByUser
CreatedByUserName CreatedByUserName
CADocumentOriginCode I_CANotDisputedDocument CADocumentOriginCode
CAReversalDocumentNumber I_CANotDisputedDocument CAReversalDocumentNumber
CAReversedDocumentNumber I_CANotDisputedDocument CAReversedDocumentNumber
CAAuthorizationGroup I_CANotDisputedDocument CAAuthorizationGroup
_DocumentItem _DocumentItem
@AbapCatalog: { sqlViewName: 'CCANOTDISDOC',
                compiler: { compareFilter: true },
                preserveKey: true }
@ObjectModel: { usageType:         { dataClass: #TRANSACTIONAL,
                                     sizeCategory: #L,
                                     serviceQuality: #C } ,
                query: { implementedBy: 'ABAP:CL_FICA_DM_QRY_NOT_DIS_DOC' }
              }            
@AccessControl: { authorizationCheck: #CHECK,
                  personalData.blocking: #REQUIRED 
                }
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@Metadata: { allowExtensions: true }
@EndUserText.label: 'Not Disputed Document'
@UI: {
    presentationVariant: [
      { 
        requestAtLeast:  [
          'TransactionCurrency',
          //'CreationDate',

          //'CreationTime',

          'CreationDateTime',
          'CAAmountInTransactionCurrency'     
        ] 
      }
    ]
}
define view C_CANotDisputedDocument as select from I_CANotDisputedDocument as _NotDisputedDoc
  association [0..*] to C_CANotDisputedDocumentItem as _DocumentItem on $projection.CADocumentNumber = _DocumentItem.CADocumentNumber           
{
   @UI: {
      lineItem: {  position:5, importance: #HIGH },
      dataPoint: { title: 'Document Number' }
   }
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CADocumentHeaderValueHelp', element: 'CADocumentNumber'}}]
   key _NotDisputedDoc.CADocumentNumber,
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CAContractPartnerValueHelp', element: 'BusinessPartner'}}]
   @UI.hidden: true
   key _NotDisputedDoc.BusinessPartner,
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_ContractAccountValueHelp', element: 'ContractAccount'}}]
   @UI.hidden: true
   key _NotDisputedDoc.ContractAccount,   
   @UI: {
      lineItem: {  position:15, importance: #HIGH }
   }    
   @ObjectModel: { text.element:  [ 'CAMainTransactionName' ] }
   @UI.textArrangement: #TEXT_FIRST
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CAMainTransactionValueHelp', element: 'CAMainTransaction'}}]
   key _NotDisputedDoc.CAMainTransaction,
   @UI: {
      lineItem: {  position:20, importance: #HIGH }
   }  
   @ObjectModel: { text.element:  [ 'CASubTransactionName' ] }
   @UI.textArrangement: #TEXT_FIRST
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CASubTransactionValueHelp', element: 'CASubTransaction'}}]
   key _NotDisputedDoc.CASubTransaction,
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CAClearingReasonValueHelp', element: 'CAClearingReason'}}]   
   @UI: {
      lineItem: {  position:40, importance: #HIGH }
   }
   @ObjectModel.text.element: ['CAClearingReasonName']   
   key _NotDisputedDoc.CAClearingReason,
   @UI.hidden: true
   cast('' as sysuuid_c ) as CaseUUID, 
   @UI: {
      lineItem: {  position:50, importance: #HIGH },
      dataPoint: { title: 'Amount' }
   }     
   @Semantics.amount.currencyCode: 'TransactionCurrency'
   _NotDisputedDoc.CAAmountInTransactionCurrency, 
   @Semantics.currencyCode: true 
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CurrencyValueHelp', element: 'Currency'}}]
   _NotDisputedDoc.TransactionCurrency,
   @UI: {
      lineItem: {  position:25, importance: #HIGH }
   }    
   @Consumption.filter.selectionType: #INTERVAL
   _NotDisputedDoc.CANetDueDate,
   @UI: {
      lineItem: {  position:30, importance: #HIGH }
   }      
   @Consumption.filter.selectionType: #INTERVAL
   _NotDisputedDoc.CADeferralDate,
   @UI: {
      lineItem: {  position:35, importance: #HIGH }
   }      
   @Consumption.filter.selectionType: #INTERVAL
   _NotDisputedDoc.CAClearingDate,
   @UI.hidden
   @Semantics.text: true
   _NotDisputedDoc.CAClearingReasonName, 
   @Semantics.amount.currencyCode: 'TransactionCurrency' 
   @UI: {
      lineItem: {  position:45, importance: #HIGH },
      dataPoint: { title: 'Open Amount' }
   }    
   _NotDisputedDoc.OpenAmountInTransCrcy,
   @UI.hidden
   _NotDisputedDoc.CAMainTransactionName,
   @UI.hidden
   _NotDisputedDoc.CASubTransactionName,
   
   @UI.hidden: true
   _NotDisputedDoc.CAContract,
   
   @UI.hidden: true
   _NotDisputedDoc.CASubApplication,
   
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CACompanyCodeVH', element: 'CompanyCode'}}]
   @UI.hidden
   _NotDisputedDoc.CompanyCode,
   @UI.hidden
   _NotDisputedDoc.CreationDate, 
   @UI.hidden
   _NotDisputedDoc.CreationTime,
   @Semantics.dateTime: true
   @Consumption.filter.selectionType: #INTERVAL
   CreationDateTime,
   @Consumption.filter.selectionType: #INTERVAL
   _NotDisputedDoc.CAPostingDate,
   _NotDisputedDoc.CAReferenceDocument,
   @EndUserText.label: 'Reference Procedure'
   _NotDisputedDoc.ReferenceDocumentType,
   @EndUserText.label: 'Document Type'
   _NotDisputedDoc.CADocumentTypeName,
   @Consumption.filter.selectionType: #INTERVAL
   _NotDisputedDoc.DocumentDate,
   @Consumption.valueHelpDefinition: [{entity: { name: 'I_CAReconciliationKeyVH', element: 'CAReconciliationKey'}}]
   _NotDisputedDoc.CAReconciliationKey,
   @Semantics.text: true
   @UI.hidden
   _NotDisputedDoc.CADocumentOriginCodeName,
   @ObjectModel: { text.element:  [ 'CreatedByUserName' ] }
   _NotDisputedDoc.CreatedByUser,
   @UI.hidden: true
   CreatedByUserName,
   @Consumption.valueHelpDefinition: [{entity: { name: 'C_CADocumentOriginCodeVH', element: 'CADocumentOriginCode'}}] 
   @ObjectModel.text.element: ['CADocumentOriginCodeName']  
   _NotDisputedDoc.CADocumentOriginCode,
    @UI.hidden: true
   _NotDisputedDoc.CAReversalDocumentNumber,
    @UI.hidden: true
   _NotDisputedDoc.CAReversedDocumentNumber,
   @UI.hidden: true
   _NotDisputedDoc.CAAuthorizationGroup,
   @ObjectModel.filter.enabled: false
   _DocumentItem
}