I_ReportingPeriodText
Reporting Period - Text
I_ReportingPeriodText is a Basic CDS View that provides data about "Reporting Period - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields ReportingPeriod, Language. It has 2 associations to related views. Part of development package PPH_ANALYTICS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
| [1..1] | I_ReportingPeriod | _ReportingPeriod | $projection.ReportingPeriod = _ReportingPeriod.ReportingPeriod |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| Analytics.technicalName | IREPPERIODTXT | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.representativeKey | ReportingPeriod | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| Search.searchable | true | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Reporting Period - Text | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ReportingPeriod | |||
| KEY | Language | |||
| ReportingPeriodName | ||||
| DomainValue | dd07t | domvalue_l | ||
| _ReportingPeriod | _ReportingPeriod | |||
| _Language | _Language |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #TEXT
@Analytics.technicalName: 'IREPPERIODTXT'
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [#LANGUAGE_DEPENDENT_TEXT, #SQL_DATA_SOURCE, #CDS_MODELING_DATA_SOURCE, #SEARCHABLE_ENTITY]
@ObjectModel.representativeKey: 'ReportingPeriod'
@ObjectModel.usageType: {serviceQuality: #A, sizeCategory: #L, dataClass: #META}
@Search.searchable: true
@VDM.lifecycle.contract.type: #PUBLIC_LOCAL_API
@VDM.viewType: #BASIC
@EndUserText.label: 'Reporting Period - Text'
/*+[hideWarning] { "IDS" : [ "KEY_CHECK", "CALCULATED_FIELD_CHECK" ] } */
define view entity I_ReportingPeriodText
as select from dd07t as t
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
association [1..1] to I_ReportingPeriod as _ReportingPeriod on $projection.ReportingPeriod = _ReportingPeriod.ReportingPeriod
{
@ObjectModel.foreignKey.association: '_ReportingPeriod'
@ObjectModel.text.element: ['ReportingPeriodName']
key cast( cast(substring(t.domvalue_l, 1, 2) as abap.numc(2) ) as pph_reportingperiod preserving type) as ReportingPeriod,
@ObjectModel.foreignKey.association: '_Language'
@Semantics.language: true
key cast(t.ddlanguage as spras preserving type) as Language,
@Search: {defaultSearchElement: true, ranking: #LOW, fuzzinessThreshold: 0.8}
@Semantics.text: true
cast(t.ddtext as pph_reportingperiodname preserving type) as ReportingPeriodName,
@Consumption.hidden: true
t.domvalue_l as DomainValue,
// Associations
@ObjectModel.association.type: [#TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT]
_ReportingPeriod,
_Language
}
where
t.domname = 'PPH_PERIOD'
and t.as4local = 'A'
and t.as4vers = '0000';
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA