P_SalesOrderBOMLink

DDL: P_SALESORDERBOMLINK Type: view_entity BASIC Package: CS_MODEL

Private view for sales order BOM link

P_SalesOrderBOMLink is a Basic CDS View that provides data about "Private view for sales order BOM link" in SAP S/4HANA. It reads from 1 data source (kdst) and exposes 11 fields with key fields BillOfMaterial, BillOfMaterialVariant, Material, Plant, BillOfMaterialVariantUsage. Part of development package CS_MODEL.

Data Sources (1)

SourceAliasJoin Type
kdst kdst from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Private view for sales order BOM link view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial stlnr BOM
KEY BillOfMaterialVariant stlal AlternativeBOM
KEY Material matnr Vehicle Model
KEY Plant werks Receiving Plant
KEY BillOfMaterialVariantUsage stlan Usage
KEY SalesOrder vbeln SD Sched. Agmt
KEY SalesOrderItem vbpos Item
RecordCreationDate andat Created On
CreatedByUser annam Created By
LastChangeDate aedat Obsolete
LastChangedByUser aenam User Name

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 P_SalesOrderBOMLink.
-- 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 P_SalesOrderBOMLink AS
SELECT
  stlnr AS BillOfMaterial,
  stlal AS BillOfMaterialVariant,
  matnr AS Material,
  werks AS Plant,
  stlan AS BillOfMaterialVariantUsage,
  vbeln AS SalesOrder,
  vbpos AS SalesOrderItem,
  andat AS RecordCreationDate,
  annam AS CreatedByUser,
  aedat AS LastChangeDate,
  aenam AS LastChangedByUser
FROM kdst
;