C_IntactvABOPBillOfMaterialHN

DDL: C_INTACTVABOPBILLOFMATERIALHN Type: view_entity CONSUMPTION

Hierarchy Node For BOM

C_IntactvABOPBillOfMaterialHN is a Consumption CDS View that provides data about "Hierarchy Node For BOM" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 17 fields with key fields SalesDocument, SalesDocumentItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SalesDocumentItem item inner

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_Product _Product $projection.Product = _Product.Product
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Hierarchy Node For BOM view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument I_SalesDocumentItem SalesDocument SD Document
KEY SalesDocumentItem I_SalesDocumentItem SalesDocumentItem Sales Document Item
HigherLevelItem I_SalesDocumentItem HigherLevelItem Higher-Lev.Item
BillOfMaterial
Product I_SalesDocumentItem Product Product Sold
ProductName
Plant I_SalesDocumentItem Plant Valuation Area
PlantName _Plant PlantName Plant Name
RequestedDeliveryDate I_SalesDocumentItem CommittedDeliveryDate
RequestedQuantityInBaseUnit
ConfdDeliveryQtyInBaseUnit
BaseUnit I_SalesDocumentItem BaseUnit Unit of Measure
SalesDocumentType I_SalesDocumentItem SalesDocumentType Sales Doc. Type
SalesOrganization I_SalesDocumentItem SalesOrganization Sales Organization
OrganizationDivision I_SalesDocumentItem OrganizationDivision Org. Division
DistributionChannel I_SalesDocumentItem DistributionChannel RefDistCh-Cust/Mat.
_MainItem _MainItem

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 C_IntactvABOPBillOfMaterialHN.
-- 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 C_IntactvABOPBillOfMaterialHN AS
SELECT
  item.SalesDocument AS SalesDocument,
  item.SalesDocumentItem AS SalesDocumentItem,
  item.HigherLevelItem AS HigherLevelItem,
  cast ( bom.BillOfMaterial as abap.char( 8 ) ) AS BillOfMaterial,
  item.Product AS Product,
  _Product._Text[1:Language=$session.system_language].ProductName AS ProductName,
  item.Plant AS Plant,
  _Plant.PlantName AS PlantName,
  item.CommittedDeliveryDate AS RequestedDeliveryDate,
  cast ( 0 as ordqty ) AS RequestedQuantityInBaseUnit,
  cast( 0 as ocdqty ) AS ConfdDeliveryQtyInBaseUnit,
  item.BaseUnit AS BaseUnit,
  item.SalesDocumentType AS SalesDocumentType,
  item.SalesOrganization AS SalesOrganization,
  item.OrganizationDivision AS OrganizationDivision,
  item.DistributionChannel AS DistributionChannel
INNER JOIN I_SalesDocumentItem AS item ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;