I_TR_ElectronicDocOutgInvoice

DDL: I_TR_ELECTRONICDOCOUTGINVOICE SQL: IEDOTRINV Type: view BASIC Package: GLO-EDO-TR

eDocument TR Invoice outgoing scenario

I_TR_ElectronicDocOutgInvoice is a Basic CDS View that provides data about "eDocument TR Invoice outgoing scenario" in SAP S/4HANA. It reads from 1 data source (edotrinv) and exposes 12 fields with key field ElectronicDocUUID. Part of development package GLO-EDO-TR.

Data Sources (1)

SourceAliasJoin Type
edotrinv edotrinv from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IEDOTRINV view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label eDocument TR Invoice outgoing scenario view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY ElectronicDocUUID edoc_guid eDocument GUID
TR_ElectronicDocEnvelopeID fit_envelope_id Envelope ID
TR_ElectronicDocInvoiceID fit_tra_id Invoice ID
TR_ElectronicDocUniqueID uuid Waste Partner UUID
TR_EDocBusinessPartnerAlias identifier Snd. Alias
TR_ElectronicDocTaxID vkn_tckn VKN/TCKN
TR_ElectronicDocBusPartner business_partner Busn. Partner
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_EDocBusPartnerName business_partner_name Bus. Partner 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_ElectronicDocOutgInvoice.
-- 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: IEDOTRINV

CREATE VIEW I_TR_ElectronicDocOutgInvoice AS
SELECT
  edoc_guid AS ElectronicDocUUID,
  fit_envelope_id AS TR_ElectronicDocEnvelopeID,
  fit_tra_id AS TR_ElectronicDocInvoiceID,
  uuid AS TR_ElectronicDocUniqueID,
  identifier AS TR_EDocBusinessPartnerAlias,
  vkn_tckn AS TR_ElectronicDocTaxID,
  business_partner AS TR_ElectronicDocBusPartner,
  net_amount AS TR_EDocTaxExclusiveAmount,
  tax_amount AS TR_ElectronicDocTaxAmount,
  gross_amount AS TR_EDocTaxInclusiveAmount,
  currency AS SalesCurrency,
  business_partner_name AS TR_EDocBusPartnerName
FROM edotrinv
;