I_BR_NFTextsAggregation
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)
| Source | Alias | Join Type |
|---|---|---|
| I_BR_NFTexts | I_BR_NFTexts | from |
| I_BR_NFTextsCompatibility | I_BR_NFTextsCompatibility | union_all |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_BR_NFTextSource | _BR_NFTextSource | _BR_NFTextSource.BR_NFTextSource = $projection.BR_NFMessageIsItemLinked |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BR_NotaFiscal | BR_NotaFiscal | ||
| KEY | BR_NotaFiscalItem | BR_NotaFiscalItem | ||
| KEY | BR_NFTextType | BR_NFTextType | ||
| KEY | BR_NFTextSequenceNumber | BR_NFTextSequenceNumber | ||
| BR_NFText | BR_NFText | |||
| _BR_NFTextType | _BR_NFTextType | |||
| BR_NFMessageIsItemLinkedkeyBR_NotaFiscal | ||||
| KEY | BR_NotaFiscalItem | BR_NotaFiscalItem | ||
| KEY | BR_NFTextType | BR_NFTextType | ||
| KEY | BR_NFTextSequenceNumber | |||
| BR_NFText | BR_NFMessageText | |||
| _BR_NFTextType | _BR_NFTextType | |||
| _BR_NFTextSource | _BR_NFTextSource |
@AbapCatalog.sqlViewName: 'IBRNFTEXTSAGGREG'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Brazil Nota Fiscal Texts Aggregation'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@ClientHandling.algorithm: #SESSION_VARIABLE
define view I_BR_NFTextsAggregation
as select from I_BR_NFTexts
association [0..1] to I_BR_NFTextSource as _BR_NFTextSource on _BR_NFTextSource.BR_NFTextSource = $projection.BR_NFMessageIsItemLinked
{
key BR_NotaFiscal,
key BR_NotaFiscalItem,
key BR_NFTextType,
key BR_NFTextSequenceNumber,
BR_NFText,
@ObjectModel.foreignKey.association: '_BR_NFTextSource'
case when BR_NotaFiscalItem = '000000' then ''
else 'X' end as BR_NFMessageIsItemLinked,
_BR_NFTextType,
_BR_NFTextSource
}
union all select from I_BR_NFTextsCompatibility
association [0..1] to I_BR_NFTextSource as _BR_NFTextSource on _BR_NFTextSource.BR_NFTextSource = $projection.BR_NFMessageIsItemLinked
{
key BR_NotaFiscal,
key BR_NotaFiscalItem,
key BR_NFTextType,
key concat(BR_NFMessageSequenceNumber, BR_NFMessageLineNumber) as BR_NFTextSequenceNumber,
BR_NFMessageText as BR_NFText,
@ObjectModel.foreignKey.association: '_BR_NFTextSource'
case when BR_NotaFiscalItem = '000000' or
BR_NotaFiscalItem is null
then ''
else 'X' end as BR_NFMessageIsItemLinked,
_BR_NFTextType,
_BR_NFTextSource
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BR_NFTEXTS",
"I_BR_NFTEXTSCOMPATIBILITY"
],
"ASSOCIATED":
[
"I_BR_NFTEXTSOURCE",
"I_BR_NFTEXTTYPE"
],
"BASE":
[
"I_BR_NFTEXTS"
],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA