C_SafetyInstrnBuildingVH
FSI: Buildings Value Help
C_SafetyInstrnBuildingVH is a Consumption CDS View that provides data about "FSI: Buildings Value Help" in SAP S/4HANA. It reads from 2 data sources (I_EHSLocation, I_EHSLocationBuilding) and exposes 14 fields with key fields BuildingEHSLocationUUID, EHSParentLocationUUID. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_EHSLocation | I_EHSLocation | inner |
| I_EHSLocationBuilding | I_EHSLocationBuilding | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CurrentEHSLocationNameText | _EHSLocationName | $projection.BuildingEHSLocationUUID = _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 | FSI: Buildings Value Help | view | |
| AbapCatalog.sqlViewName | CFSIBLNDVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | BuildingEHSLocationUUID | view | |
| ObjectModel.semanticKey | BuildingEHSLocationUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Search.searchable | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BuildingEHSLocationUUID | BuildingEHSLocationUUID | ||
| KEY | EHSParentLocationUUID | I_EHSLocationBuilding | EHSLocationUUID | Parent Location UUID |
| EHSLocationBuildingUUID | EHSLocationBuildingUUID | |||
| EHSLocationRevisionUUID | I_EHSLocationBuilding | EHSLocationRevisionUUID | UUID | |
| EHSLocationName | _EHSLocationName | EHSLocationName | Building Name | |
| EHSParentLocationName | _EHSParentLocationName | EHSLocationName | Parent Location Name | |
| Plant | I_EHSLocation | Plant | Valuation Area | |
| EHSLocationType | I_EHSLocation | EHSLocationType | Loc. Type | |
| EHSLocationTypeText | _EHSLocationTypeVH | EHSLocationTypeText | Location Type | |
| CostCenter | I_EHSLocation | CostCenter | Cost Center | |
| _EHSLocationName | _EHSLocationName | |||
| _EHSLocationRevision | _EHSLocationRevision | |||
| _BuildingCurrentRevision | _BuildingCurrentRevision | |||
| _EHSParentLocationName | _EHSParentLocationName |
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_SafetyInstrnBuildingVH.
-- 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_SafetyInstrnBuildingVH AS
SELECT
BuildingEHSLocationUUID,
I_EHSLocationBuilding.EHSLocationUUID AS EHSParentLocationUUID,
EHSLocationBuildingUUID,
I_EHSLocationBuilding.EHSLocationRevisionUUID AS EHSLocationRevisionUUID,
_EHSLocationName.EHSLocationName AS EHSLocationName,
_EHSParentLocationName.EHSLocationName AS EHSParentLocationName,
I_EHSLocation.Plant AS Plant,
I_EHSLocation.EHSLocationType AS EHSLocationType,
_EHSLocationTypeVH.EHSLocationTypeText AS EHSLocationTypeText,
I_EHSLocation.CostCenter AS CostCenter
FROM I_EHSLocationBuilding
INNER JOIN I_EHSLocation ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CurrentEHSLocationNameText AS _EHSLocationName ON BuildingEHSLocationUUID = _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