I_SftyCertTemplateType

DDL: I_SFTYCERTTEMPLATETYPE SQL: ISFTYCERTTMPLTYP Type: view BASIC

Safety Certificate Template Type

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

Data Sources (1)

SourceAliasJoin Type
ptwsftycerttype ptwsftycerttype from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SafetyCertificateTypeText _SafetyCertificateTypeText $projection.SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType and $projection.MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant and _SafetyCertificateTypeText.Language = $session.system_language
[1..1] I_PermitToWorkProfile _PermitToWorkProfile $projection.MaintenancePlanningPlant = _PermitToWorkProfile.MaintenancePlanningPlant

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISFTYCERTTMPLTYP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Safety Certificate Template Type view
ObjectModel.representativeKey SafetyCertificateType view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY MaintenancePlanningPlant iwerk Planning Plant
KEY SafetyCertificateType safetycertificatetype Usage
SftyCertificateTypeDescription _SafetyCertificateTypeText SftyCertificateTypeDescription Sfty Cert Type Desc
_SafetyCertificateTypeText _SafetyCertificateTypeText
_PermitToWorkProfile _PermitToWorkProfile
InternalNumberRangeInterval int_range No. Range No.
ExternalNumberRangeInterval ext_range No. Range No.
SafetyCertificateReferenceType refsafetycertificatetype Ref Safety Cert Typ

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_SftyCertTemplateType.
-- 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: ISFTYCERTTMPLTYP

CREATE VIEW I_SftyCertTemplateType AS
SELECT
  iwerk AS MaintenancePlanningPlant,
  SafetyCertificateType,
  _SafetyCertificateTypeText.SftyCertificateTypeDescription AS SftyCertificateTypeDescription,
  int_range AS InternalNumberRangeInterval,
  ext_range AS ExternalNumberRangeInterval,
  refsafetycertificatetype AS SafetyCertificateReferenceType
FROM ptwsftycerttype
LEFT OUTER JOIN I_SafetyCertificateTypeText AS _SafetyCertificateTypeText ON SafetyCertificateType = _SafetyCertificateTypeText.SafetyCertificateType AND MaintenancePlanningPlant = _SafetyCertificateTypeText.MaintenancePlanningPlant AND _SafetyCertificateTypeText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_PermitToWorkProfile AS _PermitToWorkProfile ON MaintenancePlanningPlant = _PermitToWorkProfile.MaintenancePlanningPlant  -- association [1..1]
;