segments_pc_view
Segments with Porfitcenters' count
segments_pc_view is a CDS View that provides data about "Segments with Porfitcenters' count" in SAP S/4HANA. It reads from 2 data sources (cepc_cmdt_pc, segment_desc) and exposes 4 fields. Part of development package ODATA_SEGMENT.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| cepc_cmdt_pc | pc | left_outer |
| segment_desc | segm | from |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEGMENTS_PC | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| segmentID | segment_desc | segmentid | ||
| description | segment_desc | description | ||
| PCCount | cepc_cmdt_pc | pccount | ||
| langu | segment_desc | langu |
@AbapCatalog.sqlViewName: 'SEGMENTS_PC'
@ObjectModel.usageType: {
dataClass: #MIXED,
serviceQuality: #C,
sizeCategory: #XL
}
define view segments_pc_view as
select from segment_desc as segm
left outer join cepc_cmdt_pc as pc
on segm.segmentid = pc.segmentid
{
segm.segmentid as segmentID,
segm.description as description,
pc.pccount as PCCount,
segm.langu as langu
}
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