A_Segment
API Segment
A_Segment is a Basic CDS View that provides data about "API Segment" in SAP S/4HANA. It reads from 1 data source (I_Segment) and exposes 2 fields with key field Segment. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Segment | I_Segment | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | A_SegmentText | _Text | $projection.Segment = _Text.Segment |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | API Segment | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| AbapCatalog.sqlViewName | AFISEGMENT | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Segment | Segment | ||
| _Text | _Text |
@EndUserText.label: 'API Segment'
@VDM.viewType: #BASIC
@VDM.lifecycle.contract.type: #PUBLIC_REMOTE_API
@AbapCatalog.sqlViewName: 'AFISEGMENT'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #B
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
// A-view annotations
@AbapCatalog.compiler.compareFilter: true
define view A_Segment as select from I_Segment
association [0..*] to A_SegmentText as _Text
on $projection.Segment = _Text.Segment
{
//I_Segment
key Segment,
/* Associations */
//I_Segment
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SEGMENT"
],
"ASSOCIATED":
[
"A_SEGMENTTEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
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