I_PRACountyText

DDL: I_PRACOUNTYTEXT SQL: IPVCOUNTYT Type: view BASIC

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)

SourceAliasJoin Type
t005f t005f from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Country _Country $projection.Country = _Country.Country
[0..1] I_Region _Region $projection.Country = _Region.Country and $projection.Region = _Region.Region

Annotations (13)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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":""
}
}*/