P_AR_PurchaseVATRateSupplier
Argentina Purchase VAT Rate - Supplier
P_AR_PurchaseVATRateSupplier is a Consumption CDS View that provides data about "Argentina Purchase VAT Rate - Supplier" in SAP S/4HANA. It reads from 1 data source (I_Supplier) and exposes 5 fields with key fields CompanyCode, FiscalYear, AccountingDocument, SupplierendaslifnrasSupplier. Part of development package GLO_FIN_IS_VAT_AR.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Supplier | Supplier | inner |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PARPURVTRTSUPLR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.private | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #D | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_OperationalAcctgDocItem | CompanyCode | |
| KEY | FiscalYear | I_OperationalAcctgDocItem | FiscalYear | |
| KEY | AccountingDocument | I_OperationalAcctgDocItem | AccountingDocument | |
| KEY | SupplierendaslifnrasSupplier | |||
| DebitCreditCodeendasDebitCreditCode |
@AbapCatalog.sqlViewName: 'PARPURVTRTSUPLR'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.private:true
@VDM.viewType: #CONSUMPTION
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #D
define view P_AR_PurchaseVATRateSupplier
as select distinct from I_OperationalAcctgDocItem
inner join I_Supplier as Supplier on I_OperationalAcctgDocItem.Supplier = Supplier.Supplier
and Supplier.TaxNumber1 <> '30546676591'
and Supplier.TaxNumber1 <> '33693450239'
{
key I_OperationalAcctgDocItem.CompanyCode,
key I_OperationalAcctgDocItem.FiscalYear,
key I_OperationalAcctgDocItem.AccountingDocument,
key cast(
case
when Supplier.FiscalAddress <> ''
then Supplier.FiscalAddress
else Supplier.Supplier
end as lifnr
) as Supplier,
case
when SpecialGLTransactionType = 'A' and DebitCreditCode = 'S'
then 'H'
when SpecialGLTransactionType = 'A' and DebitCreditCode = 'H'
then 'S'
else I_OperationalAcctgDocItem.DebitCreditCode
end as DebitCreditCode
}
where
I_OperationalAcctgDocItem.FinancialAccountType = 'K'
and I_OperationalAcctgDocItem.IsUsedInPaymentTransaction = ''
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