I_Oij06_Max_Events

DDL: I_OIJ06_MAX_EVENTS SQL: IOIJ06_MEVENT Type: view BASIC

Maximum event

I_Oij06_Max_Events is a Basic CDS View that provides data about "Maximum event" in SAP S/4HANA. It reads from 2 data sources (I_Oij06_Max_DATE_Events, oijne) and exposes 6 fields.

Data Sources (2)

SourceAliasJoin Type
I_Oij06_Max_DATE_Events e inner
oijne i from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IOIJ06_MEVENT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Maximum event view

Fields (6)

KeyFieldSource TableSource FieldDescription
clientNULLasNominationEventChangedDate
clientNULLasNominationEventChangedTime
NominationEventUpdatedDate I_Oij06_Max_DATE_Events NominationEventUpdatedDate
NominationDoc I_Oij06_Max_DATE_Events NominationDoc Nomination key
NominationDocItem I_Oij06_Max_DATE_Events NominationDocItem Nom. key item
NominationEventNumber

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_Oij06_Max_Events.
-- 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: IOIJ06_MEVENT

CREATE VIEW I_Oij06_Max_Events AS
SELECT
  tstmp_to_dats( e.NominationEventUpdatedDate, 'UTC', $session.client, 'NULL' ) as NominationEventChangedDate AS clientNULLasNominationEventChangedDate,
  tstmp_to_tims( e.NominationEventUpdatedDate, 'UTC', $session.client, 'NULL' ) as NominationEventChangedTime AS clientNULLasNominationEventChangedTime,
  e.NominationEventUpdatedDate AS NominationEventUpdatedDate,
  e.NominationDoc AS NominationDoc,
  e.NominationDocItem AS NominationDocItem,
  max(i.event_nr) AS NominationEventNumber
FROM oijne AS i
INNER JOIN I_Oij06_Max_DATE_Events AS e ON /* join condition not captured in parsed metadata */
;