P_TxDocStRpActy0

DDL: P_TXDOCSTRPACTY0 SQL: PTXDOCSTRPACTY0 Type: view COMPOSITE

P_TxDocStRpActy0 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_JournalEntry, I_TaxReportingDateStRpActivity) and exposes 4 fields with key fields CompanyCode, FiscalYear, FiscalYear, AccountingDocument.

Data Sources (2)

SourceAliasJoin Type
I_JournalEntry I_JournalEntry from
I_TaxReportingDateStRpActivity I_TaxReportingDateStRpActivity union

Parameters (2)

NameTypeDefault
P_TaxReportingFromDate vatdate
P_TaxReportingToDate vatdate

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PTXDOCSTRPACTY0 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry

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_TxDocStRpActy0.
-- 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: PTXDOCSTRPACTY0
-- Parameters: P_TaxReportingFromDate : vatdate, P_TaxReportingToDate : vatdate

CREATE VIEW P_TxDocStRpActy0 AS
SELECT
  CompanyCode,
  FiscalYear,
  AccountingDocument
FROM I_JournalEntry
-- UNION with additional select branch(es): I_TaxReportingDateStRpActivity
;