I_Dost

DDL: I_DOST SQL: IDOST Type: view BASIC Package: CS_MODEL

Document to BOM Link

I_Dost is a Basic CDS View that provides data about "Document to BOM Link" in SAP S/4HANA. It reads from 1 data source (dost) and exposes 7 fields with key fields BillOfMaterial, BillOfMaterialVariant. Part of development package CS_MODEL.

Data Sources (1)

SourceAliasJoin Type
dost dost from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IDOST view
AbapCatalog.preserveKey true view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
EndUserText.label Document to BOM Link view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial stlnr BOM
KEY BillOfMaterialVariant stlal AlternativeBOM
BillOfMaterialCategory
DocumentType dokar SW Document Type
DocNumber doknr Document
DocumentVersion dokvr Doc. Version
DocumentPart doktl Document Part

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_Dost.
-- 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.
-- SQL view name: IDOST

CREATE VIEW I_Dost AS
SELECT
  stlnr AS BillOfMaterial,
  stlal AS BillOfMaterialVariant,
  cast ('D' as stlty preserving type) AS BillOfMaterialCategory,
  dokar AS DocumentType,
  doknr AS DocNumber,
  dokvr AS DocumentVersion,
  doktl AS DocumentPart
FROM dost
;