I_TR_ElectronicDocExpInvoice

DDL: I_TR_ELECTRONICDOCEXPINVOICE Type: view_entity BASIC Package: GLO-EDO-TR

eDocument Turkey Export Invoice

I_TR_ElectronicDocExpInvoice (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Cross Applications

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 (R_TR_ElectronicDocExpInvoice) and exposes 18 fields with key field ElectronicDocUUID. It has 1 association to related views. Part of development package GLO-EDO-TR.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessCross Applications
Application ComponentCA-GTF-CSC-EDO-TR
CapabilitiesData Source in SQL Select,Association Target for Defining CDS Entities,Data Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Not Released
Release State (Developer)Released
PackageCross Applications for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
R_TR_ElectronicDocExpInvoice R_TR_ElectronicDocExpInvoice from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ElectronicDoc _ElectronicDoc R_TR_ElectronicDocExpInvoice.ElectronicDocUUID = _ElectronicDoc.ElectronicDocUUID

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label eDocument Turkey Export Invoice view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID ElectronicDocUUID eDocument: GUID
TR_ElectronicDocUniqueID TR_ElectronicDocUniqueID eDocument Turkey: FIT Invoice UUID
TR_ElectronicDocEnvelopeID TR_ElectronicDocEnvelopeID eDocument Turkey: FIT Envelope ID
TR_ElectronicDocInvoiceID TR_ElectronicDocInvoiceID eDocument Turkey: Invoice ID
TR_EDocBusinessPartnerAlias TR_EDocBusinessPartnerAlias Snd. Alias
TR_ElectronicDocTaxID TR_ElectronicDocTaxID eDocument Turkey: VKN/TCKN
TR_EDocTradeRefNumber TR_EDocTradeRefNumber Ministry of Customs and Trade Reference Number
TR_EDocCustomRegNumber TR_EDocCustomRegNumber Customs Exit Declaration Registration Number
TR_EDocRealExportDate TR_EDocRealExportDate Realisition Date (Real Export Date)
ShipToParty ShipToParty Ship-To Party (obsolete)
TR_EDocTaxExclusiveAmount TR_EDocTaxExclusiveAmount
TR_ElectronicDocTaxAmount TR_ElectronicDocTaxAmount
TR_EDocTaxInclusiveAmount TR_EDocTaxInclusiveAmount
SalesCurrency SalesCurrency Trans. Currency
TR_EDocShipToPartyName TR_EDocShipToPartyName Ship-to Party Name
TR_EDocCancelReason TR_EDocCancelReason eDocument Turkey: Cancellation Reason
TR_EDocCancelReasonCode TR_EDocCancelReasonCode eDocument Turkey: Cancellation Reason Code
TR_ElectronicDocCompanyCode _ElectronicDoc ElectronicDocCompanyCode Company Code

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.

CREATE VIEW I_TR_ElectronicDocExpInvoice AS
SELECT
  ElectronicDocUUID,
  TR_ElectronicDocUniqueID,
  TR_ElectronicDocEnvelopeID,
  TR_ElectronicDocInvoiceID,
  TR_EDocBusinessPartnerAlias,
  TR_ElectronicDocTaxID,
  TR_EDocTradeRefNumber,
  TR_EDocCustomRegNumber,
  TR_EDocRealExportDate,
  ShipToParty,
  TR_EDocTaxExclusiveAmount,
  TR_ElectronicDocTaxAmount,
  TR_EDocTaxInclusiveAmount,
  SalesCurrency,
  TR_EDocShipToPartyName,
  TR_EDocCancelReason,
  TR_EDocCancelReasonCode,
  _ElectronicDoc.ElectronicDocCompanyCode AS TR_ElectronicDocCompanyCode
FROM R_TR_ElectronicDocExpInvoice
LEFT OUTER JOIN I_ElectronicDoc AS _ElectronicDoc ON R_TR_ElectronicDocExpInvoice.ElectronicDocUUID = _ElectronicDoc.ElectronicDocUUID  -- association [1..1]
;