I_BG_VATDocumentTypeVH

DDL: I_BG_VATDOCUMENTTYPEVH Type: view_entity BASIC

BG Value Added Tax Document Type

I_BG_VATDocumentTypeVH is a Basic CDS View that provides data about "BG Value Added Tax Document Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field BG_ValueAddedTaxDocumentType.

Data Sources (1)

SourceAliasJoin Type
dd07l _DomainValue from

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label BG Value Added Tax Document Type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.dataCategory #VALUE_HELP view
VDM.viewType #BASIC view
Search.searchable true view
Consumption.ranked true view
ObjectModel.representativeKey BG_ValueAddedTaxDocumentType view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY BG_ValueAddedTaxDocumentType
BG_VATDocumentTypeText _Text DomainText Short Description

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_BG_VATDocumentTypeVH.
-- 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_BG_VATDocumentTypeVH AS
SELECT
  cast ( cast ( substring( _DomainValue.domvalue_l, 1, 2 ) as abap.char( 2 ) ) as fibgvat_vatdocumenttype preserving type ) AS BG_ValueAddedTaxDocumentType,
  _Text.DomainText AS BG_VATDocumentTypeText
FROM dd07l AS _DomainValue
;