C_GnrcSafetyInstructionJobTP

DDL: C_GNRCSAFETYINSTRUCTIONJOBTP Type: view CONSUMPTION Package: EHHSS_CNS_FSI

Generic SI: Job Consumption View

C_GnrcSafetyInstructionJobTP is a Consumption CDS View that provides data about "Generic SI: Job Consumption View" in SAP S/4HANA. It reads from 1 data source (I_SafetyInstructionJobTP) and exposes 6 fields with key field SafetyInstructionJobUUID. It has 2 associations to related views. Part of development package EHHSS_CNS_FSI.

Data Sources (1)

SourceAliasJoin Type
I_SafetyInstructionJobTP I_SafetyInstructionJobTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_GenericSafetyInstructionTP _SafetyInstruction $projection.SafetyInstructionUUID = _SafetyInstruction.SafetyInstructionUUID --Text associations
[1..1] I_EHSJobNameText _EHSJobNameText $projection.EHSJobUUID = _EHSJobNameText.EHSJobUUID and _EHSJobNameText.Language = $session.system_language

Annotations (18)

NameValueLevelField
EndUserText.label Generic SI: Job Consumption View view
AbapCatalog.sqlViewName CGNRCFSIJOBTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.representativeKey SafetyInstructionJobUUID view
ObjectModel.semanticKey SafetyInstructionUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
Metadata.ignorePropagatedAnnotations false view
Metadata.allowExtensions true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY SafetyInstructionJobUUID SafetyInstructionJobUUID NodeID
SafetyInstructionUUID SafetyInstructionUUID NodeID
EHSJobUUID EHSJobUUID Jobs
EHSJobName _EHSJobNameText EHSJobName
_SafetyInstruction _SafetyInstruction
Textassociations_EHSJobNameText

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_GnrcSafetyInstructionJobTP.
-- 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_GnrcSafetyInstructionJobTP AS
SELECT
  SafetyInstructionJobUUID,
  SafetyInstructionUUID,
  EHSJobUUID,
  _EHSJobNameText.EHSJobName AS EHSJobName
FROM I_SafetyInstructionJobTP
LEFT OUTER JOIN C_GenericSafetyInstructionTP AS _SafetyInstruction ON SafetyInstructionUUID = _SafetyInstruction.SafetyInstructionUUID  -- association [1..1]
LEFT OUTER JOIN I_EHSJobNameText AS _EHSJobNameText ON EHSJobUUID = _EHSJobNameText.EHSJobUUID AND _EHSJobNameText.Language = $session.system_language  -- association [1..1]
;