A_CostRevenueReassignment

DDL: A_COSTREVENUEREASSIGNMENT Type: view_entity CONSUMPTION Package: ODATA_REASSIGN_COST_REVN_API

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)

SourceAliasJoin Type
R_CostRevenueReassignment R_CostRevenueReassignment from

Associations (1)

CardinalityTargetAliasCondition
[1..*] A_CostRevenueReassignmentItem _Item

Annotations (9)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
API_COSTREVENUEREASSIGNMENT API_COSTREVNREASSIGNMENT V2 C2 C1

Fields (26)

KeyFieldSource TableSource FieldDescription
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
}