CEPC_CMDT_PC_VIEW
Calculate the assigned profitcenters of segment
CEPC_CMDT_PC_VIEW is a CDS View that provides data about "Calculate the assigned profitcenters of segment" in SAP S/4HANA. It reads from 2 data sources (cepc, segment_desc) and exposes 2 fields. Part of development package ODATA_SEGMENT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| cepc | pc | left_outer |
| segment_desc | segm | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CEPC_CMDT_PC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #P | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| segmentID | segment_desc | segmentid | ||
| PCCount |
@AbapCatalog.sqlViewName: 'CEPC_CMDT_PC'
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #P
define view CEPC_CMDT_PC_VIEW as
select from segment_desc as segm
left outer join cepc as pc
on segm.segmentid = pc.segment
and pc.kokrs = '1000'
{
segm.segmentid as segmentID,
count( distinct prctr ) as PCCount
}
group by segm.segmentid
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