I_BR_NFDocumentReferenceType

DDL: I_BR_NFDOCUMENTREFERENCETYPE SQL: IBRNFDOCREFTYPE Type: view BASIC

Brazil Nota Fiscal Document Ref Type

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

SAP Help Documentation

CategoryElectronic Documents
Purpose
This CDS view provides the document reference type codes available to be used in the nota fiscal document. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description BR_NFDocumentReferenceType Document Reference Type

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BR_NFDocReferenceTypeText _Text $projection.BR_NFDocumentReferenceType = _Text.BR_NFDocumentReferenceType

Annotations (17)

NameValueLevelField
EndUserText.label Brazil Nota Fiscal Document Ref Type view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRNFDOCREFTYPE view
ObjectModel.representativeKey BR_NFDocumentReferenceType view
ObjectModel.compositionRoot true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.dataCategory #VALUE_HELP view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL 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

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BR_NFDocumentReferenceType
_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_NFDocumentReferenceType.
-- 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: IBRNFDOCREFTYPE

CREATE VIEW I_BR_NFDocumentReferenceType AS
SELECT
  cast ( substring( domvalue_l, 1, 1 ) as logbr_documentreferencetype preserving type ) AS BR_NFDocumentReferenceType
FROM dd07l
LEFT OUTER JOIN I_BR_NFDocReferenceTypeText AS _Text ON BR_NFDocumentReferenceType = _Text.BR_NFDocumentReferenceType  -- association [0..*]
;