SEPM_I_LeaveRequestStatus

DDL: SEPM_I_LEAVEREQUESTSTATUS SQL: SEPM_ILEAVEREQST Type: view

EPM Demo: Leave Request Status

SEPM_I_LeaveRequestStatus is a CDS View of category Dimension that provides data about "EPM Demo: Leave Request Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field LeaveRequestStatus. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] SEPM_I_LeaveRequestStatusText _Text $projection.LeaveRequestStatus = _Text.LeaveRequestStatus

Annotations (9)

NameValueLevelField
EndUserText.label EPM Demo: Leave Request Status view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName SEPM_ILEAVEREQST view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey LeaveRequestStatus view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY LeaveRequestStatus
_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 SEPM_I_LeaveRequestStatus.
-- 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: SEPM_ILEAVEREQST

CREATE VIEW SEPM_I_LeaveRequestStatus AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as snwd_lr_status_code preserving type ) AS LeaveRequestStatus
FROM dd07l
LEFT OUTER JOIN SEPM_I_LeaveRequestStatusText AS _Text ON LeaveRequestStatus = _Text.LeaveRequestStatus  -- association [0..*]
;