I_LocationType
Location Type
I_LocationType is a Basic CDS View (Dimension) that provides data about "Location Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field LocationType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Annotations (17)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Location Type | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | LocationType | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ILOCATIONTYPE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LocationType | |||
| _Text | _Text |
@EndUserText: {label: 'Location Type'}
@Analytics: {dataCategory: #DIMENSION,
dataExtraction: {enabled: true},
internalName: #LOCAL}
@ObjectModel: {representativeKey: 'LocationType',
usageType: {serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING},
modelingPattern:#ANALYTICAL_DIMENSION,
supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#VALUE_HELP_PROVIDER,
#SEARCHABLE_ENTITY]}
@VDM: {viewType: #BASIC }
@AbapCatalog: {compiler: {compareFilter: true},
preserveKey: true,
sqlViewName: 'ILOCATIONTYPE'}
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: {allowExtensions: true,
ignorePropagatedAnnotations: true}
define view I_LocationType
as select from dd07l
association[0..*] to I_LocationTypeText as _Text on $projection.LocationType = _Text.LocationType
{
@ObjectModel.text.association: '_Text'
key cast(substring(domvalue_l, 1, 4) as /sapapo/c_loctype preserving type) as LocationType,
/* Associations */
_Text
}
where domname = '/SAPAPO/C_LOCTYPE'
and as4local = 'A';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_LOCATIONTYPETEXT"
],
"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