P_VECFINCSUNION_01
P_VECFINCSUNION_01 is a Composite CDS View in SAP S/4HANA. It reads from 3 data sources (P_VECConsolidatedData, P_VECReportedFinancialData, P_VECStandardizedData) and exposes 246 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_VECConsolidatedData | P_VECConsolidatedData | union_all |
| P_VECReportedFinancialData | P_VECReportedFinancialData | from |
| P_VECStandardizedData | P_VECStandardizedData | union_all |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_ValidationTaskType | vec_task_type | |
| P_ConsolidationDimension | fc_dimen | |
| P_ChartOfAccounts | fc_itclg | |
| P_ConsolidationVersion | fc_rvers | |
| P_Ledger | rldnr | |
| P_ReportingYear | gjahr | |
| P_LastYear | gjahr | |
| P_ReportingPeriod | poper |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PVECUNION01 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (246)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| Currency | Currency | Valuation Crcy | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ConsolidationDimension | ConsolidationDimension | Dimension | ||
| ConsolidationLedger | ConsolidationLedger | Ledger | ||
| DocumentCategory | DocumentCategory | Document Category | ||
| ConsolidationDocumentNumber | ConsolidationDocumentNumber | Document Number | ||
| ConsolidationPostingItem | ConsolidationPostingItem | G/L Line Item | ||
| Company | Company | Owner | ||
| ConsolidationChartOfAccounts | ConsolidationChartOfAccounts | Cons. COA | ||
| FinancialStatementItem | FinancialStatementItem | FS Item | ||
| PartnerConsolidationUnit | PartnerConsolidationUnit | Partner Unit | ||
| SubItemCategory | SubItemCategory | Subitem Category | ||
| SubItem | SubItem | Subitem Number | ||
| PostingFiscalPeriod | PostingFiscalPeriod | Period | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| OpeningBalanceAmount | ||||
| YearToDateAmount | ||||
| YearToDateAmountInPriorPeriod | ||||
| YearToDateAmountInPriorYear | ||||
| CurrentPeriodAmount | CurrentPeriodAmount | Local Crcy Amt | ||
| PeriodAmountInTransacCrcy | PeriodAmountInTransacCrcy | Trans. Currency | ||
| PeriodAmountInPriorPeriod | ||||
| PeriodAmountInPriorYear | ||||
| Entity | Entity | Supply Chain Unit | ||
| ConsolidationUnit | ConsolidationUnit | Consolidation Unit | ||
| ConsolidationGroup | Cons. Group | |||
| RecordType | RecordType | Reservation Record Type | ||
| PostingLevel | PostingLevel | Posting Level | ||
| ConsolidationDocumentType | ConsolidationDocumentType | Document Type | ||
| ConsolidationAcquisitionYear | ConsolidationAcquisitionYear | Acquis. Year | ||
| ConsolidationAcquisitionPeriod | ConsolidationAcquisitionPeriod | Period of Acq. | ||
| InvesteeConsolidationUnit | InvesteeConsolidationUnit | Investee Unit | ||
| ConsolidationPostgItemAutoFlag | ConsolidationPostgItemAutoFlag | Auto. ID | ||
| RefConsolidationDocumentType | RefConsolidationDocumentType | Document Categ. | ||
| InvestmentActivityType | InvestmentActivityType | C/I Activity | ||
| InvestmentActivity | InvestmentActivity | Activity Number | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CurrentPeriodQuantity | CurrentPeriodQuantity | Stat. KeyFig. Qty | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerProfitCenter | PartnerProfitCenter | Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Rec. Fntcl Area | ||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerCompany | PartnerCompany | Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| Project | Project | WBS Element | ||
| BillingDocumentType | BillingDocumentType | Billing Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CustomerSupplierCorporateGroup | CustomerSupplierCorporateGroup | Group | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| Material | Material | Vehicle Model | ||
| SoldProduct | SoldProduct | Product Sold | ||
| CurrencyConversionsDiffType | CurrencyConversionsDiffType | CT Indicator | ||
| OrderID | OrderID | Order ID | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| CnsldtnAdhocItem | CnsldtnAdhocItem | |||
| p_ritclgP_ChartOfAccounts | ||||
| p_rversP_ConsolidationVersion | ||||
| p_rldnrP_Ledger | ||||
| p_ryearP_ReportingYear | ||||
| p_pyearP_LastYear | ||||
| p_poperP_ReportingPeriod | ||||
| p_CURTYPEGCCurrency | ||||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ConsolidationDimension | ConsolidationDimension | Dimension | ||
| ConsolidationLedger | ConsolidationLedger | Ledger | ||
| DocumentCategory | DocumentCategory | Document Category | ||
| ConsolidationDocumentNumber | ConsolidationDocumentNumber | Document Number | ||
| ConsolidationPostingItem | ConsolidationPostingItem | G/L Line Item | ||
| Company | Company | Owner | ||
| ConsolidationChartOfAccounts | ConsolidationChartOfAccounts | Cons. COA | ||
| FinancialStatementItem | FinancialStatementItem | FS Item | ||
| PartnerConsolidationUnit | PartnerConsolidationUnit | Partner Unit | ||
| SubItemCategory | SubItemCategory | Subitem Category | ||
| SubItem | SubItem | Subitem Number | ||
| PostingFiscalPeriod | PostingFiscalPeriod | Period | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| OpeningBalanceAmount | ||||
| YearToDateAmount | ||||
| YearToDateAmountInPriorPeriod | ||||
| YearToDateAmountInPriorYear | ||||
| CurrentPeriodAmount | CurrentPeriodAmount | Local Crcy Amt | ||
| PeriodAmountInTransacCrcy | PeriodAmountInTransacCrcy | Trans. Currency | ||
| PeriodAmountInPriorPeriod | ||||
| PeriodAmountInPriorYear | ||||
| Entity | Entity | Supply Chain Unit | ||
| ConsolidationUnit | ConsolidationUnit | Consolidation Unit | ||
| ConsolidationGroup | Cons. Group | |||
| RecordType | RecordType | Reservation Record Type | ||
| PostingLevel | PostingLevel | Posting Level | ||
| ConsolidationDocumentType | ConsolidationDocumentType | Document Type | ||
| ConsolidationAcquisitionYear | ConsolidationAcquisitionYear | Acquis. Year | ||
| ConsolidationAcquisitionPeriod | ConsolidationAcquisitionPeriod | Period of Acq. | ||
| InvesteeConsolidationUnit | InvesteeConsolidationUnit | Investee Unit | ||
| ConsolidationPostgItemAutoFlag | ConsolidationPostgItemAutoFlag | Auto. ID | ||
| RefConsolidationDocumentType | RefConsolidationDocumentType | Document Categ. | ||
| InvestmentActivityType | InvestmentActivityType | C/I Activity | ||
| InvestmentActivity | InvestmentActivity | Activity Number | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CurrentPeriodQuantity | CurrentPeriodQuantity | Stat. KeyFig. Qty | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerProfitCenter | PartnerProfitCenter | Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Rec. Fntcl Area | ||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerCompany | PartnerCompany | Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| Project | Project | WBS Element | ||
| BillingDocumentType | BillingDocumentType | Billing Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CustomerSupplierCorporateGroup | CustomerSupplierCorporateGroup | Group | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| Material | Material | Vehicle Model | ||
| SoldProduct | SoldProduct | Product Sold | ||
| CurrencyConversionsDiffType | CurrencyConversionsDiffType | CT Indicator | ||
| OrderID | OrderID | Order ID | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| CnsldtnAdhocItem | CnsldtnAdhocItem | |||
| p_ritclgP_ChartOfAccounts | ||||
| p_rversP_ConsolidationVersion | ||||
| p_rldnrP_Ledger | ||||
| p_ryearP_ReportingYear | ||||
| p_pyearP_LastYear | ||||
| p_poperP_ReportingPeriodCurrency | ||||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| ConsolidationDimension | ConsolidationDimension | Dimension | ||
| ConsolidationLedger | ConsolidationLedger | Ledger | ||
| DocumentCategory | DocumentCategory | Document Category | ||
| ConsolidationDocumentNumber | ConsolidationDocumentNumber | Document Number | ||
| ConsolidationPostingItem | ConsolidationPostingItem | G/L Line Item | ||
| Company | Company | Owner | ||
| ConsolidationChartOfAccounts | ConsolidationChartOfAccounts | Cons. COA | ||
| FinancialStatementItem | FinancialStatementItem | FS Item | ||
| PartnerConsolidationUnit | PartnerConsolidationUnit | Partner Unit | ||
| SubItemCategory | SubItemCategory | Subitem Category | ||
| SubItem | SubItem | Subitem Number | ||
| PostingFiscalPeriod | PostingFiscalPeriod | Period | ||
| FiscalYear | FiscalYear | G/L Fiscal Year | ||
| OpeningBalanceAmount | ||||
| YearToDateAmount | ||||
| YearToDateAmountInPriorPeriod | ||||
| YearToDateAmountInPriorYear | ||||
| CurrentPeriodAmount | CurrentPeriodAmount | Local Crcy Amt | ||
| PeriodAmountInTransacCrcy | PeriodAmountInTransacCrcy | Trans. Currency | ||
| PeriodAmountInPriorPeriod | ||||
| PeriodAmountInPriorYear | ||||
| Entity | Entity | Supply Chain Unit | ||
| ConsolidationUnit | ConsolidationUnit | Consolidation Unit | ||
| ConsolidationGroup | ConsolidationGroup | Cons. Group | ||
| RecordType | RecordType | Reservation Record Type | ||
| PostingLevel | PostingLevel | Posting Level | ||
| ConsolidationDocumentType | ConsolidationDocumentType | Document Type | ||
| ConsolidationAcquisitionYear | ConsolidationAcquisitionYear | Acquis. Year | ||
| ConsolidationAcquisitionPeriod | ConsolidationAcquisitionPeriod | Period of Acq. | ||
| InvesteeConsolidationUnit | InvesteeConsolidationUnit | Investee Unit | ||
| ConsolidationPostgItemAutoFlag | ConsolidationPostgItemAutoFlag | Auto. ID | ||
| RefConsolidationDocumentType | RefConsolidationDocumentType | Document Categ. | ||
| InvestmentActivityType | InvestmentActivityType | C/I Activity | ||
| InvestmentActivity | InvestmentActivity | Activity Number | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| BaseUnit | BaseUnit | Unit of Measure | ||
| CurrentPeriodQuantity | CurrentPeriodQuantity | Stat. KeyFig. Qty | ||
| CostCenter | CostCenter | Cost Center | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| FunctionalArea | FunctionalArea | Sendr Fctl Area | ||
| BusinessArea | BusinessArea | Business Area | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| Segment | Segment | Segment number | ||
| PartnerCostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| PartnerProfitCenter | PartnerProfitCenter | Profit Center | ||
| PartnerFunctionalArea | PartnerFunctionalArea | Rec. Fntcl Area | ||
| PartnerBusinessArea | PartnerBusinessArea | Trdg Part.BA | ||
| PartnerCompany | PartnerCompany | Trading Partner | ||
| PartnerSegment | PartnerSegment | Partner Segment | ||
| MaterialGroup | MaterialGroup | Product Group | ||
| Plant | Plant | Valuation Area | ||
| FinancialTransactionType | FinancialTransactionType | Transact. Type | ||
| WBSElementExternalID | WBSElementExternalID | WBS Element External ID | ||
| Project | Project | WBS Element | ||
| BillingDocumentType | BillingDocumentType | Billing Type | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| SoldProductGroup | SoldProductGroup | Product Sold Group | ||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerSupplierCountry | CustomerSupplierCountry | Customer or Supplier Country/Region | ||
| CustomerSupplierIndustry | CustomerSupplierIndustry | Industry | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| CustomerSupplierCorporateGroup | CustomerSupplierCorporateGroup | Group | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ShipToParty | ShipToParty | Ship-To Party (obsolete) | ||
| BillToParty | BillToParty | Inv. Recipient | ||
| Material | Material | Vehicle Model | ||
| SoldProduct | SoldProduct | Product Sold | ||
| CurrencyConversionsDiffType | CurrencyConversionsDiffType | CT Indicator | ||
| OrderID | OrderID | Order ID | ||
| Customer | Customer | Sold-to Party | ||
| Supplier | Supplier | Supplier | ||
| CnsldtnAdhocItem | CnsldtnAdhocItem | |||
| CnsldtnAdhocSet | CnsldtnAdhocSet |
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 P_VECFINCSUNION_01.
-- 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: PVECUNION01
-- Parameters: P_ValidationTaskType : vec_task_type, P_ConsolidationDimension : fc_dimen, P_ChartOfAccounts : fc_itclg, P_ConsolidationVersion : fc_rvers, P_Ledger : rldnr, P_ReportingYear : gjahr, P_LastYear : gjahr, P_ReportingPeriod : poper
CREATE VIEW P_VECFINCSUNION_01 AS
SELECT
Currency,
TransactionCurrency,
ConsolidationDimension,
ConsolidationLedger,
DocumentCategory,
ConsolidationDocumentNumber,
ConsolidationPostingItem,
Company,
ConsolidationChartOfAccounts,
FinancialStatementItem,
PartnerConsolidationUnit,
SubItemCategory,
SubItem,
PostingFiscalPeriod,
FiscalYear,
'' AS OpeningBalanceAmount,
'' AS YearToDateAmount,
'' AS YearToDateAmountInPriorPeriod,
'' AS YearToDateAmountInPriorYear,
CurrentPeriodAmount,
PeriodAmountInTransacCrcy,
'' AS PeriodAmountInPriorPeriod,
'' AS PeriodAmountInPriorYear,
Entity,
ConsolidationUnit,
cast ('' as fc_congr) AS ConsolidationGroup,
RecordType,
PostingLevel,
ConsolidationDocumentType,
ConsolidationAcquisitionYear,
ConsolidationAcquisitionPeriod,
InvesteeConsolidationUnit,
ConsolidationPostgItemAutoFlag,
RefConsolidationDocumentType,
InvestmentActivityType,
InvestmentActivity,
ChartOfAccounts,
GLAccount,
BaseUnit,
CurrentPeriodQuantity,
CostCenter,
ProfitCenter,
FunctionalArea,
BusinessArea,
ControllingArea,
Segment,
PartnerCostCenter,
PartnerProfitCenter,
PartnerFunctionalArea,
PartnerBusinessArea,
PartnerCompany,
PartnerSegment,
MaterialGroup,
Plant,
FinancialTransactionType,
WBSElementExternalID,
Project,
BillingDocumentType,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
SoldProductGroup,
CustomerGroup,
CustomerSupplierCountry,
CustomerSupplierIndustry,
SalesDistrict,
CustomerSupplierCorporateGroup,
CreationDateTime,
CompanyCode,
ShipToParty,
BillToParty,
Material,
SoldProduct,
CurrencyConversionsDiffType,
OrderID,
Customer,
Supplier,
CnsldtnAdhocItem,
p_ritclg : :P_ChartOfAccounts AS p_ritclgP_ChartOfAccounts,
p_rvers : :P_ConsolidationVersion AS p_rversP_ConsolidationVersion,
p_rldnr : :P_Ledger AS p_rldnrP_Ledger,
p_ryear : :P_ReportingYear AS p_ryearP_ReportingYear,
p_pyear : :P_LastYear AS p_pyearP_LastYear,
p_poper : :P_ReportingPeriod AS p_poperP_ReportingPeriod,
CnsldtnAdhocSet
FROM P_VECReportedFinancialData
-- UNION ALL with additional select branch(es): P_VECStandardizedData, P_VECConsolidatedData
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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