SEPM_I_PurOrdApprovalStatusT

DDL: SEPM_I_PURORDAPPROVALSTATUST SQL: SEPM_IPOAPSTTST Type: view

EPM Demo: Purchase Order Approval Status Text

SEPM_I_PurOrdApprovalStatusT is a CDS View that provides data about "EPM Demo: Purchase Order Approval Status Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields PurchaseOrderApprovalStatus, Language. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] SEPM_I_PurOrdApprovalStatus _PurchaseOrderApprovalStatus $projection.PurchaseOrderApprovalStatus = _PurchaseOrderApprovalStatus.PurchaseOrderApprovalStatus
[0..1] SEPM_I_Language _Language $projection.Language = _Language.Language

Annotations (9)

NameValueLevelField
EndUserText.label EPM Demo: Purchase Order Approval Status Text view
Analytics.dataExtraction.enabled true view
AbapCatalog.sqlViewName SEPM_IPOAPSTTST view
ObjectModel.dataCategory #TEXT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey PurchaseOrderApprovalStatus view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrderApprovalStatus
KEY Language ddlanguage Lang.
PurOrdApprovalStatusName ddtext Short text
_PurchaseOrderApprovalStatus _PurchaseOrderApprovalStatus
_Language _Language

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_PurOrdApprovalStatusT.
-- 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_IPOAPSTTST

CREATE VIEW SEPM_I_PurOrdApprovalStatusT AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as snwd_po_ap_status_code preserving type ) AS PurchaseOrderApprovalStatus,
  ddlanguage AS Language,
  ddtext AS PurOrdApprovalStatusName
FROM dd07t
LEFT OUTER JOIN SEPM_I_PurOrdApprovalStatus AS _PurchaseOrderApprovalStatus ON PurchaseOrderApprovalStatus = _PurchaseOrderApprovalStatus.PurchaseOrderApprovalStatus  -- association [1..1]
LEFT OUTER JOIN SEPM_I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;