R_DirectActivityAllocation
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)
| Source | Alias | Join Type |
|---|---|---|
| R_CostAccountingDocument | R_CostAccountingDocument | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA