Ehfnd_Control_Name
Determines the name of a control
Ehfnd_Control_Name is a CDS View that provides data about "Determines the name of a control" in SAP S/4HANA. It reads from 3 data sources (ehfndd_ctrl_root, ehfndd_ctrl_text, ehfndd_ctrl_text) and exposes 2 fields. Part of development package EHFND_BO_CTRL_IMPL.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| ehfndd_ctrl_root | ehfndd_ctrl_root | from |
| ehfndd_ctrl_text | ehfndd_ctrl_text_def_langu | left_outer |
| ehfndd_ctrl_text | ehfndd_ctrl_text_sy_langu | left_outer |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| p_def_langu | lang | |
| p_sy_langu | lang |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | EHFND_CTRL_NAME | view | |
| EndUserText.label | Determines the name of a control | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| name | ||||
| language |
@AbapCatalog.sqlViewName: 'EHFND_CTRL_NAME'
@EndUserText.label: 'Determines the name of a control'
// Client handling by session
@ClientHandling.algorithm: #SESSION_VARIABLE
// Name lookup should always be possible
@AccessControl.authorizationCheck: #NOT_ALLOWED
// used for BOBF Master Data Object
@ObjectModel.usageType:{ serviceQuality: #C, // < 15 msec
sizeCategory: #M, // < 100.000
dataClass: #MASTER }
define view Ehfnd_Control_Name
with parameters p_def_langu:lang,
p_sy_langu:lang
// IMPORTANT: ensure that parameters are alphabetically sorted in order for the View to work on HANA prior to SP10
as select from ehfndd_ctrl_root
// join the listed substance name in sy-langu
left outer join ehfndd_ctrl_text as ehfndd_ctrl_text_sy_langu
on ehfndd_ctrl_text_sy_langu.language = $parameters.p_sy_langu and
ehfndd_ctrl_text_sy_langu.parent_key = ehfndd_ctrl_root.db_key
// join the listed substance name in default language
left outer join ehfndd_ctrl_text as ehfndd_ctrl_text_def_langu
on ehfndd_ctrl_text_def_langu.language = $parameters.p_def_langu and
ehfndd_ctrl_text_def_langu.parent_key = ehfndd_ctrl_root.db_key
{
ehfndd_ctrl_root.db_key as ctrl_root_key,
COALESCE( ehfndd_ctrl_text_sy_langu.text, ehfndd_ctrl_text_def_langu.text ) as name,
COALESCE( ehfndd_ctrl_text_sy_langu.language, ehfndd_ctrl_text_def_langu.language ) as language
}
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