I_SftyCertSafetyPrecautionVH

DDL: I_SFTYCERTSAFETYPRECAUTIONVH SQL: ISFTYCERTPRCVH Type: view_entity BASIC

Safety Certificate Safety Precaution

I_SftyCertSafetyPrecautionVH is a Basic CDS View that provides data about "Safety Certificate Safety Precaution" in SAP S/4HANA. It reads from 1 data source (ptwsftcertassgmt) and exposes 8 fields with key fields MaintenancePlanningPlant, SafetyCertificateType, SftyCertSftyPrcautnGrpCategory, SftyCertSafetyPrecautionGroup, SftyCertSafetyPrecaution. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ptwsftcertassgmt ptwsftcertassgmt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SafetyPrecautionGroupText _SftyPrcautnGroupTxt $projection.SftyCertSafetyPrecautionGroup = _SftyPrcautnGroupTxt.WrkPmtSafetyRequirementGroup and _SftyPrcautnGroupTxt.Language = $session.system_language
[1..1] I_SafetyPrecautionText _SftyPrcautnItemTxt $projection.SftyCertSafetyPrecaution = _SftyPrcautnItemTxt.WorkPermitSafetyRequirement and $projection.SftyCertSftyPrcautnGrpCategory = _SftyPrcautnItemTxt.WrkPmtSftyRequirementCategory and _SftyPrcautnItemTxt.Language = $session.system_language

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #BASIC view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
EndUserText.label Safety Certificate Safety Precaution view
ObjectModel.representativeKey MaintenancePlanningPlant view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlanningPlant iwerk Planning Plant
KEY SafetyCertificateType safetycertificatetype Usage
KEY SftyCertSftyPrcautnGrpCategory ptwsftyrqmtcategory Category
KEY SftyCertSafetyPrecautionGroup ptwsftyrqmtgrp Safety Rqmt Group
KEY SftyCertSafetyPrecaution ptwsftyrqmt Safety Rqmt
SftyCertSftyPrcautnIsImplmtd ptwsftyprcautnisimplmtbl SP implment
WrkPmtSftyRequirementGroupText _SftyPrcautnGroupTxt WrkPmtSftyRequirementGroupText Safety Rqmt Grp Txt
WrkPmtSafetyRequirementText _SftyPrcautnItemTxt WrkPmtSafetyRequirementText Safety Rqmt Txt

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_SftyCertSafetyPrecautionVH.
-- 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.
-- SQL view name: ISFTYCERTPRCVH

CREATE VIEW I_SftyCertSafetyPrecautionVH AS
SELECT
  iwerk AS MaintenancePlanningPlant,
  SafetyCertificateType,
  ptwsftyrqmtcategory AS SftyCertSftyPrcautnGrpCategory,
  ptwsftyrqmtgrp AS SftyCertSafetyPrecautionGroup,
  ptwsftyrqmt AS SftyCertSafetyPrecaution,
  ptwsftyprcautnisimplmtbl AS SftyCertSftyPrcautnIsImplmtd,
  _SftyPrcautnGroupTxt.WrkPmtSftyRequirementGroupText AS WrkPmtSftyRequirementGroupText,
  _SftyPrcautnItemTxt.WrkPmtSafetyRequirementText AS WrkPmtSafetyRequirementText
FROM ptwsftcertassgmt
LEFT OUTER JOIN I_SafetyPrecautionGroupText AS _SftyPrcautnGroupTxt ON SftyCertSafetyPrecautionGroup = _SftyPrcautnGroupTxt.WrkPmtSafetyRequirementGroup AND _SftyPrcautnGroupTxt.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_SafetyPrecautionText AS _SftyPrcautnItemTxt ON SftyCertSafetyPrecaution = _SftyPrcautnItemTxt.WorkPermitSafetyRequirement AND SftyCertSftyPrcautnGrpCategory = _SftyPrcautnItemTxt.WrkPmtSftyRequirementCategory AND _SftyPrcautnItemTxt.Language = $session.system_language  -- association [1..1]
;