Deprecated
This CDS view is deprecated in S/4HANA. Use C_VE_StRpPurAndWhldgTxItmLogC instead. View all deprecated CDS views →

C_VE_StRpPurAndWhldgTxItmC

DDL: C_VE_STRPPURANDWHLDGTXITMC SQL: CVEPURTAXITEMC Type: view CONSUMPTION

Venezuela Purchase VAT and Withholding Tax Items Cube

C_VE_StRpPurAndWhldgTxItmC is a Consumption CDS View (Cube) that provides data about "Venezuela Purchase VAT and Withholding Tax Items Cube" in SAP S/4HANA. It reads from 1 data source (I_VE_StRpBPAndWhldgTaxItem) and exposes 38 fields with key fields CompanyCode, AccountingDocument, FiscalYear, TransactionTypeDetermination, TaxCode.

Data Sources (1)

SourceAliasJoin Type
I_VE_StRpBPAndWhldgTaxItem I_VE_StRpBPAndWhldgTaxItem from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CVEPURTAXITEMC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Venezuela Purchase VAT and Withholding Tax Items Cube view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Analytics.dataCategory #CUBE view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor C_VE_StRpPurAndWhldgTxItmLogC view
Metadata.allowExtensions true view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY AccountingDocument AccountingDocument Journal Entry
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY TransactionTypeDetermination TransactionTypeDetermination Transaction Key
KEY TaxCode TaxCode Tax Code
KEY AccountingDocumentItem AccountingDocumentItem Posting View Item
AccountingDocumentType AccountingDocumentType Journal Entry Type
DocumentDate DocumentDate Journal Entry Date
FinancialAccountType FinancialAccountType Fin. Account Type
PostingDate PostingDate Posting Date for GR
ReportingDate ReportingDate
TaxRate TaxRate Tax Rate
VATRegistration VATRegistration VAT Registration No.
IPITaxRate Tax Rate
Supplier Supplier Supplier
TaxID1endendasTaxNumber1
CompanyCodeCurrency CompanyCodeCurrency Local Currency
TaxBaseAmountInCoCodeCrcy TaxBaseAmountInCoCodeCrcy TxBaseAmt CoCodeCrcy
TaxAmountInCoCodeCrcy TaxAmountInCoCodeCrcy Tax Amount in Company Code Currency
TotalAmountInDisplayCrcy TotalAmountInDisplayCrcy
WithholdingTaxCertificate WithholdingTaxCertificate WHT Certificate
WhldgTaxAmtInCoCodeCrcy WhldgTaxAmtInCoCodeCrcy
InvoiceReference InvoiceReference Invoice Reference
InvoiceReferenceFiscalYear InvoiceReferenceFiscalYear Invoice Reference Fiscal Year
DocumentReferenceID DocumentReferenceID Reference
AccountingDocumentHeaderText AccountingDocumentHeaderText Doc.Header Text
Country Country Venue: Ctry/Reg
BusinessPartnerCountry _Supplier Country Venue: Ctry/Reg
IsReversal IsReversal Reversal doc.
AmendmentTaxInvoiceNumber AmendmentTaxInvoiceNumber
IsDebitBalanceRelevant IsDebitBalanceRelevant
IsCreditBalanceRelevant IsCreditBalanceRelevant
CADocumentType CADocumentType Document Type
ReverseDocumentFiscalYear ReverseDocumentFiscalYear Year
ReversalReferenceDocumentCntxt ReversalReferenceDocumentCntxt Reversal Reference Document Context
ReversalReferenceDocument ReversalReferenceDocument Reversal Reference Document
ReverseDocument ReverseDocument Reversed With
_Supplier _Supplier

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 C_VE_StRpPurAndWhldgTxItmC.
-- 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: CVEPURTAXITEMC
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW C_VE_StRpPurAndWhldgTxItmC AS
SELECT
  CompanyCode,
  AccountingDocument,
  FiscalYear,
  TransactionTypeDetermination,
  TaxCode,
  AccountingDocumentItem,
  AccountingDocumentType,
  DocumentDate,
  FinancialAccountType,
  PostingDate,
  ReportingDate,
  TaxRate,
  VATRegistration,
  cast(cast(TaxRate as abap.curr(11,2)) as char16) AS IPITaxRate,
  Supplier,
  case _Supplier.IsOneTimeAccount when '' then case when _Supplier.TaxNumber1 is null then _Supplier.TaxNumber2 else _Supplier.TaxNumber1 end else case when _OneTimeAccountBP.TaxID1 is null then _OneTimeAccountBP.TaxID2 else _OneTimeAccountBP.TaxID1 end end as TaxNumber1 AS TaxID1endendasTaxNumber1,
  CompanyCodeCurrency,
  TaxBaseAmountInCoCodeCrcy,
  TaxAmountInCoCodeCrcy,
  TotalAmountInDisplayCrcy,
  WithholdingTaxCertificate,
  WhldgTaxAmtInCoCodeCrcy,
  InvoiceReference,
  InvoiceReferenceFiscalYear,
  DocumentReferenceID,
  AccountingDocumentHeaderText,
  Country,
  _Supplier.Country AS BusinessPartnerCountry,
  IsReversal,
  AmendmentTaxInvoiceNumber,
  IsDebitBalanceRelevant,
  IsCreditBalanceRelevant,
  CADocumentType,
  ReverseDocumentFiscalYear,
  ReversalReferenceDocumentCntxt,
  ReversalReferenceDocument,
  ReverseDocument
FROM I_VE_StRpBPAndWhldgTaxItem
;