VALUATIONLEADINGITEM
Valuation run leading item
VALUATIONLEADINGITEM is a CDS View that provides data about "Valuation run leading item" in SAP S/4HANA. It reads from 1 data source (VALUATIONWORKLIST) and exposes 4 fields with key fields companycode, Fiscalyear, ledger. Part of development package FINS_FI_CLS_VAL_COMMON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| VALUATIONWORKLIST | VALUATIONWORKLIST | 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 (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | companycode | companycode | ||
| KEY | Fiscalyear | Fiscalyear | ||
| KEY | ledger | ledger | ||
| Jrnlperiodendclosingrunloguuid | Jrnlperiodendclosingrunloguuid |
@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 VALUATIONWORKLIST
{
//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,
finclosinglineitemprocessstep
}
where
accountingdocumentitem is not initial
group by
companycode,
Fiscalyear,
accountingdocument,
accountingdocumentitem,
ledger,
Jrnlperiodendclosingrunloguuid,
finclosinglineitemprocessstep
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