A_CostRevenueReassignment
Cost Reassignment Header
A_CostRevenueReassignment is a Consumption CDS View that provides data about "Cost Reassignment Header" in SAP S/4HANA. It reads from 1 data source (R_CostRevenueReassignment) and exposes 26 fields with key fields FiscalYear, ReferenceDocument, ControllingArea. It has 1 association to related views. It is exposed through 1 OData service (API_COSTREVENUEREASSIGNMENT). Part of development package ODATA_REASSIGN_COST_REVN_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CostRevenueReassignment | R_CostRevenueReassignment | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | A_CostRevenueReassignmentItem | _Item | |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Cost Reassignment Header | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| OData.entityType.name | CostRevenueReassignment_Type | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_COSTREVENUEREASSIGNMENT | API_COSTREVNREASSIGNMENT | V2 | C2 | C1 |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FiscalYear | FiscalYear | ||
| KEY | ReferenceDocument | ReferenceDocument | ||
| KEY | ControllingArea | ControllingArea | ||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | |||
| DocumentDate | DocumentDate | |||
| PostingDate | PostingDate | |||
| FiscalPeriod | FiscalPeriod | |||
| AccountingDocumentCreationDate | AccountingDocumentCreationDate | |||
| AccountingDocCreatedByUser | AccountingDocCreatedByUser | |||
| ReferenceDocumentType | ReferenceDocumentType | |||
| ReferenceDocumentTypeName | ||||
| CostRevenueReassignmentAction | CostRevenueReassignmentAction | |||
| PostingFiscalYear | PostingFiscalYear | |||
| ExchangeRateDate | ExchangeRateDate | |||
| ControllingDocumentStatus | ControllingDocumentStatus | |||
| StatusName | _CostRevnReassgmtDocStatusTxt | StatusName | ||
| AllocationPostingType | AllocationPostingType | |||
| AllocationPostingTypeText | _CostRevnReassgmtPostgTypeTxt | AllocationPostingTypeText | ||
| ReversalReferenceDocument | ReversalReferenceDocument | |||
| ReversedReferenceDocument | ReversedReferenceDocument | |||
| CostRevenueReassignmentType | CostRevenueReassignmentType | |||
| CostRevnReassignmentTypeName | ||||
| GlobalCurrency | GlobalCurrency | |||
| TotalAmountInGlobalCurrency | TotalAmountInGlobalCurrency | |||
| WarningsAreIgnored | ||||
| _Item | _Item |
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Cost Reassignment Header'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #XXL,
dataClass: #MIXED
}
@OData.entityType.name:'CostRevenueReassignment_Type'
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.usage.type:[#TRANSACTIONAL_PROCESSING_SERVICE]
@VDM.viewType: #CONSUMPTION
define root view entity A_CostRevenueReassignment as select from R_CostRevenueReassignment
composition [1..*] of A_CostRevenueReassignmentItem as _Item
{
key FiscalYear,
key ReferenceDocument,
key ControllingArea,
AccountingDocumentHeaderText,
DocumentDate,
PostingDate,
FiscalPeriod,
AccountingDocumentCreationDate,
AccountingDocCreatedByUser,
ReferenceDocumentType,
_ReferenceDocumentType._Text[1:Language = $session.system_language].ReferenceDocumentTypeName as ReferenceDocumentTypeName,
CostRevenueReassignmentAction,
PostingFiscalYear,
ExchangeRateDate,
ControllingDocumentStatus,
_CostRevnReassgmtDocStatusTxt.StatusName as StatusName,
AllocationPostingType,
_CostRevnReassgmtPostgTypeTxt.AllocationPostingTypeText as AllocationPostingTypeText,
ReversalReferenceDocument,
ReversedReferenceDocument,
CostRevenueReassignmentType,
_CostRevnReassignmentTypeText[1:Language = $session.system_language].CostRevnReassignmentTypeName as CostRevnReassignmentTypeName,
GlobalCurrency,
@Semantics: { amount : {currencyCode: 'GlobalCurrency'} }
TotalAmountInGlobalCurrency,
cast('' as bapiignwar) as WarningsAreIgnored,
/* Associations */
_Item
}
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