I_PRACountyText
PRA County - Text
I_PRACountyText is a Basic CDS View that provides data about "PRA County - Text" in SAP S/4HANA. It reads from 1 data source (t005f) and exposes 7 fields with key fields Country, Region, County, Language. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| t005f | t005f | from |
Associations (2)
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | PRA County - Text | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IPVCOUNTYT | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | County | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Country | |||
| KEY | Region | regio | ||
| KEY | County | counc | ||
| KEY | Language | spras | ||
| CountyName | ||||
| _Country | _Country | |||
| _Region | _Region |
@EndUserText.label: 'PRA County - Text'
@ObjectModel.dataCategory: #TEXT
@Analytics.dataExtraction.enabled: true
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IPVCOUNTYT'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.representativeKey: 'County'
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT , #SQL_DATA_SOURCE , #CDS_MODELING_DATA_SOURCE , #CDS_MODELING_ASSOCIATION_TARGET]
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MASTER
// the core VDM was missing county views, so these were constructed, can replace with core views when available
define view I_PRACountyText
as select from t005f
association [0..1] to I_Country as _Country on $projection.Country = _Country.Country
association [0..1] to I_Region as _Region on $projection.Country = _Region.Country
and $projection.Region = _Region.Region
{
@ObjectModel.foreignKey.association: '_Country'
key cast( land1 as land1_gp preserving type ) as Country,
@ObjectModel.foreignKey.association: '_Region'
key regio as Region,
key counc as County,
@Semantics.language
key spras as Language,
@Semantics.text
cast( bezei as oiu_vdm_county_name ) as CountyName,
_Country,
_Region
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"T005F"
],
"ASSOCIATED":
[
"I_COUNTRY",
"I_REGION"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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