I_SafetyInstruction
Safety Instruction Interface View
I_SafetyInstruction is a Basic CDS View that provides data about "Safety Instruction Interface View" in SAP S/4HANA. It reads from 1 data source (ehhssv_fsi_root) and exposes 30 fields with key field SafetyInstructionUUID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehhssv_fsi_root | ehhssv_fsi_root | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_EHSLocation | _EHSLocation | $projection.FactoryEHSLocationUUID = _EHSLocation.EHSLocationUUID and _EHSLocation.RevisionStartDate <= $session.system_date and _EHSLocation.RevisionEndDate >= $session.system_date |
| [0..1] | I_Chemical | _Chemical | $projection.ChemicalUUID = _Chemical.ChemicalUUID and _Chemical.RevisionStartDate <= $session.system_date and _Chemical.RevisionEndDate >= $session.system_date |
| [0..1] | I_ChmlCmplncInfo | _ChmlCmplncInfo | $projection.ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID |
| [1..*] | I_SafetyInstructionChapter | _SafetyInstructionChapter | $projection.SafetyInstructionUUID = _SafetyInstructionChapter.SafetyInstructionUUID |
| [1..*] | I_SafetyInstructionProduct | _SafetyInstructionProduct | $projection.SafetyInstructionUUID = _SafetyInstructionProduct.SafetyInstructionUUID |
| [1..*] | I_SafetyInstructionBuilding | _SafetyInstructionBuilding | $projection.SafetyInstructionUUID = _SafetyInstructionBuilding.SafetyInstructionUUID |
| [1..*] | I_SafetyInstructionJob | _SafetyInstructionJob | $projection.SafetyInstructionUUID = _SafetyInstructionJob.SafetyInstructionUUID |
| [1..*] | I_SafetyInstrnFactoryArea | _SafetyInstrnFactoryAreaTP | $projection.SafetyInstructionUUID = _SafetyInstrnFactoryAreaTP.SafetyInstructionUUID |
| [0..*] | I_SafetyInstructionEquipment | _SafetyInstructionEquipment | $projection.SafetyInstructionUUID = _SafetyInstructionEquipment.SafetyInstructionUUID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Safety Instruction Interface View | view | |
| AbapCatalog.sqlViewName | IHSSFSI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view |
Fields (30)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SafetyInstructionUUID | safetyinstructionuuid | NodeID | |
| SafetyInstruction | safetyinstruction | Safety Instr. ID | ||
| SafetyInstructionStatus | safetyinstructionstatus | Status | ||
| FactoryEHSLocationUUID | factoryehslocationuuid | Location | ||
| ChemicalUUID | chemicaluuid | NodeID | ||
| ChmlCmplncInfoUUID | chmlcmplncinfouuid | Chemical Compliance Information PP | ||
| JobFreeText | jobfreetext | Job Description | ||
| FactoryAreaFreeText | factoryareafreetext | Fact. Area Descr. | ||
| Language | language | Report Text Language | ||
| SafetyInstructionRelDate | safetyinstructionreldate | Released On | ||
| ReleasedByUser | releasedbyuser | Released By | ||
| CreationUTCDateTime | Time Stamp | |||
| CreatedByUser | User Name | |||
| LastChangeUTCDateTime | Time Stamp | |||
| LastChangedByUser | User Name | |||
| SafetyInstructionType | safetyinstructiontype | SI Type | ||
| SafetyInstructionSubType | safetyinstructionsubtype | SI Subtype | ||
| SafetyInstructionSubjectDesc | safetyinstructionsubjectdesc | Subject Description | ||
| SafetyInstructionIsTemplate | safetyinstructionistemplate | Is Template | ||
| SafetyInstructionNote | safetyinstructionnote | Note | ||
| SftyInstrnMigrationSource | sftyinstrnmigrationsource | Migration Source | ||
| _EHSLocation | _EHSLocation | |||
| _Chemical | _Chemical | |||
| _SafetyInstructionChapter | _SafetyInstructionChapter | |||
| _SafetyInstructionProduct | _SafetyInstructionProduct | |||
| _SafetyInstructionBuilding | _SafetyInstructionBuilding | |||
| _SafetyInstructionJob | _SafetyInstructionJob | |||
| _SafetyInstrnFactoryAreaTP | _SafetyInstrnFactoryAreaTP | |||
| _SafetyInstructionEquipment | _SafetyInstructionEquipment | |||
| _ChmlCmplncInfo | _ChmlCmplncInfo |
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 I_SafetyInstruction.
-- 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 I_SafetyInstruction AS
SELECT
SafetyInstructionUUID,
SafetyInstruction,
SafetyInstructionStatus,
FactoryEHSLocationUUID,
ChemicalUUID,
ChmlCmplncInfoUUID,
JobFreeText,
FactoryAreaFreeText,
Language,
SafetyInstructionRelDate,
ReleasedByUser,
cast(creationutcdatetime as ehfnd_bo_crea_date_time preserving type ) AS CreationUTCDateTime,
cast(createdbyuser as ehfnd_bo_crea_uname preserving type ) AS CreatedByUser,
cast(lastchangeutcdatetime as ehfnd_bo_lchg_date_time preserving type ) AS LastChangeUTCDateTime,
cast(lastchangedbyuser as ehfnd_bo_lchg_uname preserving type ) AS LastChangedByUser,
SafetyInstructionType,
SafetyInstructionSubType,
SafetyInstructionSubjectDesc,
SafetyInstructionIsTemplate,
SafetyInstructionNote,
SftyInstrnMigrationSource
FROM ehhssv_fsi_root
LEFT OUTER JOIN I_EHSLocation AS _EHSLocation ON FactoryEHSLocationUUID = _EHSLocation.EHSLocationUUID AND _EHSLocation.RevisionStartDate <= $session.system_date AND _EHSLocation.RevisionEndDate >= $session.system_date -- association [1..1]
LEFT OUTER JOIN I_Chemical AS _Chemical ON ChemicalUUID = _Chemical.ChemicalUUID AND _Chemical.RevisionStartDate <= $session.system_date AND _Chemical.RevisionEndDate >= $session.system_date -- association [0..1]
LEFT OUTER JOIN I_ChmlCmplncInfo AS _ChmlCmplncInfo ON ChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID -- association [0..1]
LEFT OUTER JOIN I_SafetyInstructionChapter AS _SafetyInstructionChapter ON SafetyInstructionUUID = _SafetyInstructionChapter.SafetyInstructionUUID -- association [1..*]
LEFT OUTER JOIN I_SafetyInstructionProduct AS _SafetyInstructionProduct ON SafetyInstructionUUID = _SafetyInstructionProduct.SafetyInstructionUUID -- association [1..*]
LEFT OUTER JOIN I_SafetyInstructionBuilding AS _SafetyInstructionBuilding ON SafetyInstructionUUID = _SafetyInstructionBuilding.SafetyInstructionUUID -- association [1..*]
LEFT OUTER JOIN I_SafetyInstructionJob AS _SafetyInstructionJob ON SafetyInstructionUUID = _SafetyInstructionJob.SafetyInstructionUUID -- association [1..*]
LEFT OUTER JOIN I_SafetyInstrnFactoryArea AS _SafetyInstrnFactoryAreaTP ON SafetyInstructionUUID = _SafetyInstrnFactoryAreaTP.SafetyInstructionUUID -- association [1..*]
LEFT OUTER JOIN I_SafetyInstructionEquipment AS _SafetyInstructionEquipment ON SafetyInstructionUUID = _SafetyInstructionEquipment.SafetyInstructionUUID -- association [0..*]
;
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