I_HCMTimeEventInfoType

DDL: I_HCMTIMEEVENTINFOTYPE Type: view_entity BASIC

HCM Time Events Infotype records

I_HCMTimeEventInfoType is a Basic CDS View that provides data about "HCM Time Events Infotype records" in SAP S/4HANA. It reads from 1 data source (teven) and exposes 23 fields with key field HCMTimeEventID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
teven teven from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_HCMPersonWorkAgreement _HCMPersonWorkAgreement _HCMPersonWorkAgreement.PersonWorkAgreement = $projection.PersonnelNumber

Annotations (7)

NameValueLevelField
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label HCM Time Events Infotype records view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY HCMTimeEventID
PersonnelNumber pernr Personnel no.
HCMTimeEventDate ldate Entry Date
HCMTimeEventTime ltime Time received
HCMTimeEventCreationDate erdat Entered On
HCMTimeEventCreationTime ertim Time
HCMTimeEventType satza Time event type
HCMTimeEventTerminalID terid Terminal ID
HCMTimeEventAttndncAbsncReason abwgr Undefined range (can be used for patch levels)
HCMTimeEventOrigin origf Origin
HCMTimeEvtDayAssgmt Single-Character Flag
HCMObjectType otype Type of Val.
HCMPosition plans Position
ConfirmationIsReversed stokz Reversed
PayScaleGroup trfgr Pay Scale Group
PayScaleLevel trfst PS level
HCMPremiumNumberCode prakn Premium no.
HCMPremiumIndicatorCode prakz Premium ID
HCMExtraPayIndicatorCode aufkz Qty Struct. Control
HCMValuationBasisAmount bwgrl Valuation basis
HCMCurrency waers Transaction Currency
HCMTimeEvtTimeRecordingID zausw Time rec.ID no.
_HCMPersonWorkAgreement _HCMPersonWorkAgreement

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_HCMTimeEventInfoType.
-- 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.

CREATE VIEW I_HCMTimeEventInfoType AS
SELECT
  cast(teven.pdsnr as char32) AS HCMTimeEventID,
  pernr AS PersonnelNumber,
  ldate AS HCMTimeEventDate,
  ltime AS HCMTimeEventTime,
  erdat AS HCMTimeEventCreationDate,
  ertim AS HCMTimeEventCreationTime,
  satza AS HCMTimeEventType,
  terid AS HCMTimeEventTerminalID,
  abwgr AS HCMTimeEventAttndncAbsncReason,
  origf AS HCMTimeEventOrigin,
  cast(dallf as char1) AS HCMTimeEvtDayAssgmt,
  otype AS HCMObjectType,
  plans AS HCMPosition,
  stokz AS ConfirmationIsReversed,
  trfgr AS PayScaleGroup,
  trfst AS PayScaleLevel,
  prakn AS HCMPremiumNumberCode,
  prakz AS HCMPremiumIndicatorCode,
  aufkz AS HCMExtraPayIndicatorCode,
  bwgrl AS HCMValuationBasisAmount,
  waers AS HCMCurrency,
  zausw AS HCMTimeEvtTimeRecordingID
FROM teven
LEFT OUTER JOIN I_HCMPersonWorkAgreement AS _HCMPersonWorkAgreement ON _HCMPersonWorkAgreement.PersonWorkAgreement = PersonnelNumber  -- association [0..1]
;