I_DirectActivityAllocationTP_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.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_DirectActivityAllocationTP | R_DirectActivityAllocationTP | projection |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"R_DIRECTACTIVITYALLOCATIONTP"
],
"ASSOCIATED":
[
"I_DRCTACTYALLOCATIONITEMTP_2",
"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