I_PE_ElectronicDocumentRef

DDL: I_PE_ELECTRONICDOCUMENTREF Type: view BASIC

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)

SourceAliasJoin Type
edocumentref _EDocReference from
I_PE_ElectronicDocumentVoid _VoidDocument inner

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;