I_IN_EDocReference
Electronic Document Reference
I_IN_EDocReference is a Composite CDS View that provides data about "Electronic Document Reference" in SAP S/4HANA. It reads from 2 data sources (I_StRpRepRun, I_ElectronicDocumentReference) and exposes 7 fields with key fields StatryRptRunUUID, ElectronicDocReferenceKey, ElectronicDocReferenceType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_StRpRepRun | _StrpRepRun | inner |
| I_ElectronicDocumentReference | I_ElectronicDocumentReference | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_StatryRptgEntity | srf_reporting_entity | |
| P_StatryRptCategory | srf_rep_cat_id | |
| P_StatryRptRunID | srf_report_run_id |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Electronic Document Reference | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StatryRptRunUUID | I_ElectronicDocumentReference | StatryRptRunUUID | UUID |
| KEY | ElectronicDocReferenceKey | I_ElectronicDocumentReference | ElectronicDocReferenceKey | Key Number |
| KEY | ElectronicDocReferenceType | I_ElectronicDocumentReference | ElectronicDocReferenceType | Sttl. Ref. Type |
| ReferenceElectronicDocSqncNmbr | I_ElectronicDocumentReference | ReferenceElectronicDocSqncNmbr | Reference Seq. Nr. | |
| StatryRptgEntity | I_StRpRepRun | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | I_StRpRepRun | StatryRptCategory | Report ID | |
| StatryRptRunID | I_StRpRepRun | StatryRptRunID | Report Run ID |
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 I_IN_EDocReference.
-- 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_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id
CREATE VIEW I_IN_EDocReference AS
SELECT
I_ElectronicDocumentReference.StatryRptRunUUID AS StatryRptRunUUID,
I_ElectronicDocumentReference.ElectronicDocReferenceKey AS ElectronicDocReferenceKey,
I_ElectronicDocumentReference.ElectronicDocReferenceType AS ElectronicDocReferenceType,
I_ElectronicDocumentReference.ReferenceElectronicDocSqncNmbr AS ReferenceElectronicDocSqncNmbr,
_StrpRepRun.StatryRptgEntity AS StatryRptgEntity,
_StrpRepRun.StatryRptCategory AS StatryRptCategory,
_StrpRepRun.StatryRptRunID AS StatryRptRunID
FROM I_ElectronicDocumentReference
INNER JOIN I_StRpRepRun AS _StrpRepRun ON /* join condition not captured in parsed metadata */
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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