I_CN_GoldenTaxInvoiceCategory

DDL: I_CN_GOLDENTAXINVOICECATEGORY Type: view BASIC

Golden Tax Invoice Category

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

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CN_GoldenTaxInvoiceCategoryT _Text $projection.CN_TaxInvoiceCategory = _Text.CN_TaxInvoiceCategory

Annotations (12)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName ICNGTINVCCATG view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey CN_TaxInvoiceCategory view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
Search.searchable true view
EndUserText.label Golden Tax Invoice Category view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CN_TaxInvoiceCategory
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_GoldenTaxInvoiceCategory.
-- 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_GoldenTaxInvoiceCategory AS
SELECT
  cast(SUBSTRING(dd07l.domvalue_l, 1, 1) as gtcatg preserving type ) AS CN_TaxInvoiceCategory,
  dd07l.domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN I_CN_GoldenTaxInvoiceCategoryT AS _Text ON CN_TaxInvoiceCategory = _Text.CN_TaxInvoiceCategory  -- association [0..*]
;