I_BR_CTeServiceType

DDL: I_BR_CTESERVICETYPE SQL: IBRCTESERVTYPE Type: view BASIC Package: GLO_LOG_BR

Brazil CT-e Service Type

I_BR_CTeServiceType is a Basic CDS View that provides data about "Brazil CT-e Service Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field BR_CTeServiceType. It has 1 association to related views. Part of development package GLO_LOG_BR.

SAP Help Documentation

CategoryElectronic Documents
StatusReleased
Purpose
This CDS view provides service type codes to the CT-e.

Structure
The key field is CTeServiceType . Measures and attributes CTe Service Type (BR_CTeServiceType)

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_BR_CTeServiceTypeText _Text $projection.BR_CTeServiceType = _Text.BR_CTeServiceType

Annotations (15)

NameValueLevelField
EndUserText.label Brazil CT-e Service Type view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IBRCTESERVTYPE view
ObjectModel.representativeKey BR_CTeServiceType view
ObjectModel.compositionRoot true view
ClientHandling.algorithm #SESSION_VARIABLE 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
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BR_CTeServiceType
_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_CTeServiceType.
-- 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: IBRCTESERVTYPE

CREATE VIEW I_BR_CTeServiceType AS
SELECT
  cast( substring(domvalue_l, 1, 1) as logbr_srv_typ_cte preserving type ) AS BR_CTeServiceType
FROM dd07l
LEFT OUTER JOIN I_BR_CTeServiceTypeText AS _Text ON BR_CTeServiceType = _Text.BR_CTeServiceType  -- association [0..*]
;