C_TechnicalObjectVH
Value Help for Technical Object
C_TechnicalObjectVH is a Consumption CDS View that provides data about "Value Help for Technical Object" in SAP S/4HANA. It reads from 1 data source (I_TechnicalObject) and exposes 17 fields with key fields TechnicalObject, TechObjIsEquipOrFuncnlLoc. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TechnicalObject | I_TechnicalObject | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Equipment | _EquipmentSearch | $projection.EquipmentWithLeadingZeros = _EquipmentSearch.Equipment |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CTECHOBJVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Value Help for Technical Object | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TechnicalObject | I_TechnicalObject | TechnicalObject | |
| KEY | TechObjIsEquipOrFuncnlLoc | I_TechnicalObject | TechObjIsEquipOrFuncnlLoc | |
| EquipmentWithLeadingZeros | I_TechnicalObject | Equipment | ||
| FunctionalLocationLabelName | ||||
| MaintObjectFreeDefinedAttrib | _LocationAccountAssignment | MaintObjectFreeDefinedAttrib | Sort Field | |
| TechnicalObjectDescription | Technical Object Description | |||
| Equipment | _EquipmentSearch | Equipment | ||
| MaintenancePlanningPlant | ||||
| MaintenancePlannerGroup | I_TechnicalObject | MaintenancePlannerGroup | ||
| AuthorizationGroup | I_TechnicalObject | AuthorizationGroup | ||
| TechnicalObjectCategory | TechnicalObjectCategory | |||
| TechnicalObjectType | TechnicalObjectType | |||
| MaintObjectLocAcctAssgmtNmbr | MaintObjectLocAcctAssgmtNmbr | |||
| MaintenancePlant | _LocationAccountAssignment | MaintenancePlant | ||
| CostCenter | _LocationAccountAssignment | CostCenter | ||
| ControllingArea | _LocationAccountAssignment | ControllingArea | ||
| TechObjInstallationLocation |
@AbapCatalog.sqlViewName: 'CTECHOBJVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@EndUserText.label: 'Value Help for Technical Object'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@Search.searchable: true
@Consumption.ranked:true
define view C_TechnicalObjectVH
as select from I_TechnicalObject
association [0..1] to I_Equipment as _EquipmentSearch on $projection.EquipmentWithLeadingZeros = _EquipmentSearch.Equipment
{
@UI.hidden: true
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
key I_TechnicalObject.TechnicalObject,
@UI.hidden: true
key I_TechnicalObject.TechObjIsEquipOrFuncnlLoc,
// @Search: {
// fuzzinessThreshold: 0.9
// }
@ObjectModel.filter.transformedBy: 'cl_eam_techobjlabel_exit'
@ObjectModel.text.element: 'TechnicalObjectDescription'
// cast( case when I_TechnicalObject.TechObjIsEquipOrFuncnlLoc = 'EAMS_FL' then // Functional Location
// I_TechnicalObject._FunctionalLocationLabel.FunctionalLocationLabelName
// else I_TechnicalObject.TechnicalObject end as eams_tech_obj_alpha_conv ) as TechnicalObjectLabel,
// cast (case when I_TechnicalObject.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI' // Equipment
// then cast ( I_TechnicalObject.TechnicalObject as eams_tech_obj_alpha_conv )
// else I_TechnicalObject._FunctionalLocationLabel.FunctionalLocationLabelName
// end as eams_tec_obj ) as TechnicalObjectLabel,
cast ( case when I_TechnicalObject.TechObjIsEquipOrFuncnlLoc = 'EAMS_EQUI'
then ltrim( I_TechnicalObject.Equipment , '0' )
when I_TechnicalObject.TechObjIsEquipOrFuncnlLoc != 'EAMS_EQUI'
then I_TechnicalObject._FunctionalLocationLabel.FunctionalLocationLabelName end as eams_tec_obj preserving type) as TechnicalObjectLabel, //Technical Object Label
@Consumption.hidden: true
I_TechnicalObject.Equipment as EquipmentWithLeadingZeros,
//---------- Search scope (start) ----------
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@Consumption.hidden: true
I_TechnicalObject._FunctionalLocationLabel._FuncLocationLabelSearch.FunctionalLocationLabelName,
@Search: { defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8 }
@EndUserText.label: 'Sort Field'
_LocationAccountAssignment.MaintObjectFreeDefinedAttrib,
@Search: { defaultSearchElement: true, ranking: #MEDIUM, fuzzinessThreshold: 0.8 }
@EndUserText.label: 'Technical Object Description'
I_TechnicalObject._TechnicalObjectText[1: Language = $session.system_language ].TechnicalObjectDescription,
@UI.hidden: true
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.8 }
@Consumption.hidden: true
_EquipmentSearch.Equipment,
//---------- Search scope (end) ----------
-- DCL:
@Consumption.hidden: true
I_TechnicalObject.MaintenancePlanningPlant,
@Consumption.hidden: true
I_TechnicalObject.MaintenancePlannerGroup,
@Consumption.hidden: true
I_TechnicalObject.AuthorizationGroup,
@Consumption.hidden: true
TechnicalObjectCategory,
@Consumption.hidden: true
TechnicalObjectType,
@Consumption.hidden: true
MaintObjectLocAcctAssgmtNmbr,
@Consumption.hidden: true
_LocationAccountAssignment.MaintenancePlant,
@Consumption.hidden: true
_LocationAccountAssignment.CostCenter,
@Consumption.hidden: true
_LocationAccountAssignment.ControllingArea,
@ObjectModel.virtualElement
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_EAM_MALFUNC_TECHOBJ_EXIT'
@UI.hidden: true
cast ( '' as eam_techobj_installation_loc ) as TechObjInstallationLocation
}
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