P_RU_InvoiceTotalAmount
P_RU_InvoiceTotalAmount is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (P_RU_InvoiceTotalAmount4) and exposes 9 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RU_InvoiceTotalAmount4 | P_RU_InvoiceTotalAmount4 | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | PRUINVTOTAMOUNT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | CompanyCode | |||
| AccountingDocument | AccountingDocument | |||
| FiscalYear | FiscalYear | |||
| AmountInCompanyCodeCurrency | ||||
| TaxBaseAmountInCoCodeCrcy | ||||
| TaxAmountInCoCodeCrcy | ||||
| AmountInTransactionCurrency | ||||
| TaxBaseAmountInTransCrcy | ||||
| TaxAmount |
@VDM.private: true
@VDM.viewType: #CONSUMPTION
@AbapCatalog.sqlViewName: 'PRUINVTOTAMOUNT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_RU_InvoiceTotalAmount
as select from P_RU_InvoiceTotalAmount4
{
CompanyCode,
AccountingDocument,
FiscalYear,
cast( abs( TaxAmountInCoCodeCrcy + TaxBaseAmountInCoCodeCrcy ) as firu_amount_in_cc_curr ) as AmountInCompanyCodeCurrency,
cast( abs( TaxBaseAmountInCoCodeCrcy ) as hwbas_bses ) as TaxBaseAmountInCoCodeCrcy,
cast( abs( TaxAmountInCoCodeCrcy ) as firu_taxamountcccrcy ) as TaxAmountInCoCodeCrcy,
cast( abs( TaxAmount + TaxBaseAmountInTransCrcy ) as firu_amount_in_trans_curr ) as AmountInTransactionCurrency,
cast( abs( TaxBaseAmountInTransCrcy ) as fwbas_bses ) as TaxBaseAmountInTransCrcy,
cast( abs( TaxAmount ) as firu_taxamount_in_trans_curr ) as TaxAmount
}
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