I_CADocumentTotalAmountOpen
Offener Betrag eines Beleges
I_CADocumentTotalAmountOpen is a Composite CDS View that provides data about "Offener Betrag eines Beleges" in SAP S/4HANA. It reads from 1 data source (I_CADocumentBPItemLogical) and exposes 4 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CADocumentBPItemLogical | I_CADocumentBPItemLogical | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | I_CADocumentHeader | _DocHeader | $projection.CADocumentNumber = _DocHeader.CADocumentNumber |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Offener Betrag eines Beleges | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ICADOCAMTOPEN | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CADocumentNumber | CADocumentNumber | |||
| TransactionCurrency | TransactionCurrency | |||
| OpenAmountInTransCrcy | ||||
| _DocHeader | _DocHeader |
@EndUserText.label: 'Offener Betrag eines Beleges'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XXL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'ICADOCAMTOPEN'
define view I_CADocumentTotalAmountOpen as select from I_CADocumentBPItemLogical
association [1] to I_CADocumentHeader as _DocHeader on $projection.CADocumentNumber = _DocHeader.CADocumentNumber
{
CADocumentNumber,
TransactionCurrency,
@Semantics.amount.currencyCode: 'TransactionCurrency'
sum(CAAmountInTransactionCurrency) as OpenAmountInTransCrcy,
_DocHeader
}
where CAClearingStatus = ' '
group by CADocumentNumber,
TransactionCurrency // TransactionCurrency is unique for each CADocumentNumber
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