C_EHSLocationTypeVH
EHS Location Type Value Help
C_EHSLocationTypeVH is a Consumption CDS View that provides data about "EHS Location Type Value Help" in SAP S/4HANA. It reads from 1 data source (I_EHSLocationType) and exposes 3 fields with key field EHSLocationType.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSLocationType | I_EHSLocationType | from |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EHS Location Type Value Help | view | |
| AbapCatalog.sqlViewName | CLOCTYPEVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | EHSLocationType | view | |
| ObjectModel.semanticKey | EHSLocationType | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationType | EHSLocationType | ||
| EHSLocationTypeText | ||||
| _Text | _Text |
@EndUserText.label: 'EHS Location Type Value Help'
@AbapCatalog: {
sqlViewName: 'CLOCTYPEVH',
compiler.compareFilter: true
}
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #CONSUMPTION
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel: {
dataCategory:#VALUE_HELP,
representativeKey: 'EHSLocationType',
semanticKey: 'EHSLocationType',
usageType: {
serviceQuality: #C,
sizeCategory: #M,
dataClass: #MIXED
},
resultSet.sizeCategory: #XS //This qualifies it as a drop-down
}
@Metadata: {
ignorePropagatedAnnotations: true,
allowExtensions:true
}
@Search.searchable: true
@Consumption.ranked: true
@AbapCatalog.preserveKey: true
define view C_EHSLocationTypeVH
as select from I_EHSLocationType
{
@ObjectModel.text.element: ['EHSLocationTypeText']
@UI.textArrangement: #TEXT_ONLY
key EHSLocationType,
@Semantics.text:true
@Search.defaultSearchElement: true
@Search.ranking: #MEDIUM
_Text[1: Language = $session.system_language].EHSLocationTypeText as EHSLocationTypeText,
//Association Exposure
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EHSLOCATIONTYPE",
"I_EHSLOCATIONTYPETEXT"
],
"ASSOCIATED":
[
"I_EHSLOCATIONTYPETEXT"
],
"BASE":
[
"I_EHSLOCATIONTYPE"
],
"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