P_PL_StRpReportingGroupsCr

DDL: P_PL_STRPREPORTINGGROUPSCR SQL: PSRPLRPGGRPCR Type: view CONSUMPTION

Reporting Groups - Correction Run

P_PL_StRpReportingGroupsCr is a Consumption CDS View that provides data about "Reporting Groups - Correction Run" in SAP S/4HANA. It reads from 4 data sources (I_StRpRepRun, I_StRpJournalEntryLog, I_StRpTaskDetails, I_StRpRepRun) and exposes 7 fields with key fields StatryRptCategory, StatryRptRunID, StatryRptgEntity, CompanyCode, VATRegistration.

Data Sources (4)

SourceAliasJoin Type
I_StRpRepRun CurrRun left_outer
I_StRpJournalEntryLog I_StRpJournalEntryLog left_outer
I_StRpTaskDetails I_StRpTaskDetails left_outer
I_StRpRepRun LastAccRun left_outer

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PSRPLRPGGRPCR view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
VDM.private true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Reporting Groups - Correction Run view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY StatryRptCategory I_StRpTaxItmWithEUTaxClass StatryRptCategory Report ID
KEY StatryRptRunID I_StRpTaxItmWithEUTaxClass StatryRptRunID Report Run ID
KEY StatryRptgEntity I_StRpTaxItmWithEUTaxClass StatryRptgEntity Reporting Entity
KEY CompanyCode I_StRpTaxItmWithEUTaxClass CompanyCode Receiver Company Code
KEY VATRegistration VATRegistration VAT Registration No.
KEY TaxType TaxType Tax Type
KEY IsEUTriangularDeal IsEUTriangularDeal Is EU Triangular Deal

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_PL_StRpReportingGroupsCr.
-- 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: PSRPLRPGGRPCR

CREATE VIEW P_PL_StRpReportingGroupsCr AS
SELECT
  I_StRpTaxItmWithEUTaxClass.StatryRptCategory AS StatryRptCategory,
  I_StRpTaxItmWithEUTaxClass.StatryRptRunID AS StatryRptRunID,
  I_StRpTaxItmWithEUTaxClass.StatryRptgEntity AS StatryRptgEntity,
  I_StRpTaxItmWithEUTaxClass.CompanyCode AS CompanyCode,
  VATRegistration,
  TaxType,
  IsEUTriangularDeal
LEFT OUTER JOIN I_StRpRepRun AS CurrRun ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StRpRepRun AS LastAccRun ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StRpTaskDetails ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_StRpJournalEntryLog ON /* join condition not captured in parsed metadata */
;