C_VE_StRpPurAndWhldgTxItmC
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)
| Source | Alias | Join Type |
|---|---|---|
| I_VE_StRpBPAndWhldgTaxItem | I_VE_StRpBPAndWhldgTaxItem | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA