I_DSD_TourDocumentType

DDL: I_DSD_TOURDOCUMENTTYPE Type: view_entity BASIC

Settlement Document Types

I_DSD_TourDocumentType is a Basic CDS View that provides data about "Settlement Document Types" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field TourDocumentType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_DSD_TourDocumentTypeText _Text $projection.TourDocumentType = _Text.TourDocumentType

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Settlement Document Types view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY TourDocumentType
_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_DSD_TourDocumentType.
-- 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_DSD_TourDocumentType AS
SELECT
  cast( substring(dd07l.domvalue_l, 1, 2) as /dsd/hh_doc_typ ) AS TourDocumentType
FROM dd07l
LEFT OUTER JOIN I_DSD_TourDocumentTypeText AS _Text ON TourDocumentType = _Text.TourDocumentType  -- association [0..*]
;