C_CostRateLedgerVH
Ledger Value Help
C_CostRateLedgerVH is a Consumption CDS View that provides data about "Ledger Value Help" in SAP S/4HANA. It reads from 2 data sources (I_Ledger, I_Ledger) and exposes 6 fields with key field Ledger. It has 2 associations to related views.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_LedgerText | _LedgerText | $projection.Ledger = _LedgerText.Ledger |
| [0..*] | I_LedgerText | _Text | $projection.Ledger = _Text.Ledger |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCOSTRATELDGRVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | Ledger | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Search.searchable | false | view | |
| Consumption.ranked | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Ledger Value Help | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | Ledger | ||
| IsLeadingLedger | IsLeadingLedger | |||
| LedgerName | ||||
| IsLeadingLedger | ||||
| LedgerName | ||||
| _Text | _Text |
@AbapCatalog.sqlViewName: 'CCOSTRATELDGRVH'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType: #CONSUMPTION
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'Ledger'
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #S
@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_Text']
@ClientHandling.algorithm: #SESSION_VARIABLE
@Search.searchable: false
@Consumption.ranked: true
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Ledger Value Help'
define view C_CostRateLedgerVH
as select from I_Ledger
association [0..*] to I_LedgerText as _LedgerText on $projection.Ledger = _LedgerText.Ledger
{
@Search: {
defaultSearchElement: true,
ranking: #HIGH,
fuzzinessThreshold: 0.8
}
@ObjectModel.text.element: ['LedgerName']
key Ledger,
IsLeadingLedger,
@Search: {
defaultSearchElement: true,
ranking: #LOW,
fuzzinessThreshold: 0.8
}
@Semantics.text: true
_LedgerText[1:Language=$session.system_language].LedgerName,
_Text
}
where
LedgerType = '' // Standard Ledger (Special Ledgers are excluded)
union select from I_Ledger
association [0..*] to I_LedgerText as _Text on $projection.Ledger = _Text.Ledger
{
@ObjectModel.text.element: ['LedgerName']
key cast('' as fins_ledger ) as Ledger,
cast('' as fagl_flag_leading) as IsLeadingLedger,
@Semantics.text: true
cast('' as ldtxt) as LedgerName,
_Text
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_LEDGER",
"I_LEDGERTEXT"
],
"ASSOCIATED":
[
"I_LEDGERTEXT"
],
"BASE":
[
"I_LEDGER"
],
"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