I_DraftAccessType

DDL: I_DRAFTACCESSTYPE Type: view_entity

Draft Access Type

I_DraftAccessType is a CDS View that provides data about "Draft Access Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field DraftAccessType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dd07l value from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_DraftAccessTypeText _Text _Text.DraftAccessType = $projection.DraftAccessType

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Draft Access Type view
ObjectModel.resultSet.sizeCategory #XS view
Search.searchable true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DraftAccessType
domvalue_h domvalue_h Dom.upper limit
_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_DraftAccessType.
-- 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_DraftAccessType AS
SELECT
  cast( substring( value.domvalue_l, 1, 1 ) as sdraft_access_type preserving type ) AS DraftAccessType,
  domvalue_h
FROM dd07l AS value
LEFT OUTER JOIN I_DraftAccessTypeText AS _Text ON _Text.DraftAccessType = DraftAccessType  -- association [0..*]
;