SRF_REP_RUN_DOC
Documents generated by report runs
SRF_REP_RUN_DOC is an SAP database table in S/4HANA. Documents generated by report runs. It contains 18 fields. 2 CDS views read from this table.
CDS Views using this table (2)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_StRpRepRunDoc | view | from | BASIC | |
| SRFD_DocumentDataEnriched | view | inner | Generated Document Data |
Fields (18)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | db_key | /BOBF/CONF_KEY | NodeID | |||
| parent_key | /BOBF/CONF_KEY | NodeID | ||||
| root_key | /BOBF/CONF_KEY | NodeID | ||||
| document_id | SRF_DOCUMENT_ID | Document ID | ||||
| file_id | SRF_DOCUMENT_FILE_ID | Document ID | ||||
| file_reference | SRF_FILE_REFERENCE | File reference | ||||
| log_handle | SRF_DOCUMENT_LOG_HANDLE | Log Available | ||||
| num_queries | SRF_NUM_QUERIES | Number of Queries | ||||
| changed_on | TIMESTAMPL | Time Stamp | ||||
| sequence_number | SRF_SEQUENCE_NUM | Sequence Number | ||||
| reference_document_id | SRF_REFERENCE_DOCUMENT_ID | Ref. Document ID | ||||
| status | SRF_DOCUMENT_STATUS | Document Status | ||||
| primary_log_handle | SRF_PRIMARY_DOC_LOG_HANDLE | Appl Log Handle | ||||
| job_name | BTCJOB | Job Name | ||||
| bgrfc_unit_id | BGRFC_UNIT_ID | Unit ID | ||||
| generation_mode | SRF_REP_RUN_DOCS_GEN_MODE | Generation Mode | ||||
| partition_no | SRF_PARTITION_NO | Partition No. |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Documents generated by report runs
-- Category TRANSPARENT · Delivery class A
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE SRF_REP_RUN_DOC (
MANDT, -- Client [MANDT]
DB_KEY, -- NodeID [/BOBF/CONF_KEY]
PARENT_KEY, -- NodeID [/BOBF/CONF_KEY]
ROOT_KEY, -- NodeID [/BOBF/CONF_KEY]
DOCUMENT_ID, -- Document ID [SRF_DOCUMENT_ID]
FILE_ID, -- Document ID [SRF_DOCUMENT_FILE_ID]
FILE_REFERENCE, -- File reference [SRF_FILE_REFERENCE]
LOG_HANDLE, -- Log Available [SRF_DOCUMENT_LOG_HANDLE]
NUM_QUERIES, -- Number of Queries [SRF_NUM_QUERIES]
CHANGED_ON, -- Time Stamp [TIMESTAMPL]
SEQUENCE_NUMBER, -- Sequence Number [SRF_SEQUENCE_NUM]
REFERENCE_DOCUMENT_ID, -- Ref. Document ID [SRF_REFERENCE_DOCUMENT_ID]
STATUS, -- Document Status [SRF_DOCUMENT_STATUS]
PRIMARY_LOG_HANDLE, -- Appl Log Handle [SRF_PRIMARY_DOC_LOG_HANDLE]
JOB_NAME, -- Job Name [BTCJOB]
BGRFC_UNIT_ID, -- Unit ID [BGRFC_UNIT_ID]
GENERATION_MODE, -- Generation Mode [SRF_REP_RUN_DOCS_GEN_MODE]
PARTITION_NO, -- Partition No. [SRF_PARTITION_NO]
PRIMARY KEY (MANDT, DB_KEY)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- 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
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA