I_BR_NFDirection

DDL: I_BR_NFDIRECTION SQL: IBRNFDIR Type: view BASIC

Brazil Nota Fiscal Direction

I_BR_NFDirection (Basic)

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

Country or Region-Specific Functions for Finance

I_BR_NFDirection is a Basic CDS View that provides data about "Brazil Nota Fiscal Direction" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field BR_NFDirection. It has 1 association to related views.

SAP Help Documentation

CategoryElectronic Documents
StatusReleased
Purpose
This CDS view provides direction codes to the nota fiscal.

Structure
The key field is NFDirection . Measures and attributes Nota Fiscal Direction ( NFDirection )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCountry or Region-Specific Functions for Finance
Application ComponentFI-LOC-LO-BR
CapabilitiesData Source in SQL Select, Data Source for Defining CDS Entities
PackageCountry or Region-Specific Functions for Finance for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides direction codes to the nota fiscal.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BR_NFDirectionText _Text $projection.BR_NFDirection = _Text.BR_NFDirection

Annotations (15)

NameValueLevelField
EndUserText.label Brazil Nota Fiscal Direction view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRNFDIR view
ObjectModel.representativeKey BR_NFDirection view
ObjectModel.compositionRoot true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.resultSet.sizeCategory #XS view
AbapCatalog.preserveKey true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BR_NFDirection Movement Direction
_Text _Text

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_NFDirection.
-- 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: IBRNFDIR

CREATE VIEW I_BR_NFDirection AS
SELECT
  cast( substring(domvalue_l, 1, 1) as logbr_nfdirection preserving type ) AS BR_NFDirection
FROM dd07l
LEFT OUTER JOIN I_BR_NFDirectionText AS _Text ON BR_NFDirection = _Text.BR_NFDirection  -- association [0..*]
;