VALUATIONLEADINGITEM
VALUATIONLEADINGITEM is a CDS View in SAP S/4HANA. It reads from 1 data source (fins_cls_wl) and exposes 3 fields with key fields companycode, fiscalyear, ledger.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fins_cls_wl | fins_cls_wl | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | VALLEADING | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | companycode | companycode | ||
| KEY | fiscalyear | fiscalyear | ||
| KEY | ledger | ledger |
@AbapCatalog.sqlViewName: 'VALLEADING'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel: {
usageType.serviceQuality: #D,
usageType.sizeCategory: #XXL,
usageType.dataClass: #MIXED }
@ClientHandling.algorithm: #SESSION_VARIABLE
define view VALUATIONLEADINGITEM
as select from fins_cls_wl
{
//select the item with minimal docln in a splitted document group with same rburks, gjahr, buzei, belnr
key companycode,
key fiscalyear,
key accountingdocument,
key accountingdocumentitem,
key ledger,
min( ledgergllineitem ) as ledgergllineitem,
jrnlperiodendclosingrunloguuid
}
where
accountingdocumentitem is not initial
group by
companycode,
fiscalyear,
accountingdocument,
accountingdocumentitem,
ledger,
jrnlperiodendclosingrunloguuid
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"FINS_CLS_WL"
],
"ASSOCIATED":
[],
"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