P_StRpRptdTaxItem

DDL: P_STRPRPTDTAXITEM SQL: PSRRPTDTAXITM Type: view COMPOSITE

P_StRpRptdTaxItem is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_StRpRepRun) and exposes 4 fields with key fields CompanyCode, AccountingDocument, FiscalYear.

Data Sources (1)

SourceAliasJoin Type
I_StRpRepRun I_StRpRepRun left_outer

Parameters (2)

NameTypeDefault
P_ReportingEntity srf_reporting_entity
P_ReportCategory srf_rep_cat_id

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName PSRRPTDTAXITM view
VDM.viewType #COMPOSITE view
VDM.private true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpJournalEntryLog CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpJournalEntryLog AccountingDocument Journal Entry
KEY FiscalYear I_StRpJournalEntryLog FiscalYear G/L Fiscal Year
StatryRptRunStatus I_StRpRepRun StatryRptRunStatus Report Run Status

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_StRpRptdTaxItem.
-- 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: PSRRPTDTAXITM
-- Parameters: P_ReportingEntity : srf_reporting_entity, P_ReportCategory : srf_rep_cat_id

CREATE VIEW P_StRpRptdTaxItem AS
SELECT
  I_StRpJournalEntryLog.CompanyCode AS CompanyCode,
  I_StRpJournalEntryLog.AccountingDocument AS AccountingDocument,
  I_StRpJournalEntryLog.FiscalYear AS FiscalYear,
  I_StRpRepRun.StatryRptRunStatus AS StatryRptRunStatus
LEFT OUTER JOIN I_StRpRepRun ON /* join condition not captured in parsed metadata */
;