I_RO_SAFTPurInvoiceTaxAmount
RO SAFT Purchase Invoice Tax Amount
I_RO_SAFTPurInvoiceTaxAmount is a Basic CDS View that provides data about "RO SAFT Purchase Invoice Tax Amount" in SAP S/4HANA. It reads from 3 data sources (t001, t005, bset) and exposes 12 fields.
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IROSAFTPUTAXAMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | RO SAFT Purchase Invoice Tax Amount | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | bset | bukrs | ||
| AccountingDocument | bset | belnr | ||
| FiscalYear | bset | gjahr | ||
| AccountingDocumentItem | bset | buzei | ||
| TotalVATAmtInCoCodeCrcy | bset | hwste | ||
| TransactionCurrency | _AccountingDocument | waers | ||
| TaxAmountInDocCry | bset | fwste | ||
| TransactionTypeDetermination | bset | ktosl | ||
| TaxCode | bset | mwskz | ||
| CountryCode | t001 | land1 | ||
| PricingProcedure | t005 | kalsm | ||
| ExchangeRate |
@AbapCatalog.sqlViewName: 'IROSAFTPUTAXAMT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'RO SAFT Purchase Invoice Tax Amount'
define view I_RO_SAFTPurInvoiceTaxAmount as select from bset as _TaxData
inner join t001 as _Country on _Country.bukrs = _TaxData.bukrs
inner join t005 as _Procedure on _Procedure.land1 = _Country.land1
join bkpf as _AccountingDocument
on _TaxData.bukrs = _AccountingDocument.bukrs
and _TaxData.belnr = _AccountingDocument.belnr
and _TaxData.gjahr = _AccountingDocument.gjahr
{
_TaxData.bukrs as CompanyCode,
_TaxData.belnr as AccountingDocument,
_TaxData.gjahr as FiscalYear,
_TaxData.buzei as AccountingDocumentItem,
_TaxData.hwste as TotalVATAmtInCoCodeCrcy,
_AccountingDocument.waers as TransactionCurrency,
_TaxData.fwste as TaxAmountInDocCry,
_TaxData.ktosl as TransactionTypeDetermination,
_TaxData.mwskz as TaxCode,
_Country.land1 as CountryCode,
_Procedure.kalsm as PricingProcedure,
// bkpf.kursf as ExchangeRate
cast(round(_AccountingDocument.kursf, 4) as saft_ro_exchange_rate) as ExchangeRate
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"BKPF",
"BSET",
"T001",
"T005"
],
"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