R_PL_ElectronicDocInvoice

DDL: R_PL_ELECTRONICDOCINVOICE Type: view_entity BASIC

eDocument Poland:Specific Data-Outgoing

R_PL_ElectronicDocInvoice is a Basic CDS View that provides data about "eDocument Poland:Specific Data-Outgoing" in SAP S/4HANA. It reads from 1 data source (edoplinv) and exposes 6 fields with key field ElectronicDocUUID.

Data Sources (1)

SourceAliasJoin Type
edoplinv edoplinv from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label eDocument Poland:Specific Data-Outgoing view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID edoc_guid eDocument GUID
PL_EDocOutgDocInvcElmntRefNmbr inv_element_ref_num Invoice Reference No
PL_EDocOutgDocSssnRefNmbr session_ref_num Session Ref Number
PL_EDocOutgDocSssnValdUpToTxt session_valid_upto Session Valid Upto
PL_EDocOutgDocKSeFNmbr ksef_ref_num KSeF Reference No
PL_EDocOutgDocAcqnTimestampTxt aquisition_timestamp Aquisition Timestamp

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_PL_ElectronicDocInvoice.
-- 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_PL_ElectronicDocInvoice AS
SELECT
  edoc_guid AS ElectronicDocUUID,
  inv_element_ref_num AS PL_EDocOutgDocInvcElmntRefNmbr,
  session_ref_num AS PL_EDocOutgDocSssnRefNmbr,
  session_valid_upto AS PL_EDocOutgDocSssnValdUpToTxt,
  ksef_ref_num AS PL_EDocOutgDocKSeFNmbr,
  aquisition_timestamp AS PL_EDocOutgDocAcqnTimestampTxt
FROM edoplinv
;