I_TR_ElectronicDocExpInvoice

DDL: I_TR_ELECTRONICDOCEXPINVOICE SQL: IEDOTREREG Type: view BASIC

eDocument Turkey Export Invoice

I_TR_ElectronicDocExpInvoice is a Basic CDS View that provides data about "eDocument Turkey Export Invoice" in SAP S/4HANA. It reads from 1 data source (edotrereg) and exposes 15 fields with key field ElectronicDocUUID.

Data Sources (1)

SourceAliasJoin Type
edotrereg edotrereg from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IEDOTREREG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
EndUserText.label eDocument Turkey Export Invoice view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID edoc_guid eDocument GUID
TR_ElectronicDocUniqueID uuid Waste Partner UUID
TR_ElectronicDocEnvelopeID fit_envelope_id Envelope ID
TR_ElectronicDocInvoiceID fit_tra_id Invoice ID
TR_EDocBusinessPartnerAlias identifier Snd. Alias
TR_ElectronicDocTaxID vkn_tckn VKN/TCKN
TR_EDocTradeRefNumber trefnum GTB Ref. Number
TR_EDocCustomRegNumber cxdrnum Cus.Dec.Reg.No.
TR_EDocRealExportDate reldat Real Exp. Date
ShipToParty customer Sold-to Party
TR_EDocTaxExclusiveAmount net_amount Tax-Exclusive Amount
TR_ElectronicDocTaxAmount tax_amount VAT Amount Type
TR_EDocTaxInclusiveAmount gross_amount Tax-Inclusive Amount
SalesCurrency currency Valuation Crcy
TR_EDocShipToPartyName ship_to_party_name Ship-to Party Name

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_TR_ElectronicDocExpInvoice.
-- 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.
-- SQL view name: IEDOTREREG

CREATE VIEW I_TR_ElectronicDocExpInvoice AS
SELECT
  edoc_guid AS ElectronicDocUUID,
  uuid AS TR_ElectronicDocUniqueID,
  fit_envelope_id AS TR_ElectronicDocEnvelopeID,
  fit_tra_id AS TR_ElectronicDocInvoiceID,
  identifier AS TR_EDocBusinessPartnerAlias,
  vkn_tckn AS TR_ElectronicDocTaxID,
  trefnum AS TR_EDocTradeRefNumber,
  cxdrnum AS TR_EDocCustomRegNumber,
  reldat AS TR_EDocRealExportDate,
  customer AS ShipToParty,
  net_amount AS TR_EDocTaxExclusiveAmount,
  tax_amount AS TR_ElectronicDocTaxAmount,
  gross_amount AS TR_EDocTaxInclusiveAmount,
  currency AS SalesCurrency,
  ship_to_party_name AS TR_EDocShipToPartyName
FROM edotrereg
;