I_BR_CTeDocumentTypeText

DDL: I_BR_CTEDOCUMENTTYPETEXT SQL: IBRCTEDOCTYPET Type: view BASIC

Brazil CT-e Document Type - Text

I_BR_CTeDocumentTypeText (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_CTeDocumentTypeText is a Basic CDS View that provides data about "Brazil CT-e Document Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, BR_CTeDocumentType. It has 2 associations to related views.

SAP Help Documentation

CategoryElectronic Documents
StatusReleased
Purpose
This CDS view provides the document type description according to the language parameter to the CT-e.

Structure
The key fields are Language and CTeDocumentType . Measures and attributes Some important measures and attributes are: Language ( Language ) CTe Document Type ( CTeDocumentType ) CTe Document Type Description ( CTeDocumentTypeDesc )

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 the document type description according to the language parameter to the CT-e. </p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BR_CTeDocumentType _BR_CTeDocumentType $projection.BR_CTeDocumentType = _BR_CTeDocumentType.BR_CTeDocumentType
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (14)

NameValueLevelField
EndUserText.label Brazil CT-e Document Type - Text view
ObjectModel.dataCategory #TEXT view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRCTEDOCTYPET view
ObjectModel.representativeKey BR_CTeDocumentType view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
AbapCatalog.preserveKey true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY Language Language Key
KEY BR_CTeDocumentType CT-e Type
BR_CTeDocumentTypeDesc ddtext Short Text for Fixed Values
_BR_CTeDocumentType _BR_CTeDocumentType
_Language _Language

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_CTeDocumentTypeText.
-- 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: IBRCTEDOCTYPET

CREATE VIEW I_BR_CTeDocumentTypeText AS
SELECT
  cast( ddlanguage as spras preserving type ) AS Language,
  cast ( substring( domvalue_l, 1, 1 ) as logbr_type_cte preserving type ) AS BR_CTeDocumentType,
  ddtext AS BR_CTeDocumentTypeDesc
FROM dd07t
LEFT OUTER JOIN I_BR_CTeDocumentType AS _BR_CTeDocumentType ON BR_CTeDocumentType = _BR_CTeDocumentType.BR_CTeDocumentType  -- association [1..1]
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;