P_RO_SAFTNTRTAXINFO
Purchase invoice items
P_RO_SAFTNTRTAXINFO is a Consumption CDS View that provides data about "Purchase invoice items" in SAP S/4HANA. It reads from 1 data source (I_TaxItem) and exposes 3 fields. Part of development package GLO_FIN_IS_SAFT_RO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TaxItem | Bset | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
@VDM.viewType: #CONSUMPTION
@VDM.private:true
@ObjectModel.usageType.serviceQuality: #X
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.personalData.blocking: #NOT_REQUIRED
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view entity P_RO_SAFTNTRTAXINFO
as select from I_TaxItem as Bset
{
Bset.CompanyCode,
Bset.FiscalYear,
Bset.AccountingDocument,
cast( max (case when Bset.TaxBaseAmountInTransCrcy <> 0 then
get_numeric_value(Bset.TaxBaseAmountInCountryCrcy) / get_numeric_value(Bset.TaxBaseAmountInTransCrcy) else 0 end )
as saft_ro_exchange_rate) as RO_SAFTExchangeRate
}
where
Bset.TaxCountry = 'RO'
group by
Bset.CompanyCode,
Bset.FiscalYear,
Bset.AccountingDocument
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