A_CostRevnRcvrPrftbltySegment

DDL: A_COSTREVNRCVRPRFTBLTYSEGMENT Type: view_entity CONSUMPTION

Cost Reassignment Receiver Profitability Segment

A_CostRevnRcvrPrftbltySegment is a Consumption CDS View that provides data about "Cost Reassignment Receiver Profitability Segment" in SAP S/4HANA. It reads from 1 data source (R_CostRevnRcvrPrftbltySegment) and exposes 30 fields with key fields FiscalYear, ReferenceDocument, ControllingArea, LedgerGLLineItem, ReferenceDocumentItem. It has 2 associations to related views. It is exposed through 1 OData service (API_COSTREVENUEREASSIGNMENT).

Data Sources (1)

SourceAliasJoin Type
R_CostRevnRcvrPrftbltySegment R_CostRevnRcvrPrftbltySegment from

Associations (2)

CardinalityTargetAliasCondition
[1..1] A_CostRevenueReassignment _Header $projection.ControllingArea = _Header.ControllingArea and $projection.FiscalYear = _Header.FiscalYear and $projection.ReferenceDocument = _Header.ReferenceDocument
[1..1] E_JournalEntryItem _Extension $projection.SourceLedger = _Extension.SourceLedger and $projection.CompanyCode = _Extension.CompanyCode and $projection.FiscalYear = _Extension.FiscalYear and $projection.AccountingDocument = _Extension.AccountingDocument and $projection.LedgerGLLineItem = _Extension.LedgerGLLineItem

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Cost Reassignment Receiver Profitability Segment view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
OData.entityType.name CostRevnRcvrPrftbltySegment_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 (30)

KeyFieldSource TableSource FieldDescription
KEY FiscalYear FiscalYear
KEY ReferenceDocument ReferenceDocument
KEY ControllingArea ControllingArea
KEY LedgerGLLineItem LedgerGLLineItem
KEY ReferenceDocumentItem ReferenceDocumentItem
TransactionSubitem TransactionSubitem
CompanyCode CompanyCode
PartnerCompanyCode PartnerCompanyCode
AccountingDocument AccountingDocument
SourceLedger SourceLedger
Customer Customer
CustomerGroup CustomerGroup
CustomerSupplierIndustry CustomerSupplierIndustry
CustomerSupplierCountry CustomerSupplierCountry
SalesDistrict SalesDistrict
SoldProduct SoldProduct
SoldProductGroup SoldProductGroup
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
OrganizationDivision OrganizationDivision
BillToParty BillToParty
ShipToParty ShipToParty
WBSElementInternalID WBSElementInternalID
WBSElementExternalID WBSElementExternalID
ServiceDocumentType ServiceDocumentType
ServiceDocument ServiceDocument
ServiceDocumentItem ServiceDocumentItem
FunctionalArea FunctionalArea
_Item _Item
_Header _Header
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #NOT_REQUIRED
}
@EndUserText.label: 'Cost Reassignment Receiver Profitability Segment'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #D,
  sizeCategory: #XXL,
  dataClass: #MIXED
}
@OData.entityType.name:'CostRevnRcvrPrftbltySegment_Type'
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION
define view entity A_CostRevnRcvrPrftbltySegment   
  as select from R_CostRevnRcvrPrftbltySegment
    association to parent A_CostRevenueReassignmentItem    as _Item     on  $projection.ControllingArea       = _Item.ControllingArea
                                                                        and $projection.FiscalYear            = _Item.FiscalYear
                                                                        and $projection.ReferenceDocument     = _Item.ReferenceDocument
                                                                        and $projection.PartnerCompanyCode    = _Item.CompanyCode
                                                                        and $projection.LedgerGLLineItem      = _Item.LedgerGLLineItem
                                                                        and $projection.ReferenceDocumentItem = _Item.ReferenceDocumentItem
   
    association [1..1] to  A_CostRevenueReassignment       as _Header   on  $projection.ControllingArea       = _Header.ControllingArea
                                                                        and $projection.FiscalYear            = _Header.FiscalYear
                                                                        and $projection.ReferenceDocument     = _Header.ReferenceDocument     
    
    association [1..1] to E_JournalEntryItem               as _Extension  on $projection.SourceLedger       = _Extension.SourceLedger
                                                                          and $projection.CompanyCode        = _Extension.CompanyCode
                                                                          and $projection.FiscalYear         = _Extension.FiscalYear
                                                                          and $projection.AccountingDocument = _Extension.AccountingDocument
                                                                          and $projection.LedgerGLLineItem   = _Extension.LedgerGLLineItem
{
  key FiscalYear,
  key ReferenceDocument,
  key ControllingArea, 
  key LedgerGLLineItem,      
  key ReferenceDocumentItem,
      
      TransactionSubitem,
  
      CompanyCode, 
      @Consumption.hidden: true
      PartnerCompanyCode,
      @Consumption.hidden: true
      AccountingDocument,      
      @Consumption.hidden: true
      SourceLedger,    
      
      Customer,
      CustomerGroup,
      CustomerSupplierIndustry,
      CustomerSupplierCountry,
      SalesDistrict,
      SoldProduct,
      SoldProductGroup,
      SalesOrganization,
      DistributionChannel,
      OrganizationDivision,
      BillToParty,
      ShipToParty, 
          
      //WBS Element

      @Consumption.hidden: true
      WBSElementInternalID,      
      WBSElementExternalID,

      ServiceDocumentType,
      ServiceDocument,
      ServiceDocumentItem,
            
      FunctionalArea,
      _Item,
      @Consumption.hidden: true
      _Header    

}