C_MatBillOfMaterialTP

DDL: C_MATBILLOFMATERIALTP Type: view_entity CONSUMPTION Package: CS_RAP

Material Bill of Material Header

C_MatBillOfMaterialTP is a Consumption CDS View that provides data about "Material Bill of Material Header" in SAP S/4HANA. It reads from 1 data source (R_MatBillOfMaterialTP) and exposes 83 fields with key fields BillOfMaterial, BillOfMaterialCategory, BillOfMaterialVariant, BillOfMaterialVersion, EngineeringChangeDocument. It has 1 association to related views. It is exposed through 2 OData services (ASQL_F1813A, UI_BILLOFMATERIAL_MAINTAIN). Part of development package CS_RAP.

Data Sources (1)

SourceAliasJoin Type
R_MatBillOfMaterialTP R_MatBillOfMaterialTP projection

Associations (1)

CardinalityTargetAliasCondition
[1..*] C_ChangeDocument_2 _ChangeDocumentsComponent _ChangeDocumentsComponent.ChangeDocObjectClassForEdit = 'STUE' and _ChangeDocumentsComponent.ChangeDocObjectForEdit = $projection.ChangeDocumentTableKey

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Material Bill of Material Header view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
Search.searchable true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F1813A ASQL_F1813A C2 NOT_RELEASED
UI_BILLOFMATERIAL_MAINTAIN UI_BILLOFMATERIAL_MAINTAIN V4 C1 NOT_TO_BE_RELEASED_STABLE

Fields (83)

KeyFieldSource TableSource FieldDescription
KEY BillOfMaterial BillOfMaterial BOM
KEY BillOfMaterialCategory BillOfMaterialCategory BOM category
KEY BillOfMaterialVariant BillOfMaterialVariant AlternativeBOM
KEY BillOfMaterialVersion BillOfMaterialVersion BOM Version
KEY EngineeringChangeDocument EngineeringChangeDocument Change Number
KEY Material Material Vehicle Model
KEY Plant Plant Valuation Area
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SoldToParty SoldToParty Sold-to Party
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
PlantName PlantName Plant Name
EngineeringChangeDocForEdit EngineeringChangeDocForEdit Change Number
BillOfMaterialVariantUsage BillOfMaterialVariantUsage Usage
BillOfMaterialVariantUsageDesc _BillOfMaterialVariantUsage BillOfMaterialVariantUsageDesc
BillOfMaterialHeaderUUID BillOfMaterialHeaderUUID Guid
IsMultipleBOMAlt IsMultipleBOMAlt Alt.det. MBOM
BOMHeaderInternalChangeCount BOMHeaderInternalChangeCount Counter
MaterialName MaterialName Material Description
BOMPrioritizedVersion BOMPrioritizedVersion Selection ID
BOMExplosionApplication BOMExplosionApplication BOM Application
DefaultValidFromDate DefaultValidFromDate
BOMUsagePriority BOMUsagePriority Sel. priority
BillOfMaterialAuthsnGrp BillOfMaterialAuthsnGrp Auth group
BOMVersionStatus BOMVersionStatus BOM Version Status
MaterialToLotSizeQuantity MaterialToLotSizeQuantity To Lot Size
MatFromLotSizeQuantity MatFromLotSizeQuantity From Lot Size
IsVersionBillOfMaterial IsVersionBillOfMaterial Versioning Relevant
IsLatestBOMVersion IsLatestBOMVersion Latest Rel Version
BOMTechnicalType BOMTechnicalType Tech type
BOMGroup BOMGroup BOM group
BOMHeaderText BOMHeaderText BOM Description
BOMAlternativeText BOMAlternativeText Alt Text
MaterialType MaterialType Material Type
BillOfMaterialStatus BillOfMaterialStatus BOM Status
BillOfMaterialStatusText _BillOfMaterialStatusText BillOfMaterialStatusText
ValidityEndDate ValidityEndDate ValidTo
ValidityStartDate ValidityStartDate Validity Start Date
ChgToEngineeringChgDocument ChgToEngineeringChgDocument Change No. To
IsMarkedForDeletion IsMarkedForDeletion Purch.org. data
BOMIsArchivedForDeletion BOMIsArchivedForDeletion Deletion flag
IsConfiguredMaterial IsConfiguredMaterial Configured matl
BOMIsConfigurable BOMIsConfigurable ConfigurableBOM
IsALE IsALE ALE indicator
BOMHeaderBaseUnit BOMHeaderBaseUnit Base UoM
BOMHeaderQuantityInBaseUnit BOMHeaderQuantityInBaseUnit Base quantity
RecordCreationDate RecordCreationDate Created On
LastChangeDate LastChangeDate Time Stamp
LastChangedByUser LastChangedByUser User Name
LongTextLanguage LongTextLanguage Long Text Lang
ProductIsConfigurable ProductIsConfigurable Configurable
CreatedByUser CreatedByUser User Name
BOMIsToBeDeleted BOMIsToBeDeleted Handling Del. Flag
ProductDescription ProductDescription Description
DocumentIsCreatedByCAD DocumentIsCreatedByCAD CAD Indicator
LaboratoryOrDesignOffice LaboratoryOrDesignOffice Lab/Office
LastChangeDateTime LastChangeDateTime Timestamp
BOMAssetNtwkHndovrIsRelevant BOMAssetNtwkHndovrIsRelevant BOM to AIN Handover
MaterialBOMObjectID MaterialBOMObjectID MBOM key
BOMPredecessorVersion BOMPredecessorVersion Predecessor Version
IndicatorIsBOMChangedWithHist IndicatorIsBOMChangedWithHist History ID
IndicatorIsBOMWithDateHistory IndicatorIsBOMWithDateHistory Date hist
AlternativeUnit AlternativeUnit Base UoM
BillOfMaterialHdrDetailsText BillOfMaterialHdrDetailsText
IsAttachmentsEnabled IsAttachmentsEnabled Originals
QuantityInBaseUnitIsHidden QuantityInBaseUnitIsHidden Hidden
char200
virtualChangeNumberIsRequiredboole_d
virtualChangeDocObjectcdobjectv
ChangeDocumentTableKey ChangeDocumentTableKey Table Key
virtualChangeDocumentsIsDisabledboole_d
ProductInternal _ProductInternal Product Product Sold
BOMSelectedKeyDate BOMSelectedKeyDate Valid From
_BillOfMaterialVariantUsage _BillOfMaterialVariantUsage
_BOMChangeNumbers _BOMChangeNumbers
_Material _Material
_Plant _Plant
_Product _Product
_ProductInternal _ProductInternal
_UnitOfMeasure _UnitOfMeasure
_VersionStatus _VersionStatus
LaboratoryOrDesignOfficeName _LabOfficeVH LaboratoryOrDesignOfficeName
_ChangeDocumentsComponent _ChangeDocumentsComponent

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_MatBillOfMaterialTP.
-- 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_MatBillOfMaterialTP AS
SELECT
  BillOfMaterial,
  BillOfMaterialCategory,
  BillOfMaterialVariant,
  BillOfMaterialVersion,
  EngineeringChangeDocument,
  Material,
  Plant,
  SalesOrder,
  SalesOrderItem,
  SoldToParty,
  PurchaseOrderByCustomer,
  PlantName,
  EngineeringChangeDocForEdit,
  BillOfMaterialVariantUsage,
  _BillOfMaterialVariantUsage.BillOfMaterialVariantUsageDesc AS BillOfMaterialVariantUsageDesc,
  BillOfMaterialHeaderUUID,
  IsMultipleBOMAlt,
  BOMHeaderInternalChangeCount,
  MaterialName,
  BOMPrioritizedVersion,
  BOMExplosionApplication,
  DefaultValidFromDate,
  BOMUsagePriority,
  BillOfMaterialAuthsnGrp,
  BOMVersionStatus,
  MaterialToLotSizeQuantity,
  MatFromLotSizeQuantity,
  IsVersionBillOfMaterial,
  IsLatestBOMVersion,
  BOMTechnicalType,
  BOMGroup,
  BOMHeaderText,
  BOMAlternativeText,
  MaterialType,
  BillOfMaterialStatus,
  _BillOfMaterialStatusText.BillOfMaterialStatusText AS BillOfMaterialStatusText,
  ValidityEndDate,
  ValidityStartDate,
  ChgToEngineeringChgDocument,
  IsMarkedForDeletion,
  BOMIsArchivedForDeletion,
  IsConfiguredMaterial,
  BOMIsConfigurable,
  IsALE,
  BOMHeaderBaseUnit,
  BOMHeaderQuantityInBaseUnit,
  RecordCreationDate,
  LastChangeDate,
  LastChangedByUser,
  LongTextLanguage,
  ProductIsConfigurable,
  CreatedByUser,
  BOMIsToBeDeleted,
  ProductDescription,
  DocumentIsCreatedByCAD,
  LaboratoryOrDesignOffice,
  LastChangeDateTime,
  BOMAssetNtwkHndovrIsRelevant,
  MaterialBOMObjectID,
  BOMPredecessorVersion,
  IndicatorIsBOMChangedWithHist,
  IndicatorIsBOMWithDateHistory,
  AlternativeUnit,
  BillOfMaterialHdrDetailsText,
  IsAttachmentsEnabled,
  QuantityInBaseUnitIsHidden,
  virtual HeaderDescription : abap.char( 200 ) AS char200,
  virtual ChangeNumberIsRequired : boole_d AS virtualChangeNumberIsRequiredboole_d,
  virtual ChangeDocObject : cdobjectv AS virtualChangeDocObjectcdobjectv,
  ChangeDocumentTableKey,
  virtual ChangeDocumentsIsDisabled : boole_d AS virtualChangeDocumentsIsDisabledboole_d,
  _ProductInternal.Product AS ProductInternal,
  BOMSelectedKeyDate,
  _LabOfficeVH.LaboratoryOrDesignOfficeName AS LaboratoryOrDesignOfficeName
FROM R_MatBillOfMaterialTP
LEFT OUTER JOIN C_ChangeDocument_2 AS _ChangeDocumentsComponent ON _ChangeDocumentsComponent.ChangeDocObjectClassForEdit = 'STUE' AND _ChangeDocumentsComponent.ChangeDocObjectForEdit = ChangeDocumentTableKey  -- association [1..*]
;