I_BR_NFExportDeclaration

DDL: I_BR_NFEXPORTDECLARATION SQL: IBRNFDUE Type: view BASIC

Brazil Export Declaration Data for NF

I_BR_NFExportDeclaration (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_NFExportDeclaration is a Basic CDS View that provides data about "Brazil Export Declaration Data for NF" in SAP S/4HANA. It reads from 1 data source (logbr_nf_due) and exposes 10 fields with key field BR_NotaFiscal. It has 2 associations to related views.

SAP Help Documentation

CategoryElectronic Documents
StatusReleased
Purpose
This CDS view provides you with information about the Brazilian export declaration document (DU-E) based on notas fiscais.

Structure
The key field is BR_NotaFiscal . Measures and attributes Some important measures and attributes are: Nota Fiscal Document Number ( BR_NotaFiscal ) DU-E Type ( BR_DUEType )

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

Documentation

Data Sources (1)

SourceAliasJoin Type
logbr_nf_due logbr_nf_due from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_BR_DUEType _BR_DUEType _BR_DUEType.BR_DUEType = $projection.BR_DUEType
[0..1] I_BR_BillOfLadingType _BR_BillOfLadingType _BR_BillOfLadingType.BR_BillOfLadingType = $projection.BR_BillOfLadingType

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IBRNFDUE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
EndUserText.label Brazil Export Declaration Data for NF view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY BR_NotaFiscal docnum Ref. Doc Number
BR_DUE due_number Export Declaration Number
BR_DUEIssuedDate due_issued_date Export Declaration Issued Date
BR_DUEType due_type Export Declaration Type
BR_BillOfLading bill_lading_number Bill of Lading Number
BR_BillOfLadingDate bill_lading_date Bill of Lading Date
BR_BillOfLadingType bill_lading_type Bill of Lading Type
BR_DUEExportConfirmationDate export_confirmation_date Export Confirmation Date
_BR_DUEType _BR_DUEType
_BR_BillOfLadingType _BR_BillOfLadingType

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_NFExportDeclaration.
-- 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: IBRNFDUE

CREATE VIEW I_BR_NFExportDeclaration AS
SELECT
  docnum AS BR_NotaFiscal,
  due_number AS BR_DUE,
  due_issued_date AS BR_DUEIssuedDate,
  due_type AS BR_DUEType,
  bill_lading_number AS BR_BillOfLading,
  bill_lading_date AS BR_BillOfLadingDate,
  bill_lading_type AS BR_BillOfLadingType,
  export_confirmation_date AS BR_DUEExportConfirmationDate
FROM logbr_nf_due
LEFT OUTER JOIN I_BR_DUEType AS _BR_DUEType ON _BR_DUEType.BR_DUEType = BR_DUEType  -- association [0..1]
LEFT OUTER JOIN I_BR_BillOfLadingType AS _BR_BillOfLadingType ON _BR_BillOfLadingType.BR_BillOfLadingType = BR_BillOfLadingType  -- association [0..1]
;