A_CostRevnSndrPrftbltySegment
Cost Reassignment Sender Profitability Segment
A_CostRevnSndrPrftbltySegment is a Consumption CDS View that provides data about "Cost Reassignment Sender Profitability Segment" in SAP S/4HANA. It reads from 1 data source (R_CostRevnSndrPrftbltySegment) and exposes 31 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). Part of development package ODATA_REASSIGN_COST_REVN_API.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_CostRevnSndrPrftbltySegment | R_CostRevnSndrPrftbltySegment | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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.JournalEntryItem = _Extension.LedgerGLLineItem |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Cost Reassignment Sender 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 | CostRevnSndrPrftbltySegment_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 (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | |||
| JournalEntryItem | JournalEntryItem | |||
| 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 Sender Profitability Segment'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #D,
sizeCategory: #XXL,
dataClass: #MIXED
}
@OData.entityType.name:'CostRevnSndrPrftbltySegment_Type'
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@VDM.viewType: #CONSUMPTION
define view entity A_CostRevnSndrPrftbltySegment
as select from R_CostRevnSndrPrftbltySegment
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.JournalEntryItem = _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,
@Consumption.hidden: true
JournalEntryItem,
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
}
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