I_PPM_MilestoneApprovalStatus

DDL: I_PPM_MILESTONEAPPROVALSTATUS SQL: IPPMMSTAPPRVLSTS Type: view BASIC

Milestone Approval Status

I_PPM_MilestoneApprovalStatus is a Basic CDS View that provides data about "Milestone Approval Status" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field MilestoneApprovalStatus. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Project Financials Control and Project Management
Purpose
This CDS view provides supported values for the milestone approval status. The values and their meanings are: Fixed Value Milestone Approval Status 10 For Approval 20 Approved 30 Rejected 40 On Hold 50 Rework Required 60 N/A

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[1] I_PPM_MilestoneApprovalStsText _Text $projection.MilestoneApprovalStatus = _Text.MilestoneApprovalStatus and _Text.Language = $session.system_language

Annotations (13)

NameValueLevelField
EndUserText.label Milestone Approval Status view
AbapCatalog.sqlViewName IPPMMSTAPPRVLSTS view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.representativeKey MilestoneApprovalStatus view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #S view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.dataCategory #VALUE_HELP view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY MilestoneApprovalStatus
_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 I_PPM_MilestoneApprovalStatus.
-- 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: IPPMMSTAPPRVLSTS

CREATE VIEW I_PPM_MilestoneApprovalStatus AS
SELECT
  cast ( substring( domvalue_l, 1, 5 ) as /s4ppm/tv_mlstn_apprvl_status ) AS MilestoneApprovalStatus
FROM dd07l
LEFT OUTER JOIN I_PPM_MilestoneApprovalStsText AS _Text ON MilestoneApprovalStatus = _Text.MilestoneApprovalStatus AND _Text.Language = $session.system_language  -- association [1]
;