A_DirectActivityAllocation
Direct Activity Allocation Header
A_DirectActivityAllocation is a Consumption CDS View that provides data about "Direct Activity Allocation Header" in SAP S/4HANA. It reads from 1 data source (R_DirectActivityAllocationTP) and exposes 28 fields with key fields FiscalYear, ReferenceDocument, ControllingArea, ReferenceDocumentType, ReferenceDocumentContext.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_DirectActivityAllocationTP | R_DirectActivityAllocationTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Direct Activity Allocation Header | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| OData.entityType.name | DirectActivityAllocation_Type | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view |
Fields (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | FiscalYear | ||
| KEY | ReferenceDocument | ReferenceDocument | ||
| KEY | ControllingArea | ControllingArea | ||
| KEY | ReferenceDocumentType | ReferenceDocumentType | ||
| KEY | ReferenceDocumentContext | ReferenceDocumentContext | ||
| ControllingAreaName | _ControllingArea | ControllingAreaName | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | |||
| DocumentDate | DocumentDate | |||
| PostingDate | PostingDate | |||
| FiscalPeriod | FiscalPeriod | |||
| ExchangeRateDate | ExchangeRateDate | |||
| FiscalYearPeriod | FiscalYearPeriod | |||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | |||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | |||
| FullName | _CreatedByContactCard | FullName | ||
| ControllingDocumentStatus | ControllingDocumentStatus | |||
| StatusName | _ControllingDocumentStatusTxt | StatusName | ||
| AllocationPostingType | AllocationPostingType | |||
| AllocationPostingTypeText | _AllocationPostingTypeTxt | AllocationPostingTypeText | ||
| ReferenceDocumentTypeName | _ReferenceDocumentTypeText | ReferenceDocumentTypeName | ||
| PredecessorReferenceDocument | PredecessorReferenceDocument | Reposted Reference Document | ||
| ReversalReferenceDocument | ReversalReferenceDocument | |||
| ReversedReferenceDocument | ReversedReferenceDocument | |||
| GlobalCurrency | GlobalCurrency | |||
| TotalAmountInGlobalCurrency | TotalAmountInGlobalCurrency | Total Amount in Glob. Crcy | ||
| AccountingDocumentType | AccountingDocumentType | |||
| AccountingDocumentTypeName | _AccountingDocumentTypeText | AccountingDocumentTypeName | ||
| ControllingBusTransacType | ControllingBusTransacType |
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Direct Activity Allocation Header'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {
usageType: {
serviceQuality: #C,
sizeCategory: #XXL,
dataClass: #TRANSACTIONAL
}
}
@OData.entityType.name:'DirectActivityAllocation_Type'
@VDM: {
viewType: #CONSUMPTION,
usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE],
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
define root view entity A_DirectActivityAllocation
provider contract transactional_query
as projection on R_DirectActivityAllocationTP
{
key FiscalYear,
key ReferenceDocument,
key ControllingArea,
key ReferenceDocumentType,
key ReferenceDocumentContext,
@Semantics.text: true
_ControllingArea.ControllingAreaName,
AccountingDocumentHeaderText,
DocumentDate,
PostingDate,
FiscalPeriod,
ExchangeRateDate,
FiscalYearPeriod,
AccountingDocumentCreationDate,
AccountingDocCreatedByUser,
_CreatedByContactCard.FullName,
ControllingDocumentStatus,
_ControllingDocumentStatusTxt.StatusName,
AllocationPostingType,
_AllocationPostingTypeTxt.AllocationPostingTypeText,
_ReferenceDocumentTypeText.ReferenceDocumentTypeName,
@EndUserText.label: 'Reposted Reference Document'
@EndUserText.quickInfo: 'Reposted Reference Document'
PredecessorReferenceDocument,
ReversalReferenceDocument,
ReversedReferenceDocument,
@Semantics.currencyCode:true
GlobalCurrency,
@Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
@EndUserText.label: 'Total Amount in Glob. Crcy'
@EndUserText.quickInfo: 'Total Amount in Global Currency'
TotalAmountInGlobalCurrency,
AccountingDocumentType,
_AccountingDocumentTypeText.AccountingDocumentTypeName,
ControllingBusTransacType,
/* Associations */
_Item : redirected to composition child A_DirectActivityAllocationItem
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_ACCOUNTINGDOCUMENTTYPETEXT",
"I_CONTROLLINGAREA",
"I_REFERENCEDOCUMENTTYPETEXT",
"I_USERCONTACTCARD",
"R_COSTACCTGDOCPOSTGTYPETEXT",
"R_COSTACCTGDOCSTSDOMAINVALTXT",
"R_DIRECTACTIVITYALLOCATIONTP"
],
"ASSOCIATED":
[
"A_DIRECTACTIVITYALLOCATIONITEM",
"R_DRCTACTIVITYALLOCATIONITEMTP"
],
"BASE":
[
"R_DIRECTACTIVITYALLOCATIONTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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