C_RO_SAFTReportedItemsLog

DDL: C_RO_SAFTREPORTEDITEMSLOG SQL: CROSAFRPTILOG Type: view CONSUMPTION

GL Entry for Reported Items Log

C_RO_SAFTReportedItemsLog is a Consumption CDS View that provides data about "GL Entry for Reported Items Log" in SAP S/4HANA. It reads from 3 data sources (I_RO_SAFTDocumentTypeMap, I_RO_SAFTPaymentMapping, I_RO_SAFTPaymentMapping) and exposes 28 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, SourceLedger, CompanyCode.

Data Sources (3)

SourceAliasJoin Type
I_RO_SAFTDocumentTypeMap DocType inner
I_RO_SAFTPaymentMapping PayMap inner
I_RO_SAFTPaymentMapping PaymentDocType inner

Parameters (4)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id
P_AlternativeGLAccountIsUsed saft_ro_alt_gl_account_flag

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CROSAFRPTILOG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
EndUserText.label GL Entry for Reported Items Log view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #NOT_REQUIRED view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity
KEY StatryRptCategory
KEY StatryRptRunID
KEY SourceLedger Document SourceLedger Source Ledger
KEY CompanyCode Document CompanyCode Receiver Company Code
KEY FiscalYear Document FiscalYear G/L Fiscal Year
KEY AccountingDocument Document AccountingDocument Journal Entry
KEY Ledger Document Ledger Ledger
PostingDate Document PostingDate Posting Date for GR
P_StatryRptgEntityasStatryRptgEntity
KEY StatryRptCategory
KEY StatryRptRunID
KEY SourceLedger Document SourceLedger Source Ledger
KEY CompanyCode Document CompanyCode Receiver Company Code
KEY FiscalYear Document FiscalYear G/L Fiscal Year
KEY AccountingDocument Document AccountingDocument Journal Entry
KEY Ledger Document Ledger Ledger
PostingDate Document PostingDate Posting Date for GR
P_StatryRptgEntityasStatryRptgEntity
KEY StatryRptCategory
KEY StatryRptRunID
KEY SourceLedger Document SourceLedger Source Ledger
KEY CompanyCode Document CompanyCode Receiver Company Code
KEY FiscalYear Document FiscalYear G/L Fiscal Year
KEY AccountingDocument Document AccountingDocument Journal Entry
KEY Ledger Document Ledger Ledger
PostingDate Document PostingDate Posting Date for GR
ReferenceDocumentType Document ReferenceDocumentType Reference Document Type

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 C_RO_SAFTReportedItemsLog.
-- 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: CROSAFRPTILOG
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id, P_AlternativeGLAccountIsUsed : saft_ro_alt_gl_account_flag

CREATE VIEW C_RO_SAFTReportedItemsLog AS
SELECT
  $parameters.P_StatryRptgEntity AS StatryRptgEntity,
  $parameters.P_StatryRptCategory AS StatryRptCategory,
  $parameters.P_StatryRptRunID AS StatryRptRunID,
  Document.SourceLedger AS SourceLedger,
  Document.CompanyCode AS CompanyCode,
  Document.FiscalYear AS FiscalYear,
  Document.AccountingDocument AS AccountingDocument,
  Document.Ledger AS Ledger,
  Document.PostingDate AS PostingDate,
  Document.ReferenceDocumentType AS P_StatryRptgEntityasStatryRptgEntity,
  Document.ReferenceDocumentType AS ReferenceDocumentType
INNER JOIN I_RO_SAFTDocumentTypeMap AS DocType ON /* join condition not captured in parsed metadata */
INNER JOIN I_RO_SAFTPaymentMapping AS PaymentDocType ON /* join condition not captured in parsed metadata */
INNER JOIN I_RO_SAFTPaymentMapping AS PayMap ON /* join condition not captured in parsed metadata */
;