Create Material BOM
s4_material_bom_createCreate a material BOM header with required plant, base unit, and base quantity, then optionally add component materials with item quantities and units.
Instructions
Create a Material BOM header and (optionally) its components. Required: material, plant, bomHeaderBaseUnit, bomHeaderQuantityInBaseUnit. Components are created as separate follow-up requests after the header, each requiring billOfMaterialComponent, billOfMaterialItemQuantity, billOfMaterialItemUnit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plant | Yes | Plant, e.g. '1010' | |
| material | Yes | Material number the BOM belongs to | |
| components | No | Components to add to the BOM after creation | |
| bomHeaderText | No | Short description of the BOM | |
| additionalFields | No | Extra header fields merged into the request body as-is | |
| bomTechnicalType | No | BOM technical type, default 'M' (Material BOM) | M |
| bomHeaderBaseUnit | Yes | Base unit for the header quantity, e.g. 'PC' | |
| billOfMaterialVariant | No | Alternative BOM, default '1' | 1 |
| billOfMaterialVariantUsage | No | BOM usage, e.g. '1' (Production) | 1 |
| bomHeaderQuantityInBaseUnit | Yes | Base quantity the BOM is valid for, e.g. '1' |