P_EAMServiceFeature

DDL: P_EAMSERVICEFEATURE Type: view_entity

Service Features

P_EAMServiceFeature is a CDS View that provides data about "Service Features" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 1 field with key field BusinessFeatureID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_DataElementLabelText _DataElementLabelText01 _DataElementLabelText01.ABAPDataElement = 'BILLABLE_ORDER_FIORI_ACT' and _DataElementLabelText01.Language = 'E'
[0..1] I_DataElementLabelText _DataElementLabelText02 _DataElementLabelText02.ABAPDataElement = 'BILLABLE_NOTIF_ORDCREA_ACT' and _DataElementLabelText02.Language = 'E'
[0..1] I_DataElementLabelText _DataElementLabelText03 _DataElementLabelText03.ABAPDataElement = 'BILLABLE_ORDER_PHASE_ACT' and _DataElementLabelText03.Language = 'E'
[0..1] I_EAMUserParameter _EAMUSERPARAMETER _EAMUSERPARAMETER.UserParameter = 'SAP_EAM_TESTING' and _EAMUSERPARAMETER.UserParameterValue = 'BILLABLE_ORDER_TESTING'

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Service Features view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view

Fields (1)

KeyFieldSource TableSource FieldDescription
KEY BusinessFeatureID domvalue_l
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Service Features'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
  serviceQuality: #X,
  sizeCategory: #S,
  dataClass: #MIXED
}
define view entity P_EAMServiceFeature
  as select from dd07l

  association [0..1] to I_DataElementLabelText as _DataElementLabelText01 on  _DataElementLabelText01.ABAPDataElement = 'BILLABLE_ORDER_FIORI_ACT'
                                                                          and _DataElementLabelText01.Language        = 'E'

  association [0..1] to I_DataElementLabelText as _DataElementLabelText02 on  _DataElementLabelText02.ABAPDataElement = 'BILLABLE_NOTIF_ORDCREA_ACT'
                                                                          and _DataElementLabelText02.Language        = 'E'

  association [0..1] to I_DataElementLabelText as _DataElementLabelText03 on  _DataElementLabelText03.ABAPDataElement = 'BILLABLE_ORDER_PHASE_ACT'
                                                                          and _DataElementLabelText03.Language        = 'E'

  association [0..1] to I_EAMUserParameter     as _EAMUSERPARAMETER       on  _EAMUSERPARAMETER.UserParameter      = 'SAP_EAM_TESTING'
                                                                          and _EAMUSERPARAMETER.UserParameterValue = 'BILLABLE_ORDER_TESTING'


{
  key domvalue_l as BusinessFeatureID,
      case domvalue_l
                 when '01' then
                   case when _DataElementLabelText01.ABAPDataElement != '' then 'X'
                   else case when _EAMUSERPARAMETER.UserParameterValue  != '' then 'X'
                        else ''
                        end
                   end
                 when '02' then
                   case when _DataElementLabelText02.ABAPDataElement != '' then 'X'
                   else case when _EAMUSERPARAMETER.UserParameterValue  != '' then 'X'
                        else ''
                        end
                   end
                 when '03' then
                   case when _DataElementLabelText03.ABAPDataElement != '' then 'X'
                   else case when _EAMUSERPARAMETER.UserParameterValue  != '' then 'X'
                        else ''
                        end
                   end
      else ''
      end        as BusinessFeatureState


}
where
      dd07l.domname  = 'EAM_MSCO_ADDITIONAL_FEATURE'
  and dd07l.as4local = 'A'