C_VE_StRpSlsAndWhldgTxItmC
Venezuela Sales VAT and Withholding Tax Items Cube
C_VE_StRpSlsAndWhldgTxItmC is a Consumption CDS View (Cube) that provides data about "Venezuela Sales VAT and Withholding Tax Items Cube" in SAP S/4HANA. It reads from 1 data source (I_VE_StRpBPAndWhldgTaxItem) and exposes 51 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 | CVESLSTAXITEMC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Venezuela Sales 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_StRpSlsAndWhldgTxItmLogC | view | |
| Metadata.allowExtensions | true | view |
Fields (51)
| 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 | TaxItem | TaxItem | Tax Item | |
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| TaxRate | TaxRate | Tax Rate | ||
| IPITaxRate | Tax Rate | |||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| ReportingDate | ReportingDate | |||
| TaxID1endendasTaxNumber1 | ||||
| TaxBaseAmountInCoCodeCrcy | ||||
| TaxAmountInCoCodeCrcy | ||||
| WhldgTaxAmtInCoCodeCrcy | WhldgTaxAmtInCoCodeCrcy | |||
| TotalAmountInDisplayCrcy | ||||
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| DocumentCurrency | DocumentCurrency | Document Currency | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| BusinessPartnerCountry | _Customer | Country | Venue: Ctry/Reg | |
| Country | Country | Venue: Ctry/Reg | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| DocumentReferenceID | DocumentReferenceID | Reference | ||
| DocumentType | DocumentType | Order Type | ||
| TransactionTypeCategory | TransactionTypeCategory | |||
| ReferenceDocumentType | ReferenceDocumentType | Reference Document Type | ||
| TargetSalesDocumentType | TargetSalesDocumentType | Document Cat. | ||
| PrecedingDocumentCategory | PrecedingDocumentCategory | |||
| DefaultDebitCreditCode | DefaultDebitCreditCode | Single-Character Flag | ||
| DebitCreditCode | DebitCreditCode | Single-Character Flag | ||
| ReferenceDocumentNumber | ReferenceDocumentNumber | Invoice Reference | ||
| PrecedingDocument | PrecedingDocument | SD Document | ||
| AmendmentTaxInvoiceNumber | AmendmentTaxInvoiceNumber | |||
| NFOverviewInvoiceNumber | NFOverviewInvoiceNumber | Reference Key | ||
| CancelledBillingDocument | CancelledBillingDocument | Canceld Bill.Dc | ||
| NFInvoiceNumber | NFInvoiceNumber | |||
| AccountingDocumentHeaderText | AccountingDocumentHeaderText | Doc.Header Text | ||
| UtilsInvcgDocReversalRsn | UtilsInvcgDocReversalRsn | Reversal Reason | ||
| ReverseDocument | ReverseDocument | Reversed With | ||
| ReversedDocument | ReversedDocument | Reversed doc. | ||
| ReferenceAcctgDocumentType | ReferenceAcctgDocumentType | Reference Document Type | ||
| InvoiceReference | InvoiceReference | Invoice Reference | ||
| ReversalReason | ReversalReason | Reversal Reason | ||
| CADocumentType | CADocumentType | Document Type | ||
| ReverseDocumentFiscalYear | ReverseDocumentFiscalYear | Year | ||
| ReversalReferenceDocumentCntxt | ReversalReferenceDocumentCntxt | Reversal Reference Document Context | ||
| ReversalReferenceDocument | ReversalReferenceDocument | Reversal Reference Document | ||
| _Customer | _Customer |
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_StRpSlsAndWhldgTxItmC.
-- 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: CVESLSTAXITEMC
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id
CREATE VIEW C_VE_StRpSlsAndWhldgTxItmC AS
SELECT
CompanyCode,
AccountingDocument,
FiscalYear,
TransactionTypeDetermination,
TaxCode,
TaxItem,
AccountingDocumentItem,
AccountingDocumentType,
TaxRate,
cast(cast(TaxRate as abap.curr(11,2)) as char16) AS IPITaxRate,
DocumentDate,
PostingDate,
ReportingDate,
case _Customer.IsOneTimeAccount when '' then case when _Customer.TaxNumber1 is null then _Customer.TaxNumber2 else _Customer.TaxNumber1 end else case when _OneTimeAccountBP.TaxID1 is null then _OneTimeAccountBP.TaxID2 else _OneTimeAccountBP.TaxID1 end end as TaxNumber1 AS TaxID1endendasTaxNumber1,
TaxBaseAmountInCoCodeCrcy * -1 AS TaxBaseAmountInCoCodeCrcy,
-TaxAmountInCoCodeCrcy AS TaxAmountInCoCodeCrcy,
WhldgTaxAmtInCoCodeCrcy,
-TotalAmountInDisplayCrcy AS TotalAmountInDisplayCrcy,
CompanyCodeCurrency,
DocumentCurrency,
Supplier,
Customer,
_Customer.Country AS BusinessPartnerCountry,
Country,
OriginalReferenceDocument,
DocumentReferenceID,
DocumentType,
TransactionTypeCategory,
ReferenceDocumentType,
TargetSalesDocumentType,
PrecedingDocumentCategory,
DefaultDebitCreditCode,
DebitCreditCode,
ReferenceDocumentNumber,
PrecedingDocument,
AmendmentTaxInvoiceNumber,
NFOverviewInvoiceNumber,
CancelledBillingDocument,
NFInvoiceNumber,
AccountingDocumentHeaderText,
UtilsInvcgDocReversalRsn,
ReverseDocument,
ReversedDocument,
ReferenceAcctgDocumentType,
InvoiceReference,
ReversalReason,
CADocumentType,
ReverseDocumentFiscalYear,
ReversalReferenceDocumentCntxt,
ReversalReferenceDocument
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