R_PE_EDocInvoice

DDL: R_PE_EDOCINVOICE Type: view_entity BASIC

eDocument Peru Invoice

R_PE_EDocInvoice is a Basic CDS View that provides data about "eDocument Peru Invoice" in SAP S/4HANA. It reads from 1 data source (edopeinv) and exposes 7 fields with key field ElectronicDocUUID.

Data Sources (1)

SourceAliasJoin Type
edopeinv edopeinv from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label eDocument Peru Invoice view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID edoc_guid eDocument GUID
PE_EDocDocumentType document_type Unit
PE_EDocSeries series Series ID
PE_EDocNumber official_number Document Number
PE_EDocDigestValueBinary digest_value Message Digest
PE_EDocSignatureBinary signature Serialized JSON
PE_EDocIsSendToCustomer sent_to_customer Sent to Customer

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 R_PE_EDocInvoice.
-- 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 R_PE_EDocInvoice AS
SELECT
  edoc_guid AS ElectronicDocUUID,
  document_type AS PE_EDocDocumentType,
  series AS PE_EDocSeries,
  official_number AS PE_EDocNumber,
  digest_value AS PE_EDocDigestValueBinary,
  signature AS PE_EDocSignatureBinary,
  sent_to_customer AS PE_EDocIsSendToCustomer
FROM edopeinv
;