I_DirectActivityAllocationTP_2

DDL: I_DIRECTACTIVITYALLOCATIONTP_2 Type: view_entity TRANSACTIONAL Package: ODATA_MANAGE_DRCT_ACTY_ALLOC_2

Direct Activity Allocation - TP

I_DirectActivityAllocationTP_2 is a Transactional CDS View that provides data about "Direct Activity Allocation - TP" in SAP S/4HANA. It reads from 1 data source (R_DirectActivityAllocationTP) and exposes 29 fields with key fields FiscalYear, ReferenceDocument, ControllingArea, ReferenceDocumentType, ReferenceDocumentContext. Part of development package ODATA_MANAGE_DRCT_ACTY_ALLOC_2.

Data Sources (1)

SourceAliasJoin Type
R_DirectActivityAllocationTP R_DirectActivityAllocationTP projection

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Direct Activity Allocation - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #TRANSACTIONAL_INTERFACE view
ObjectModel.sapObjectNodeType.name AccountingActivityAllocation view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
OData.entityType.name ActivityAllocation_Type view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #TRANSACTIONAL view

Fields (29)

KeyFieldSource TableSource FieldDescription
KEY FiscalYear FiscalYear
KEY ReferenceDocument ReferenceDocument
KEY ControllingArea ControllingArea
KEY ReferenceDocumentType ReferenceDocumentType
KEY ReferenceDocumentContext ReferenceDocumentContext
FiscalYearForEdit FiscalYearForEdit
ReferenceDocumentForEdit ReferenceDocumentForEdit
ControllingAreaForEdit ControllingAreaForEdit
ReferenceDocumentTypeForEdit ReferenceDocumentTypeForEdit
ReferenceDocumentContextFoEd ReferenceDocumentContextFoEd
AccountingDocumentHeaderText AccountingDocumentHeaderText
DocumentDate DocumentDate
PostingDate PostingDate
FiscalPeriod FiscalPeriod
FiscalYearPeriod FiscalYearPeriod
AccountingDocumentCreationDate AccountingDocumentCreationDate
AccountingDocCreatedByUser AccountingDocCreatedByUser
IsReversal IsReversal
IsReversed IsReversed
ControllingDocumentStatus ControllingDocumentStatus
AllocationPostingType AllocationPostingType
ExchangeRateDate ExchangeRateDate
PredecessorReferenceDocument PredecessorReferenceDocument
ReversalReferenceDocument ReversalReferenceDocument
ReversedReferenceDocument ReversedReferenceDocument
GlobalCurrency GlobalCurrency
TotalAmountInGlobalCurrency TotalAmountInGlobalCurrency
AccountingDocumentType AccountingDocumentType
ControllingBusTransacType ControllingBusTransacType
@AccessControl.authorizationCheck: #MANDATORY

@EndUserText.label: 'Direct Activity Allocation - TP'
@Metadata.ignorePropagatedAnnotations: true

@ObjectModel: {
  modelingPattern: #TRANSACTIONAL_INTERFACE,
  sapObjectNodeType.name: 'AccountingActivityAllocation', 
  supportedCapabilities: [#TRANSACTIONAL_PROVIDER],
  usageType: {
    serviceQuality: #C,
    sizeCategory: #XXL,
    dataClass: #TRANSACTIONAL
  }
}
@OData.entityType.name:'ActivityAllocation_Type'
@VDM: {
  lifecycle.contract.type: #PUBLIC_LOCAL_API,
  viewType: #TRANSACTIONAL
}

define root view entity I_DirectActivityAllocationTP_2
  provider contract transactional_interface
  as projection on R_DirectActivityAllocationTP  

{  
  key     FiscalYear,
  key     ReferenceDocument,
  key     ControllingArea,
  key     ReferenceDocumentType,
  key     ReferenceDocumentContext,

          @Semantics.fiscal.year: true
          @ObjectModel.editableFieldFor: 'FiscalYear'
          FiscalYearForEdit,
          @ObjectModel.editableFieldFor: 'ReferenceDocument'
          ReferenceDocumentForEdit,
          @ObjectModel.editableFieldFor: 'ControllingArea'
          ControllingAreaForEdit,
          @ObjectModel.editableFieldFor: 'ReferenceDocumentType'
          ReferenceDocumentTypeForEdit,
          @ObjectModel.editableFieldFor: 'ReferenceDocumentContext'
          ReferenceDocumentContextFoEd,

          AccountingDocumentHeaderText,          
          DocumentDate,
          PostingDate,
          @Semantics.fiscal.period: true
          FiscalPeriod,
          @Semantics.fiscal.yearPeriod: true
          FiscalYearPeriod,
          AccountingDocumentCreationDate,
          AccountingDocCreatedByUser,
          IsReversal,
          IsReversed,
          ControllingDocumentStatus,
          AllocationPostingType,
          ExchangeRateDate,
          PredecessorReferenceDocument,
          ReversalReferenceDocument,
          ReversedReferenceDocument,       
          //SuccessorReferenceDocument, Currently empty          

          GlobalCurrency,          
          @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
          TotalAmountInGlobalCurrency,          
          AccountingDocumentType,  
          ControllingBusTransacType, 

          /* Associations */
          _Item : redirected to composition child I_DrctActyAllocationItemTP_2

}