I_PE_ElectronicDocumentRef
Peru eDocument Reference
I_PE_ElectronicDocumentRef is a Basic CDS View that provides data about "Peru eDocument Reference" in SAP S/4HANA. It reads from 2 data sources (edocumentref, I_PE_ElectronicDocumentVoid) and exposes 9 fields with key fields ElectronicDocUUID, ElectronicDocReferenceKey, ElectronicDocReferenceType.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| edocumentref | _EDocReference | from |
| I_PE_ElectronicDocumentVoid | _VoidDocument | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPEEDOCREFERENCE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Peru eDocument Reference | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ElectronicDocUUID | edocumentref | edoc_guid | eDocument GUID |
| KEY | ElectronicDocReferenceKey | edocumentref | reference_key | Key Number |
| KEY | ElectronicDocReferenceType | edocumentref | reference_type | Sttl. Ref. Type |
| ReferenceElectronicDocSqncNmbr | edocumentref | reference_seq_no | Reference Seq. Nr. | |
| PE_EDocIssueDate | I_PE_ElectronicDocumentVoid | PE_EDocIssueDate | Issuing date | |
| PE_EDocVoidReasonText | I_PE_ElectronicDocumentVoid | PE_EDocVoidReasonText | Voiding Reason | |
| PE_EDocVoidSequenceNumber | I_PE_ElectronicDocumentVoid | PE_EDocVoidSequenceNumber | Void Seq.No | |
| PE_EDocVoidTicket | I_PE_ElectronicDocumentVoid | PE_EDocVoidTicket | Ticket type | |
| PE_EDocVoidSeparatorText | I_PE_ElectronicDocumentVoid | PE_EDocVoidSeparatorText | Void Seperator |
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_PE_ElectronicDocumentRef.
-- 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.
CREATE VIEW I_PE_ElectronicDocumentRef AS
SELECT
_EDocReference.edoc_guid AS ElectronicDocUUID,
_EDocReference.reference_key AS ElectronicDocReferenceKey,
_EDocReference.reference_type AS ElectronicDocReferenceType,
_EDocReference.reference_seq_no AS ReferenceElectronicDocSqncNmbr,
_VoidDocument.PE_EDocIssueDate AS PE_EDocIssueDate,
_VoidDocument.PE_EDocVoidReasonText AS PE_EDocVoidReasonText,
_VoidDocument.PE_EDocVoidSequenceNumber AS PE_EDocVoidSequenceNumber,
_VoidDocument.PE_EDocVoidTicket AS PE_EDocVoidTicket,
_VoidDocument.PE_EDocVoidSeparatorText AS PE_EDocVoidSeparatorText
FROM edocumentref AS _EDocReference
INNER JOIN I_PE_ElectronicDocumentVoid AS _VoidDocument 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