I_PPM_MilestoneApprovalStsText

DDL: I_PPM_MILESTONEAPPROVALSTSTEXT SQL: IPPMMSTNARVLSTST Type: view BASIC

Milestone Approval Status Text

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

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (11)

NameValueLevelField
EndUserText.label Milestone Approval Status Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPPMMSTNARVLSTST view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory L view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey MilestoneApprovalStatus view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY Language
KEY MilestoneApprovalStatus
MilestoneApprovalStatusText Milestone Approval Status
_Language _Language
@EndUserText.label: 'Milestone Approval Status Text'
@ObjectModel.dataCategory: #TEXT
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IPPMMSTNARVLSTST'
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl: {
    authorizationCheck:     #NOT_ALLOWED
//    privilegedAssociations: ['_MILESTONEAPPROVALSTATUS']    

}

@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: 'L'
@ObjectModel.usageType.dataClass: #MIXED

@ObjectModel.representativeKey: 'MilestoneApprovalStatus'
@VDM.lifecycle.contract.type:  #SAP_INTERNAL_API

define view I_PPM_MilestoneApprovalStsText as select from dd07t
  association [0..1] to I_Language as _Language on $projection.Language = _Language.Language

{ 
  @Semantics.language: true
  key cast( ddlanguage as spras ) as Language,

  @ObjectModel.text.element:['MilestoneApprovalStatusText']
  key cast ( substring( domvalue_l, 1, 5 ) as /s4ppm/tv_mlstn_apprvl_status ) as MilestoneApprovalStatus,

// inhibit the field to be shown in the field list of a view. If you need the filed to be displayed, include it in your view and use UI.hidden:false

// better, use text arranagement

  @Semantics.text: true
  @EndUserText.label: 'Milestone Approval Status'
  cast ( ddtext as /s4ppm/tv_mlstn_apprvl_sts_txt ) as MilestoneApprovalStatusText,  
  
  _Language  
}
where domname = '/S4PPM/MLSTN_APPRVL_STATUS' and as4local = 'A'       
 /*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/