P_EAMOverallStatusNextSequence

DDL: P_EAMOVERALLSTATUSNEXTSEQUENCE Type: view_entity BASIC Package: EAM_OVRL_STS

Overall Status Sequence

P_EAMOverallStatusNextSequence is a Basic CDS View that provides data about "Overall Status Sequence" in SAP S/4HANA. It reads from 2 data sources (eam_ostat, eam_ostat) and exposes 5 fields with key fields EAMOverallStatusProfile, EAMOverallStatus, EAMOverallStatusEntity, EAMOverallStatusSequence. Part of development package EAM_OVRL_STS.

Data Sources (2)

SourceAliasJoin Type
eam_ostat _current from
eam_ostat _next left_outer

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY EAMOverallStatusProfile eam_ostat overall_status_profile Ovrl Sts Profile
KEY EAMOverallStatus eam_ostat overall_status Overall Sts
KEY EAMOverallStatusEntity eam_ostat used_for_entity_type Entity
KEY EAMOverallStatusSequence eam_ostat sequence Visit Sequence
EAMNextOverallStatusSequence

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 P_EAMOverallStatusNextSequence.
-- 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 P_EAMOverallStatusNextSequence AS
SELECT
  _current.overall_status_profile AS EAMOverallStatusProfile,
  _current.overall_status AS EAMOverallStatus,
  _current.used_for_entity_type AS EAMOverallStatusEntity,
  _current.sequence AS EAMOverallStatusSequence,
  min(_next.sequence) AS EAMNextOverallStatusSequence
FROM eam_ostat AS _current
LEFT OUTER JOIN eam_ostat AS _next ON /* join condition not captured in parsed metadata */
;