P_CO_DIANStRpTotAmtByFormat

DDL: P_CO_DIANSTRPTOTAMTBYFORMAT Type: view CONSUMPTION Package: GLO_FIN_IS_CO_GL

Format 1007 - Total Amount by BP

P_CO_DIANStRpTotAmtByFormat is a Consumption CDS View that provides data about "Format 1007 - Total Amount by BP" in SAP S/4HANA. It reads from 1 data source (C_CO_DIANStRpJournalEntryItemC) and exposes 11 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, Ledger, CompanyCode. Part of development package GLO_FIN_IS_CO_GL.

Data Sources (1)

SourceAliasJoin Type
C_CO_DIANStRpJournalEntryItemC C_CO_DIANStRpJournalEntryItemC from

Parameters (3)

NameTypeDefault
P_FromPostingDate fis_budat_from
P_ToPostingDate fis_budat_to
P_Ledger fins_ledger

Annotations (10)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PSRCOTOTFORMAT view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Format 1007 - Total Amount by BP view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY Ledger Ledger Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY CO_DIANReportFormat CO_DIANReportFormat Report Format
KEY TaxNumberType TaxNumberType Tax number type
KEY ReportedTaxNumber ReportedTaxNumber
ReportingCurrency ReportingCurrency Currency
AmountInReportingCurrency
_ReportingCurrency _ReportingCurrency

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_CO_DIANStRpTotAmtByFormat.
-- 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.
-- Parameters: P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_Ledger : fins_ledger

CREATE VIEW P_CO_DIANStRpTotAmtByFormat AS
SELECT
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  Ledger,
  CompanyCode,
  CO_DIANReportFormat,
  TaxNumberType,
  ReportedTaxNumber,
  ReportingCurrency,
  sum(AmountInReportingCurrency) AS AmountInReportingCurrency
FROM C_CO_DIANStRpJournalEntryItemC
;