I_SrvcPartsPeriodCode

DDL: I_SRVCPARTSPERIODCODE SQL: ISPDMNDPERDCODE Type: view BASIC

Period Code

I_SrvcPartsPeriodCode is a Basic CDS View (Dimension) that provides data about "Period Code" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field SrvcPartsPeriodCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SrvcPartsPeriodCodeText _Text $projection.SrvcPartsPeriodCode = _Text.SrvcPartsPeriodCode

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Period Code view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.representativeKey SrvcPartsPeriodCode view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ISPDMNDPERDCODE view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SrvcPartsPeriodCode
_Text _Text
@ClientHandling.algorithm:             #SESSION_VARIABLE
@EndUserText.label:                    'Period Code'
@AccessControl.authorizationCheck:     #NOT_REQUIRED
@ObjectModel.representativeKey:        'SrvcPartsPeriodCode'
@ObjectModel.usageType.dataClass:      #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory:   #S
@Analytics:                            {dataCategory: #DIMENSION,
                                       //dataExtraction: {enabled: true},

                                       internalName: #LOCAL }
@AbapCatalog.compiler.compareFilter:   true
@AbapCatalog.preserveKey:              true
@AbapCatalog.sqlViewName:              'ISPDMNDPERDCODE'
@VDM.viewType:                         #BASIC

define view I_SrvcPartsPeriodCode

  as select from dd07l

  association [0..*] to I_SrvcPartsPeriodCodeText as _Text on $projection.SrvcPartsPeriodCode = _Text.SrvcPartsPeriodCode

{
      @ObjectModel.text.association: '_Text'
  key SUBSTRING(dd07l.domvalue_l, 1, 4) as SrvcPartsPeriodCode,

      //Associations

      _Text
}

where
  (
    dd07l.domname  = '/SAPAPO/PERKZ'
  )
  and(
    dd07l.as4local = 'A'
  );
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07L"
],
"ASSOCIATED":
[
"I_SRVCPARTSPERIODCODETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/