SRFD_DocumentDataChangeLog
Generated Document Data Change Log
SRFD_DocumentDataChangeLog is a CDS View that provides data about "Generated Document Data Change Log" in SAP S/4HANA. It reads from 2 data sources (srf_rep_run_dlog, SRFD_DocumentDataEnriched) and exposes 24 fields with key field StatryRptDocDataChangeLogUUID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| srf_rep_run_dlog | srf_rep_run_dlog | from |
| SRFD_DocumentDataEnriched | SRFD_DocumentDataEnriched | inner |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| p_schema_id | srf_schema_id | |
| p_partition_no | srf_partition_no |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SRFV_DOCDATACLOG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| EndUserText.label | Generated Document Data Change Log | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptDocDataChangeLogUUID | srf_rep_run_dlog | db_key | UUID |
| StatryRptDocUUID | doc_data | StatryRptDocUUID | ||
| StatryRptTaskUUID | doc_data | StatryRptTaskUUID | ||
| StatryRptgEntity | doc_data | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | doc_data | StatryRptCategory | Report ID | |
| StatryRptPeriodStartDate | doc_data | StatryRptPeriodStartDate | Start Date | |
| StatryRptPeriodEndDate | doc_data | StatryRptPeriodEndDate | End Date | |
| StatryRptReportingPeriodNumber | doc_data | StatryRptReportingPeriodNumber | Period Number | |
| StatryRptRunID | doc_data | StatryRptRunID | Report Run ID | |
| StatryRptDocDataUUID | srf_rep_run_dlog | rep_run_data_key | NodeID | |
| StatryRptDocDataOldValue | srf_rep_run_dlog | old_value | Value | |
| StatryRptDocDataNewValue | srf_rep_run_dlog | new_value | Value | |
| StatryRptDocDataChangeComment | srf_rep_run_dlog | comments | User Notes | |
| StatryRptDocDataChangeInd | srf_rep_run_dlog | change_indicator | Change Type | |
| StatryRptDocDataChangedByUser | srf_rep_run_dlog | changed_by | User Name | |
| StatryRptDocDataChangedOnDate | srf_rep_run_dlog | changed_on | Variant Changed on | |
| StatryRptDocument | doc_data | StatryRptDocument | Snapshot ID | |
| StatryRptSchemaElementId | doc_data | StatryRptSchemaElementId | ||
| StatryRptSchemaAttributeId | doc_data | StatryRptSchemaAttributeId | ||
| StatryRptSequenceNumber | doc_data | StatryRptSequenceNumber | ||
| StatryRptParentSequenceNumber | doc_data | StatryRptParentSequenceNumber | ||
| StatryRptSchemaParentElementId | doc_data | StatryRptSchemaParentElementId | ||
| StatryRptDocDataChangedByName | _adrp | name_text | Full Name | |
| StatryRptSchemaSingleValLeafEl | doc_data | StatryRptSchemaSingleValLeafEl |
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 SRFD_DocumentDataChangeLog.
-- 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: SRFV_DOCDATACLOG
-- Parameters: p_schema_id : srf_schema_id, p_partition_no : srf_partition_no
CREATE VIEW SRFD_DocumentDataChangeLog AS
SELECT
srf_rep_run_dlog.db_key AS StatryRptDocDataChangeLogUUID,
doc_data.StatryRptDocUUID AS StatryRptDocUUID,
doc_data.StatryRptTaskUUID AS StatryRptTaskUUID,
doc_data.StatryRptgEntity AS StatryRptgEntity,
doc_data.StatryRptCategory AS StatryRptCategory,
doc_data.StatryRptPeriodStartDate AS StatryRptPeriodStartDate,
doc_data.StatryRptPeriodEndDate AS StatryRptPeriodEndDate,
doc_data.StatryRptReportingPeriodNumber AS StatryRptReportingPeriodNumber,
doc_data.StatryRptRunID AS StatryRptRunID,
srf_rep_run_dlog.rep_run_data_key AS StatryRptDocDataUUID,
srf_rep_run_dlog.old_value AS StatryRptDocDataOldValue,
srf_rep_run_dlog.new_value AS StatryRptDocDataNewValue,
srf_rep_run_dlog.comments AS StatryRptDocDataChangeComment,
srf_rep_run_dlog.change_indicator AS StatryRptDocDataChangeInd,
srf_rep_run_dlog.changed_by AS StatryRptDocDataChangedByUser,
srf_rep_run_dlog.changed_on AS StatryRptDocDataChangedOnDate,
doc_data.StatryRptDocument AS StatryRptDocument,
doc_data.StatryRptSchemaElementId AS StatryRptSchemaElementId,
doc_data.StatryRptSchemaAttributeId AS StatryRptSchemaAttributeId,
doc_data.StatryRptSequenceNumber AS StatryRptSequenceNumber,
doc_data.StatryRptParentSequenceNumber AS StatryRptParentSequenceNumber,
doc_data.StatryRptSchemaParentElementId AS StatryRptSchemaParentElementId,
_adrp.name_text AS StatryRptDocDataChangedByName,
doc_data.StatryRptSchemaSingleValLeafEl AS StatryRptSchemaSingleValLeafEl
FROM srf_rep_run_dlog
INNER JOIN SRFD_DocumentDataEnriched ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA