I_RO_SAFTPurInvoiceTaxAmount

DDL: I_RO_SAFTPURINVOICETAXAMOUNT SQL: IROSAFTPUTAXAMT Type: view BASIC

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 14 fields.

Data Sources (3)

SourceAliasJoin Type
t001 _Country inner
t005 _Procedure inner
bset _TaxData from

Annotations (10)

NameValueLevelField
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 (14)

KeyFieldSource TableSource FieldDescription
CompanyCode bset bukrs Value
AccountingDocument bset belnr SD Document
FiscalYear bset gjahr Settlement Year
AccountingDocumentItem bset buzei Posting View Item
TotalVATAmtInCoCodeCrcy bset hwste LC Tax
TransactionCurrency _AccountingDocument waers Transaction Currency
TaxAmountInDocCry bset fwste Tax Amount
TransactionTypeDetermination bset ktosl Transaction
TaxCode bset mwskz Tax Code
CountryCode t001 land1 Trip Ctry/Reg
PricingProcedure t005 kalsm Search Proced.
PostingDate _AccountingDocument budat Posting Date
TaxReportingDate _AccountingDocument vatdate Valid From
ExchangeRate

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_RO_SAFTPurInvoiceTaxAmount.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IROSAFTPUTAXAMT

CREATE VIEW I_RO_SAFTPurInvoiceTaxAmount AS
SELECT
  _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,
  _AccountingDocument.budat AS PostingDate,
  _AccountingDocument.vatdate AS TaxReportingDate,
  cast(round(_AccountingDocument.kursf, 4) as saft_ro_exchange_rate) AS ExchangeRate
FROM bset AS _TaxData
INNER JOIN t001 AS _Country ON /* join condition not captured in parsed metadata */
INNER JOIN t005 AS _Procedure ON /* join condition not captured in parsed metadata */
;