I_CO_DIANTaxNumberType

DDL: I_CO_DIANTAXNUMBERTYPE SQL: ICODIANTXNMBRT Type: view BASIC

DIAN Tax Number Type

I_CO_DIANTaxNumberType is a Basic CDS View (Dimension) that provides data about "DIAN Tax Number Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CO_DIANTaxNumberType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CO_DIANTaxNumberTypeText _Text $projection.CO_DIANTaxNumberType = _Text.CO_DIANTaxNumberType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICODIANTXNMBRT view
EndUserText.label DIAN Tax Number Type view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CO_DIANTaxNumberType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CO_DIANTaxNumberType
_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_CO_DIANTaxNumberType.
-- 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: ICODIANTXNMBRT

CREATE VIEW I_CO_DIANTaxNumberType AS
SELECT
  cast ( cast ( substring( domvalue_l, 1, 2 ) as abap.numc( 2 ) ) as ficodian_typeof_doc ) AS CO_DIANTaxNumberType
FROM dd07l
LEFT OUTER JOIN I_CO_DIANTaxNumberTypeText AS _Text ON CO_DIANTaxNumberType = _Text.CO_DIANTaxNumberType  -- association [0..*]
;