I_WorkBreak

DDL: I_WORKBREAK SQL: IPPWORKBREAK Type: view BASIC

Work Break

I_WorkBreak (Basic)

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

WorkBreak · Manufacturing

I_WorkBreak is a Basic CDS View (Dimension) that provides data about "Work Break" in SAP S/4HANA. It reads from 1 data source (tc37p) and exposes 9 fields with key fields ShiftGrouping, WorkBreakSchedule, WorkBreakNumber. It has 2 associations to related views.

SAP API Hub

StateC1
Line of BusinessManufacturing
Application ComponentPP-VDM-MD
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities, Data Source for Search, Data Source for Data Extraction
PackageManufacturing for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which work breaks are maintained in a work break schedule?</p></li> <li><p>What are the start and end times of a work break?</p></li> <li><p>What is the duration of a break in seconds?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
tc37p break from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_ShiftGrouping _ShiftGrouping $projection.ShiftGrouping = _ShiftGrouping.ShiftGrouping
[1..1] I_WorkBreakSchedule _WorkBreakSchedule $projection.ShiftGrouping = _WorkBreakSchedule.ShiftGrouping and $projection.WorkBreakSchedule = _WorkBreakSchedule.WorkBreakSchedule

Annotations (23)

NameValueLevelField
AbapCatalog.sqlViewName IPPWORKBREAK view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 002 view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey WorkBreakNumber 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 Work Break view
ObjectModel.sapObjectNodeType.name WorkBreak view
Analytics.dataExtraction.enabled true view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ShiftGrouping tc37p schgrup Grouping for Shift Definitions and Shift Sequences
KEY WorkBreakSchedule tc37p paplan Work Break Schedule
KEY WorkBreakNumber tc37p paunr Break Number in a Work Break Schedule
WorkBreakStartTime tc37p paubeg Start Time
WorkBreakEndTime tc37p pauend End Time
DurnUntilWorkBreakInHours tc37p stdaz Work Break After Hours
BreakDurationInSeconds tc37p padauer Length of a Work Break in Seconds (internal)
_ShiftGrouping _ShiftGrouping
_WorkBreakSchedule _WorkBreakSchedule

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_WorkBreak.
-- 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: IPPWORKBREAK

CREATE VIEW I_WorkBreak AS
SELECT
  break.schgrup AS ShiftGrouping,
  break.paplan AS WorkBreakSchedule,
  break.paunr AS WorkBreakNumber,
  break.paubeg AS WorkBreakStartTime,
  break.pauend AS WorkBreakEndTime,
  break.stdaz AS DurnUntilWorkBreakInHours,
  break.padauer AS BreakDurationInSeconds
FROM tc37p AS break
LEFT OUTER JOIN I_ShiftGrouping AS _ShiftGrouping ON ShiftGrouping = _ShiftGrouping.ShiftGrouping  -- association [1..1]
LEFT OUTER JOIN I_WorkBreakSchedule AS _WorkBreakSchedule ON ShiftGrouping = _WorkBreakSchedule.ShiftGrouping AND WorkBreakSchedule = _WorkBreakSchedule.WorkBreakSchedule  -- association [1..1]
;