R_DirectActivityAllocation

DDL: R_DIRECTACTIVITYALLOCATION Type: view_entity COMPOSITE

Direct Activity Allocation

R_DirectActivityAllocation is a Composite CDS View that provides data about "Direct Activity Allocation" in SAP S/4HANA. It reads from 1 data source (R_CostAccountingDocument) and exposes 32 fields with key fields FiscalYear, ReferenceDocument, ControllingArea, ReferenceDocumentType, ReferenceDocumentContext.

Data Sources (1)

SourceAliasJoin Type
R_CostAccountingDocument R_CostAccountingDocument from

Annotations (9)

NameValueLevelField
Metadata.ignorePropagatedAnnotations true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Direct Activity Allocation view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY FiscalYear FiscalYear
KEY ReferenceDocument ReferenceDocument
KEY ControllingArea ControllingArea
KEY ReferenceDocumentType ReferenceDocumentType
KEY ReferenceDocumentContext ReferenceDocumentContext
CompanyCode
SenderCompanyCode
AccountingDocument
AccountingDocumentHeaderText AccountingDocumentHeaderText
DocumentDate DocumentDate
PostingDate PostingDate
FiscalPeriod FiscalPeriod
FiscalYearPeriod FiscalYearPeriod
AccountingDocumentCreationDate AccountingDocumentCreationDate
AccountingDocCreatedByUser AccountingDocCreatedByUser
IsReversal IsReversal
IsReversed IsReversed
ExchangeRateDate ExchangeRateDate
PredecessorReferenceDocument PredecessorReferenceDocument
ReversalReferenceDocument ReversalReferenceDocument
ReversedReferenceDocument ReversedReferenceDocument
SuccessorReferenceDocument
AllocationPostingType AllocationPostingType
ControllingDocumentStatus ControllingDocumentStatus
CtrlgOverheadStatusCriticality CtrlgOverheadStatusCriticality
GlobalCurrency GlobalCurrency
TotalAmountInGlobalCurrency TotalAmountInGlobalCurrency
ControllingBusTransacType ControllingBusTransacType
BusinessTransactionCategory BusinessTransactionCategory
DirectActivityAllocationAction
OperatingConcern
AccountingDocumentType
@AbapCatalog.viewEnhancementCategory: [#NONE]
@Metadata.ignorePropagatedAnnotations: true

@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #NOT_REQUIRED
}

@ObjectModel.usageType:{
  serviceQuality: #C,
  sizeCategory: #XXL,
  dataClass: #MIXED
}

@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type:#SAP_INTERNAL_API
}

@EndUserText.label: 'Direct Activity Allocation'
define view entity R_DirectActivityAllocation 
  as select from R_CostAccountingDocument  
  
{
  key FiscalYear,
  key ReferenceDocument,
  key ControllingArea,
  key ReferenceDocumentType,
  key ReferenceDocumentContext,
  
  cast('' as fis_bukrs)         as CompanyCode, 
  cast('' as sendercompanycode) as SenderCompanyCode,                   
  cast('' as fis_belnr)         as AccountingDocument,
  
  AccountingDocumentHeaderText,
  DocumentDate,
  PostingDate,
  FiscalPeriod,
  FiscalYearPeriod,
  AccountingDocumentCreationDate,
  AccountingDocCreatedByUser,
  IsReversal,
  IsReversed,
  ExchangeRateDate,
  PredecessorReferenceDocument,  
  ReversalReferenceDocument,
  ReversedReferenceDocument,
  cast('' as successorreferencedocument) as SuccessorReferenceDocument,
  
  AllocationPostingType,
  ControllingDocumentStatus,
  CtrlgOverheadStatusCriticality,
  
  GlobalCurrency,
  @Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
  TotalAmountInGlobalCurrency,
  ControllingBusTransacType,
  BusinessTransactionCategory,
  
  cast('' as directactivityallocationaction)  as DirectActivityAllocationAction,
  cast('' as erkrs) as OperatingConcern,
  cast('' as fis_blart) as AccountingDocumentType
  
}
where 
  ControllingBusTransacType = 'RKL'