C_SafetyInstrnEquipmentFltrVH
SI: Equipment Value Help for Filter Bar
C_SafetyInstrnEquipmentFltrVH is a Consumption CDS View that provides data about "SI: Equipment Value Help for Filter Bar" in SAP S/4HANA. It reads from 5 data sources (I_EHSLocationHierarchyRevision, I_EHSLocationRevision, I_EHSLocHierarchyPath, I_SafetyInstructionDefinition, I_SftyInstrnDefEquipLocType) and exposes 18 fields with key fields EHSLocationUUID, EHSParentLocationUUID. It has 4 associations to related views.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSLocationHierarchyRevision | I_EHSLocationHierarchyRevision | inner |
| I_EHSLocationRevision | I_EHSLocationRevision | inner |
| I_EHSLocHierarchyPath | I_EHSLocHierarchyPath | from |
| I_SafetyInstructionDefinition | I_SafetyInstructionDefinition | inner |
| I_SftyInstrnDefEquipLocType | I_SftyInstrnDefEquipLocType | left_outer |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_EHSLocationRevision | _EHSLocationRevision | $projection.EHSLocationUUID = _EHSLocationRevision.EHSLocationUUID and _EHSLocationRevision.RevisionStartDate <= $session.system_date and _EHSLocationRevision.RevisionEndDate >= $session.system_date |
| [0..1] | I_CurrentEHSLocationNameText | _EHSLocationName | $projection.EHSLocationUUID = _EHSLocationName.EHSLocationUUID and _EHSLocationName.Language = $session.system_language |
| [0..1] | I_CurrentEHSLocationNameText | _EHSParentLocationName | $projection.EHSParentLocationUUID = _EHSParentLocationName.EHSLocationUUID and _EHSParentLocationName.Language = $session.system_language |
| [0..1] | C_EHSLocationTypeVH | _EHSLocationTypeVH | $projection.ehslocationtype = _EHSLocationTypeVH.EHSLocationType |
Annotations (16)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | SI: Equipment Value Help for Filter Bar | view | |
| AbapCatalog.sqlViewName | CFSIEQUIPFLTRVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | EHSLocationUUID | view | |
| ObjectModel.semanticKey | EHSLocationUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EHSLocationUUID | I_EHSLocHierarchyPath | EHSLocationUUID | Equipment Location UUID |
| KEY | EHSParentLocationUUID | I_EHSLocHierarchyPath | EHSParentLocationUUID | Parent Factory UUID |
| EHSLocationName | _EHSLocationName | EHSLocationName | Equipment Name | |
| EHSParentLocationName | _EHSParentLocationName | EHSLocationName | Parent Location Name | |
| Plant | _EHSLocationRevision | Plant | Valuation Area | |
| EHSLocationType | _EHSLocationRevision | EHSLocationType | Location Type | |
| EHSLocationTypeText | Location Type | |||
| CostCenter | _EHSLocationRevision | CostCenter | Cost Center | |
| Equipment | _EHSLocationRevision | Equipment | Equipment check | |
| EHSLocationStatus | _EHSLocationRevision | EHSLocationStatus | ||
| EHSLocationAuthorizationGroup | ||||
| ControllingArea | _EHSLocationRevision | ControllingArea | Controlling Area | |
| CompanyCode | _EHSLocationRevision | CompanyCode | Receiver Company Code | |
| BusinessArea | _EHSLocationRevision | BusinessArea | Business Area | |
| _EHSParentLocation | _EHSParentLocation | |||
| _EHSLocation | _EHSLocation | |||
| _EHSLocationTypeVH | _EHSLocationTypeVH | |||
| _EHSLocationRevision | _EHSLocationRevision |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view C_SafetyInstrnEquipmentFltrVH.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW C_SafetyInstrnEquipmentFltrVH AS
SELECT
I_EHSLocHierarchyPath.EHSLocationUUID AS EHSLocationUUID,
I_EHSLocHierarchyPath.EHSParentLocationUUID AS EHSParentLocationUUID,
_EHSLocationName.EHSLocationName AS EHSLocationName,
_EHSParentLocationName.EHSLocationName AS EHSParentLocationName,
_EHSLocationRevision.Plant AS Plant,
_EHSLocationRevision.EHSLocationType AS EHSLocationType,
_EHSLocationRevision._EHSLocationType._Text[1: Language = $session.system_language].EHSLocationTypeText AS EHSLocationTypeText,
_EHSLocationRevision.CostCenter AS CostCenter,
_EHSLocationRevision.Equipment AS Equipment,
_EHSLocationRevision.EHSLocationStatus AS EHSLocationStatus,
cast(_EHSLocationRevision.EHSLocationAuthorizationGroup as ehfnd_loc_auth_group_nc preserving type ) AS EHSLocationAuthorizationGroup,
_EHSLocationRevision.ControllingArea AS ControllingArea,
_EHSLocationRevision.CompanyCode AS CompanyCode,
_EHSLocationRevision.BusinessArea AS BusinessArea
FROM I_EHSLocHierarchyPath
INNER JOIN I_EHSLocationHierarchyRevision ON /* join condition not captured in parsed metadata */
INNER JOIN I_EHSLocationRevision ON /* join condition not captured in parsed metadata */
INNER JOIN I_SafetyInstructionDefinition ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SftyInstrnDefEquipLocType ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EHSLocationRevision AS _EHSLocationRevision ON EHSLocationUUID = _EHSLocationRevision.EHSLocationUUID AND _EHSLocationRevision.RevisionStartDate <= $session.system_date AND _EHSLocationRevision.RevisionEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_CurrentEHSLocationNameText AS _EHSLocationName ON EHSLocationUUID = _EHSLocationName.EHSLocationUUID AND _EHSLocationName.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_CurrentEHSLocationNameText AS _EHSParentLocationName ON EHSParentLocationUUID = _EHSParentLocationName.EHSLocationUUID AND _EHSParentLocationName.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN C_EHSLocationTypeVH AS _EHSLocationTypeVH ON ehslocationtype = _EHSLocationTypeVH.EHSLocationType -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA