I_BillOfMaterialItemDraftTP

DDL: I_BILLOFMATERIALITEMDRAFTTP SQL: IBOMITEMDRAFTV2 Type: view BASIC Package: CS_MODEL

Bill Of Material Item Draft projection

I_BillOfMaterialItemDraftTP is a Basic CDS View that provides data about "Bill Of Material Item Draft projection" in SAP S/4HANA. It reads from 2 data sources (stko_draft_v2, stpo_draft_v2) and exposes 91 fields with key field DraftUUID. Part of development package CS_MODEL.

Data Sources (2)

SourceAliasJoin Type
stko_draft_v2 stko_draft inner
stpo_draft_v2 stpo_draft from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IBOMITEMDRAFTV2 view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
EndUserText.label Bill Of Material Item Draft projection view

Fields (91)

KeyFieldSource TableSource FieldDescription
KEY DraftUUID stpo_draft_v2 draftuuid UUID
ParentDraftUUID stpo_draft_v2 parentdraftuuid NodeID
BillOfMaterial stpo_draft_v2 billofmaterial BOM
BillOfMaterialCategory stpo_draft_v2 billofmaterialcategory BOM category
BillOfMaterialVariant stpo_draft_v2 billofmaterialvariant AlternativeBOM
BillOfMaterialVersion stpo_draft_v2 billofmaterialversion BOM Version
BillOfMaterialItemNodeNumber stpo_draft_v2 billofmaterialitemnodenumber Item node
BillOfMaterialItemUUID stpo_draft_v2 billofmaterialitemuuid Guid
BOMItemInternalChangeCount stpo_draft_v2 bomiteminternalchangecount Counter
ValidityStartDate stpo_draft_v2 validitystartdate Validity Start Date
ValidityEndDate stpo_draft_v2 validityenddate ValidTo
EngineeringChangeDocument stpo_draft_v2 engineeringchangedocument Change Number
ChgToEngineeringChgDocument stpo_draft_v2 chgtoengineeringchgdocument Change No. To
InheritedNodeNumberForBOMItem stpo_draft_v2 inheritednodenumberforbomitem Nodes
BOMItemRecordCreationDate stpo_draft_v2 bomitemrecordcreationdate Created On
BOMItemCreatedByUser stpo_draft_v2 bomitemcreatedbyuser Created by
BOMItemLastChangeDate stpo_draft_v2 bomitemlastchangedate Changed On
BOMItemLastChangedByUser stpo_draft_v2 bomitemlastchangedbyuser Changed By
BillOfMaterialComponent stpo_draft_v2 billofmaterialcomponent Component
BillOfMaterialItemCategory stpo_draft_v2 billofmaterialitemcategory Item Category
BillOfMaterialItemNumber stpo_draft_v2 billofmaterialitemnumber Item
BillOfMaterialItemUnit stpo_draft_v2 billofmaterialitemunit Component UoM
BillOfMaterialItemQuantity stpo_draft_v2 billofmaterialitemquantity Quantity
IsAssembly
IsSubItem stpo_draft_v2 issubitem Sub-item ID
BOMItemSorter stpo_draft_v2 bomitemsorter Sort String
FixedQuantity stpo_draft_v2 fixedquantity Fixed Quantity
PurchasingGroup stpo_draft_v2 purchasinggroup Purchasing Group
Currency stpo_draft_v2 currency Valuation Crcy
MaterialComponentPrice stpo_draft_v2 materialcomponentprice Price
IdentifierBOMItem stpo_draft_v2 identifierbomitem Item ID
MaterialPriceUnitQty stpo_draft_v2 materialpriceunitqty Price unit
ComponentScrapInPercent stpo_draft_v2 componentscrapinpercent Component Scrap
OperationScrapInPercent stpo_draft_v2 operationscrapinpercent Operation Scrap
IsNetScrap stpo_draft_v2 isnetscrap Net Indicator
NumberOfVariableSizeItem stpo_draft_v2 numberofvariablesizeitem Number Required
QuantityVariableSizeItem stpo_draft_v2 quantityvariablesizeitem VSI Quantity
FormulaKey stpo_draft_v2 formulakey VSI Formula
BOMItemDescription stpo_draft_v2 bomitemdescription Item Text
BOMItemText2 stpo_draft_v2 bomitemtext2 Item Text
MaterialGroup stpo_draft_v2 materialgroup Product Group
DocumentType stpo_draft_v2 documenttype Order Type
DocNumber stpo_draft_v2 docnumber Document Number
DocumentVersion stpo_draft_v2 documentversion Docu. Version
DocumentPart stpo_draft_v2 documentpart Document Part
ClassNumber stpo_draft_v2 classnumber Class
ClassType stpo_draft_v2 classtype X Flag
ResultingItemCategory stpo_draft_v2 resultingitemcategory Res. item cat.
DependencyObjectNumber stpo_draft_v2 dependencyobjectnumber Assgmt no.
ObjectType stpo_draft_v2 objecttype Type
IsClassificationRelevant stpo_draft_v2 isclassificationrelevant as sel. cond.
IsBulkMaterial stpo_draft_v2 isbulkmaterial Bulk material
IsDeleted stpo_draft_v2 isdeleted TRUE
BOMItemIsSparePart stpo_draft_v2 bomitemissparepart Spare Part ID
BOMItemIsSalesRelevant stpo_draft_v2 bomitemissalesrelevant Sales
IsProductionRelevant stpo_draft_v2 isproductionrelevant Production
BOMItemIsPlantMaintRelevant stpo_draft_v2 bomitemisplantmaintrelevant Plant maint.
BOMItemIsCostingRelevant stpo_draft_v2 bomitemiscostingrelevant CostingRelevncy
IsEngineeringRelevant stpo_draft_v2 isengineeringrelevant Engineering
SpecialProcurementType stpo_draft_v2 specialprocurementtype SpecProcurement
BOMIsRecursive stpo_draft_v2 bomisrecursive Recursive
OperationLeadTimeOffset stpo_draft_v2 operationleadtimeoffset Oper. LT offset
OpsLeadTimeOffsetUnit stpo_draft_v2 opsleadtimeoffsetunit Oper. LTO unit
IsMaterialProvision stpo_draft_v2 ismaterialprovision Mat. Prov. Ind.
IsBOMRecursiveAllowed stpo_draft_v2 isbomrecursiveallowed Rec. allowed
DocumentIsCreatedByCAD stpo_draft_v2 documentiscreatedbycad CAD Indicator
DistrKeyCompConsumption stpo_draft_v2 distrkeycompconsumption Distribution
DeliveryDurationInDays stpo_draft_v2 deliverydurationindays Del time (days)
Creditor stpo_draft_v2 creditor Supplier
CostElement stpo_draft_v2 costelement G/L Account
IsPhantomItem stpo_draft_v2 isphantomitem Phantom item
Size1 stpo_draft_v2 size1 Size 1
Size2 stpo_draft_v2 size2 Size 2
Size3 stpo_draft_v2 size3 Size 3
UnitOfMeasureForSize1To3 stpo_draft_v2 unitofmeasureforsize1to3 Size unit
GoodsReceiptDuration stpo_draft_v2 goodsreceiptduration GR proc. time
PurchasingOrganization stpo_draft_v2 purchasingorganization Purchasing Organization
RequiredComponent stpo_draft_v2 requiredcomponent Reqd Component
MultipleSelectionAllowed stpo_draft_v2 multipleselectionallowed Multiple Sel.
ProdOrderIssueLocation stpo_draft_v2 prodorderissuelocation StorageLocation
MaterialIsCoProduct stpo_draft_v2 materialiscoproduct Co-product
ExplosionType stpo_draft_v2 explosiontype Explosion type
AlternativeItemGroup stpo_draft_v2 alternativeitemgroup AltItemGroup
FollowUpGroup stpo_draft_v2 followupgroup Follow-up group
DiscontinuationGroup stpo_draft_v2 discontinuationgroup Discont. group
IsConfigurableBOM stpo_draft_v2 isconfigurablebom Sel. ind.
ReferencePoint stpo_draft_v2 referencepoint Reference point
LeadTimeOffset stpo_draft_v2 leadtimeoffset Lead-tm offset
ProductionSupplyArea stpo_draft_v2 productionsupplyarea Supply Area
IsALE stpo_draft_v2 isale ALE indicator
BillOfMaterialHeaderUUID stko_draft_v2 billofmaterialheaderuuid Guid

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_BillOfMaterialItemDraftTP.
-- 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: IBOMITEMDRAFTV2

CREATE VIEW I_BillOfMaterialItemDraftTP AS
SELECT
  stpo_draft.draftuuid AS DraftUUID,
  stpo_draft.parentdraftuuid AS ParentDraftUUID,
  stpo_draft.billofmaterial AS BillOfMaterial,
  stpo_draft.billofmaterialcategory AS BillOfMaterialCategory,
  stpo_draft.billofmaterialvariant AS BillOfMaterialVariant,
  stpo_draft.billofmaterialversion AS BillOfMaterialVersion,
  stpo_draft.billofmaterialitemnodenumber AS BillOfMaterialItemNodeNumber,
  stpo_draft.billofmaterialitemuuid AS BillOfMaterialItemUUID,
  stpo_draft.bomiteminternalchangecount AS BOMItemInternalChangeCount,
  stpo_draft.validitystartdate AS ValidityStartDate,
  stpo_draft.validityenddate AS ValidityEndDate,
  stpo_draft.engineeringchangedocument AS EngineeringChangeDocument,
  stpo_draft.chgtoengineeringchgdocument AS ChgToEngineeringChgDocument,
  stpo_draft.inheritednodenumberforbomitem AS InheritedNodeNumberForBOMItem,
  stpo_draft.bomitemrecordcreationdate AS BOMItemRecordCreationDate,
  stpo_draft.bomitemcreatedbyuser AS BOMItemCreatedByUser,
  stpo_draft.bomitemlastchangedate AS BOMItemLastChangeDate,
  stpo_draft.bomitemlastchangedbyuser AS BOMItemLastChangedByUser,
  stpo_draft.billofmaterialcomponent AS BillOfMaterialComponent,
  stpo_draft.billofmaterialitemcategory AS BillOfMaterialItemCategory,
  stpo_draft.billofmaterialitemnumber AS BillOfMaterialItemNumber,
  stpo_draft.billofmaterialitemunit AS BillOfMaterialItemUnit,
  stpo_draft.billofmaterialitemquantity AS BillOfMaterialItemQuantity,
  cast( stpo_draft.isassembly as stlkz preserving type) AS IsAssembly,
  stpo_draft.issubitem AS IsSubItem,
  stpo_draft.bomitemsorter AS BOMItemSorter,
  stpo_draft.fixedquantity AS FixedQuantity,
  stpo_draft.purchasinggroup AS PurchasingGroup,
  stpo_draft.currency AS Currency,
  stpo_draft.materialcomponentprice AS MaterialComponentPrice,
  stpo_draft.identifierbomitem AS IdentifierBOMItem,
  stpo_draft.materialpriceunitqty AS MaterialPriceUnitQty,
  stpo_draft.componentscrapinpercent AS ComponentScrapInPercent,
  stpo_draft.operationscrapinpercent AS OperationScrapInPercent,
  stpo_draft.isnetscrap AS IsNetScrap,
  stpo_draft.numberofvariablesizeitem AS NumberOfVariableSizeItem,
  stpo_draft.quantityvariablesizeitem AS QuantityVariableSizeItem,
  stpo_draft.formulakey AS FormulaKey,
  stpo_draft.bomitemdescription AS BOMItemDescription,
  stpo_draft.bomitemtext2 AS BOMItemText2,
  stpo_draft.materialgroup AS MaterialGroup,
  stpo_draft.documenttype AS DocumentType,
  stpo_draft.docnumber AS DocNumber,
  stpo_draft.documentversion AS DocumentVersion,
  stpo_draft.documentpart AS DocumentPart,
  stpo_draft.classnumber AS ClassNumber,
  stpo_draft.classtype AS ClassType,
  stpo_draft.resultingitemcategory AS ResultingItemCategory,
  stpo_draft.dependencyobjectnumber AS DependencyObjectNumber,
  stpo_draft.objecttype AS ObjectType,
  stpo_draft.isclassificationrelevant AS IsClassificationRelevant,
  stpo_draft.isbulkmaterial AS IsBulkMaterial,
  stpo_draft.isdeleted AS IsDeleted,
  stpo_draft.bomitemissparepart AS BOMItemIsSparePart,
  stpo_draft.bomitemissalesrelevant AS BOMItemIsSalesRelevant,
  stpo_draft.isproductionrelevant AS IsProductionRelevant,
  stpo_draft.bomitemisplantmaintrelevant AS BOMItemIsPlantMaintRelevant,
  stpo_draft.bomitemiscostingrelevant AS BOMItemIsCostingRelevant,
  stpo_draft.isengineeringrelevant AS IsEngineeringRelevant,
  stpo_draft.specialprocurementtype AS SpecialProcurementType,
  stpo_draft.bomisrecursive AS BOMIsRecursive,
  stpo_draft.operationleadtimeoffset AS OperationLeadTimeOffset,
  stpo_draft.opsleadtimeoffsetunit AS OpsLeadTimeOffsetUnit,
  stpo_draft.ismaterialprovision AS IsMaterialProvision,
  stpo_draft.isbomrecursiveallowed AS IsBOMRecursiveAllowed,
  stpo_draft.documentiscreatedbycad AS DocumentIsCreatedByCAD,
  stpo_draft.distrkeycompconsumption AS DistrKeyCompConsumption,
  stpo_draft.deliverydurationindays AS DeliveryDurationInDays,
  stpo_draft.creditor AS Creditor,
  stpo_draft.costelement AS CostElement,
  stpo_draft.isphantomitem AS IsPhantomItem,
  stpo_draft.size1 AS Size1,
  stpo_draft.size2 AS Size2,
  stpo_draft.size3 AS Size3,
  stpo_draft.unitofmeasureforsize1to3 AS UnitOfMeasureForSize1To3,
  stpo_draft.goodsreceiptduration AS GoodsReceiptDuration,
  stpo_draft.purchasingorganization AS PurchasingOrganization,
  stpo_draft.requiredcomponent AS RequiredComponent,
  stpo_draft.multipleselectionallowed AS MultipleSelectionAllowed,
  stpo_draft.prodorderissuelocation AS ProdOrderIssueLocation,
  stpo_draft.materialiscoproduct AS MaterialIsCoProduct,
  stpo_draft.explosiontype AS ExplosionType,
  stpo_draft.alternativeitemgroup AS AlternativeItemGroup,
  stpo_draft.followupgroup AS FollowUpGroup,
  stpo_draft.discontinuationgroup AS DiscontinuationGroup,
  stpo_draft.isconfigurablebom AS IsConfigurableBOM,
  stpo_draft.referencepoint AS ReferencePoint,
  stpo_draft.leadtimeoffset AS LeadTimeOffset,
  stpo_draft.productionsupplyarea AS ProductionSupplyArea,
  stpo_draft.isale AS IsALE,
  stko_draft.billofmaterialheaderuuid AS BillOfMaterialHeaderUUID
FROM stpo_draft_v2 AS stpo_draft
INNER JOIN stko_draft_v2 AS stko_draft ON /* join condition not captured in parsed metadata */
;