I_BR_NFTextsAggregation

DDL: I_BR_NFTEXTSAGGREGATION SQL: IBRNFTEXTSAGGREG Type: view COMPOSITE

Brazil Nota Fiscal Texts Aggregation

I_BR_NFTextsAggregation is a Composite CDS View that provides data about "Brazil Nota Fiscal Texts Aggregation" in SAP S/4HANA. It reads from 2 data sources (I_BR_NFTexts, I_BR_NFTextsCompatibility) and exposes 13 fields with key fields BR_NotaFiscal, BR_NotaFiscalItem, BR_NFTextType, BR_NFTextSequenceNumber, BR_NotaFiscalItem. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_BR_NFTexts I_BR_NFTexts from
I_BR_NFTextsCompatibility I_BR_NFTextsCompatibility union_all

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_BR_NFTextSource _BR_NFTextSource _BR_NFTextSource.BR_NFTextSource = $projection.BR_NFMessageIsItemLinked

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBRNFTEXTSAGGREG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Brazil Nota Fiscal Texts Aggregation view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY BR_NotaFiscal BR_NotaFiscal Nota Fiscal
KEY BR_NotaFiscalItem BR_NotaFiscalItem NF Item Number
KEY BR_NFTextType BR_NFTextType Worklist Type
KEY BR_NFTextSequenceNumber BR_NFTextSequenceNumber Version
BR_NFText BR_NFText
_BR_NFTextType _BR_NFTextType
BR_NFMessageIsItemLinkedkeyBR_NotaFiscal
KEY BR_NotaFiscalItem BR_NotaFiscalItem NF Item Number
KEY BR_NFTextType BR_NFTextType Worklist Type
KEY BR_NFTextSequenceNumber Version
BR_NFText BR_NFMessageText
_BR_NFTextType _BR_NFTextType
_BR_NFTextSource _BR_NFTextSource

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_BR_NFTextsAggregation.
-- 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: IBRNFTEXTSAGGREG

CREATE VIEW I_BR_NFTextsAggregation AS
SELECT
  BR_NotaFiscal,
  BR_NotaFiscalItem,
  BR_NFTextType,
  BR_NFTextSequenceNumber,
  BR_NFText
FROM I_BR_NFTexts
LEFT OUTER JOIN I_BR_NFTextSource AS _BR_NFTextSource ON _BR_NFTextSource.BR_NFTextSource = BR_NFMessageIsItemLinked  -- association [0..1]
-- UNION ALL with additional select branch(es): I_BR_NFTextsCompatibility
;