I_SafetyRequirementValueHelp
Safety req category and item text
I_SafetyRequirementValueHelp is a Basic CDS View that provides data about "Safety req category and item text" in SAP S/4HANA. It reads from 1 data source (ptwwrkpmtassgmt) and exposes 11 fields with key fields MaintenancePlanningPlant, WorkPermitType, WorkPermitGroupCategory, WrkPmtSafetyRequirementGroup, WorkPermitSafetyRequirement. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ptwwrkpmtassgmt | ptwwrkpmtassgmt | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SafetyPrecautionGroupText | _SftyPrcautnGroupTxt | $projection.WrkPmtSafetyRequirementGroup = _SftyPrcautnGroupTxt.WrkPmtSafetyRequirementGroup and _SftyPrcautnGroupTxt.Language = $session.system_language |
| [1..1] | I_SafetyPrecautionText | _SftyPrcautnItemTxt | $projection.WorkPermitSafetyRequirement = _SftyPrcautnItemTxt.WorkPermitSafetyRequirement and $projection.WorkPermitGroupCategory = _SftyPrcautnItemTxt.WrkPmtSftyRequirementCategory and _SftyPrcautnItemTxt.Language = $session.system_language |
| [1..1] | I_SafetyCertificateTypeText | _SafetyCertificateTypeText | $projection.SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType and $projection.MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant and _SafetyCertificateTypeText.Language = $session.system_language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISFTYREQVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| EndUserText.label | Safety req category and item text | view | |
| ObjectModel.representativeKey | MaintenancePlanningPlant | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaintenancePlanningPlant | iwerk | Planning Plant | |
| KEY | WorkPermitType | workpermittype | Work Permit Type | |
| KEY | WorkPermitGroupCategory | ptwsftyrqmtcategory | Category | |
| KEY | WrkPmtSafetyRequirementGroup | ptwsftyrqmtgrp | Safety Rqmt Group | |
| KEY | WorkPermitSafetyRequirement | ptwsftyrqmt | Safety Rqmt | |
| WrkPmtSftyRqmtIsImplemented | ptwsftyprcautnisimplmtbl | SP implment | ||
| WrkPmtSftyRequirementGroupText | _SftyPrcautnGroupTxt | WrkPmtSftyRequirementGroupText | Safety Rqmt Grp Txt | |
| WrkPmtSafetyRequirementText | _SftyPrcautnItemTxt | WrkPmtSafetyRequirementText | Safety Rqmt Txt | |
| SafetyCertificateType | ptwsftycerttype | Safety Certif Type | ||
| SftyCertificateTypeDescription | _SafetyCertificateTypeText | SftyCertificateTypeDescription | Sfty Cert Type Desc | |
| _SafetyCertificateTypeText | _SafetyCertificateTypeText |
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_SafetyRequirementValueHelp.
-- 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: ISFTYREQVH
CREATE VIEW I_SafetyRequirementValueHelp AS
SELECT
iwerk AS MaintenancePlanningPlant,
WorkPermitType,
ptwsftyrqmtcategory AS WorkPermitGroupCategory,
ptwsftyrqmtgrp AS WrkPmtSafetyRequirementGroup,
ptwsftyrqmt AS WorkPermitSafetyRequirement,
ptwsftyprcautnisimplmtbl AS WrkPmtSftyRqmtIsImplemented,
_SftyPrcautnGroupTxt.WrkPmtSftyRequirementGroupText AS WrkPmtSftyRequirementGroupText,
_SftyPrcautnItemTxt.WrkPmtSafetyRequirementText AS WrkPmtSafetyRequirementText,
ptwsftycerttype AS SafetyCertificateType,
_SafetyCertificateTypeText.SftyCertificateTypeDescription AS SftyCertificateTypeDescription
FROM ptwwrkpmtassgmt
LEFT OUTER JOIN I_SafetyPrecautionGroupText AS _SftyPrcautnGroupTxt ON WrkPmtSafetyRequirementGroup = _SftyPrcautnGroupTxt.WrkPmtSafetyRequirementGroup AND _SftyPrcautnGroupTxt.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_SafetyPrecautionText AS _SftyPrcautnItemTxt ON WorkPermitSafetyRequirement = _SftyPrcautnItemTxt.WorkPermitSafetyRequirement AND WorkPermitGroupCategory = _SftyPrcautnItemTxt.WrkPmtSftyRequirementCategory AND _SftyPrcautnItemTxt.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_SafetyCertificateTypeText AS _SafetyCertificateTypeText ON SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType AND MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant AND _SafetyCertificateTypeText.Language = $session.system_language -- association [1..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