I_CN_GoldenTaxSourceDocType

DDL: I_CN_GOLDENTAXSOURCEDOCTYPE Type: view BASIC

Golden Tax Source Document Type

I_CN_GoldenTaxSourceDocType is a Basic CDS View that provides data about "Golden Tax Source Document Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field CN_GoldenTaxDataSourceType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CN_GoldenTaxSourceDocTypeT _Text $projection.CN_GoldenTaxDataSourceType = _Text.CN_GoldenTaxDataSourceType

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName ICNGTDOCTYP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
ObjectModel.representativeKey CN_GoldenTaxDataSourceType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
EndUserText.label Golden Tax Source Document Type view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CN_GoldenTaxDataSourceType
DomainValue dd07l domvalue_l Lower Value
_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_CN_GoldenTaxSourceDocType.
-- 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.

CREATE VIEW I_CN_GoldenTaxSourceDocType AS
SELECT
  cast(SUBSTRING(dd07l.domvalue_l, 1, 1) as eiv_doc_type preserving type ) AS CN_GoldenTaxDataSourceType,
  dd07l.domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN I_CN_GoldenTaxSourceDocTypeT AS _Text ON CN_GoldenTaxDataSourceType = _Text.CN_GoldenTaxDataSourceType  -- association [0..*]
;