I_SafetyTimePeriodProfile

DDL: I_SAFETYTIMEPERIODPROFILE SQL: ISAFTTMEPERPRFL Type: view BASIC

Period Profile for Safety Time

I_SafetyTimePeriodProfile (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Material Stock SafetyTime Period Profile · Manufacturing

I_SafetyTimePeriodProfile is a Basic CDS View (Dimension) that provides data about "Period Profile for Safety Time" in SAP S/4HANA. It reads from 1 data source (t438v) and exposes 4 fields with key fields Plant, SafetyTimePeriodProfile. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Material Requirements Planning
Data CategoryDIMENSION
Purpose
This CDS view helps to select period profiles for safety time (table T438V ). This CDS view provides the data to answer the following business questions: Which period profiles for safety time exist within a plant? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Fields Used for Filtering The main filters are as follows: Plant: This field is used to filter by plant. Further Important Fields Important fields in this view include the following: Field Name Description Plant Plant SafetyTimePeriodProfile Period Profile for Safety Time

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Search
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps to select period profiles for safety time (table T438V). </p> This CDS view provides the data to answer the following business questions:<ul> <li><p>Which period profiles for safety time exist within a plant?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
t438v t438v from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[0..*] I_SafetyTimePeriodProfileText _Text $projection.Plant = _Text.Plant and $projection.SafetyTimePeriodProfile = _Text.SafetyTimePeriodProfile

Annotations (22)

NameValueLevelField
AbapCatalog.sqlViewName ISAFTTMEPERPRFL view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #FULL view
AbapCatalog.buffering.numberOfKeyFields 000 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Consumption.ranked true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey SafetyTimePeriodProfile view
ObjectModel.sapObjectNodeType.name MatlStkSafetyTimePeriodProfile view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
EndUserText.label Period Profile for Safety Time view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Plant werks Receiving Plant
KEY SafetyTimePeriodProfile Period Profile for Safety Time
_Plant _Plant
_Text _Text

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_SafetyTimePeriodProfile.
-- 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: ISAFTTMEPERPRFL

CREATE VIEW I_SafetyTimePeriodProfile AS
SELECT
  werks AS Plant,
  cast(shpro as pph_shpro preserving type) AS SafetyTimePeriodProfile
FROM t438v
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_SafetyTimePeriodProfileText AS _Text ON Plant = _Text.Plant AND SafetyTimePeriodProfile = _Text.SafetyTimePeriodProfile  -- association [0..*]
;