I_PCTrdScrtCalcSttgText
Trade Secret Calculation Setting - Text
I_PCTrdScrtCalcSttgText is a Basic CDS View that provides data about "Trade Secret Calculation Setting - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields Language, PCTrdScrtCalculationSetting. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Trade Secret Calculation Setting - Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | PCTrdScrtCalculationSetting | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| Search.searchable | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | |||
| KEY | PCTrdScrtCalculationSetting | |||
| DomainValue | domvalue_l | |||
| PCTrdScrtCalculationSettingTxt | ddtext | |||
| _Language | _Language | |||
| _CalculationSetting | _CalculationSetting |
@EndUserText.label: 'Trade Secret Calculation Setting - Text'
@Metadata.ignorePropagatedAnnotations: true
-- CDS View Classification: 1. No data access restriction required
-- Reason: Text View for Domain Fix values
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ObjectModel:
{
--Data category
/*
#TEXT: the annotated entity represents texts
#HIERARCHY: the entity represents the hierarchy-related data
*/
dataCategory: #TEXT,
representativeKey: 'PCTrdScrtCalculationSetting',
--Performance Annotations
usageType:
{
dataClass: #CUSTOMIZING,
sizeCategory: #S,
serviceQuality: #C
}
}
@Search.searchable: true
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity I_PCTrdScrtCalcSttgText
as select from dd07t
association to parent I_PCTrdScrtCalcSttgVH as _CalculationSetting on $projection.PCTrdScrtCalculationSetting = _CalculationSetting.PCTrdScrtCalculationSetting
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key cast(ddlanguage as spras preserving type ) as Language,
@ObjectModel.foreignKey.association: '_CalculationSetting'
@ObjectModel.text.element:['PCTrdScrtCalculationSettingTxt']
key cast(domvalue_l as ehfnd_ts_calculation_setting preserving type ) as PCTrdScrtCalculationSetting,
/* Content */
@Consumption.hidden: true
domvalue_l as DomainValue,
@Semantics.text: true
@Search:
{
defaultSearchElement: true,
fuzzinessThreshold: 0.8,
ranking: #LOW
}
ddtext as PCTrdScrtCalculationSettingTxt,
/* Associations */
_Language,
_CalculationSetting
}
where
domname = 'EHFND_TS_CALCULATION_SETTING'
and as4local = 'A'
and as4vers = '0000'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_PCTRDSCRTCALCSTTGVH"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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