I_PE_EDocInvoice

DDL: I_PE_EDOCINVOICE Type: view BASIC

Peru eDocument for Invoice

I_PE_EDocInvoice is a Basic CDS View that provides data about "Peru eDocument for 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 (11)

NameValueLevelField
AbapCatalog.sqlViewName IPEEDOCINVOICE 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 for Invoice 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 I_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 I_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
;