P_PeriodTypeVH

DDL: P_PERIODTYPEVH Type: view BASIC

P_PeriodTypeVH is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 2 fields with key field PeriodKey.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Annotations (10)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PPERIODTYPEVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY PeriodKey
PeriodText ddtext
@AbapCatalog.preserveKey: true
@AbapCatalog: {
                 sqlViewName: 'PPERIODTYPEVH',
                 compiler.compareFilter: true
              }
@AccessControl.authorizationCheck: #CHECK              
@ObjectModel: {
                 usageType:{
                              sizeCategory: #S,
                              serviceQuality: #B,
                              dataClass:#TRANSACTIONAL
                           }                           
              }
@ClientHandling.algorithm: #SESSION_VARIABLE              
@VDM: {
         viewType: #BASIC,
         private: true
      }
                    
define view P_PeriodTypeVH as select from dd07t {
  @ObjectModel.text.element: ['PeriodText']
  key cast( domvalue_l as nsdm_period_type ) as PeriodKey,
      @Semantics.text: true
      ddtext     as PeriodText
    
}
where domname = 'NSDM_PERIOD_TYPE'
  and (domvalue_l = 'Q'
    or domvalue_l = 'Y'
    or domvalue_l = 'M'
    or domvalue_l = 'W')
  and ddlanguage = $session.system_language  

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[],
"BASE":
[],
"VERSION":0
}
}*/