I_TR_ElectronicDocIncgInvoice

DDL: I_TR_ELECTRONICDOCINCGINVOICE SQL: IEDOTRIC Type: view BASIC

eDocument Turkey incoming scenario

I_TR_ElectronicDocIncgInvoice is a Basic CDS View that provides data about "eDocument Turkey incoming scenario" in SAP S/4HANA. It reads from 1 data source (edotric) and exposes 14 fields with key field ElectronicDocUUID.

Data Sources (1)

SourceAliasJoin Type
edotric edotric from

Annotations (10)

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

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID edoc_guid eDocument GUID
TR_ElectronicDocUniqueID inv_uuid Turkey Invoice UUI
TR_ElectronicDocInvoiceID fit_tra_id Invoice ID
TR_EDocBusinessPartnerAlias identifier Snd. Alias
TR_ElectronicDocTaxID vkn_tckn VKN/TCKN
TR_ElectronicDocEnvelopeID app_envelope_id Envelope ID
TR_EDocRejectionReasonText rej_reason Rejection Reason
TR_ElectronicDocRcvdDateTime rec_tmstmp Time Received
TR_ElectronicDocSupplierID supplier Supplier
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_ElectronicDocSupplierName supplier_name Supplier 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_ElectronicDocIncgInvoice.
-- 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: IEDOTRIC

CREATE VIEW I_TR_ElectronicDocIncgInvoice AS
SELECT
  edoc_guid AS ElectronicDocUUID,
  inv_uuid AS TR_ElectronicDocUniqueID,
  fit_tra_id AS TR_ElectronicDocInvoiceID,
  identifier AS TR_EDocBusinessPartnerAlias,
  vkn_tckn AS TR_ElectronicDocTaxID,
  app_envelope_id AS TR_ElectronicDocEnvelopeID,
  rej_reason AS TR_EDocRejectionReasonText,
  rec_tmstmp AS TR_ElectronicDocRcvdDateTime,
  supplier AS TR_ElectronicDocSupplierID,
  net_amount AS TR_EDocTaxExclusiveAmount,
  tax_amount AS TR_ElectronicDocTaxAmount,
  gross_amount AS TR_EDocTaxInclusiveAmount,
  currency AS SalesCurrency,
  supplier_name AS TR_ElectronicDocSupplierName
FROM edotric
;