Get Material BOM (header + optional components)
s4_material_bom_getRetrieve a material BOM header using composite key fields like bill of material, plant, and material. Optionally include its components.
Instructions
Get a Material BOM header by its composite key (billOfMaterial, billOfMaterialCategory, billOfMaterialVariant, material, plant, billOfMaterialVersion, engineeringChangeDocument). Set includeItems=true to also fetch its components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plant | Yes | Plant, e.g. '1010' | |
| material | Yes | Material the BOM belongs to | |
| includeItems | No | If true, also return the BOM's components | |
| billOfMaterial | Yes | BOM number | |
| billOfMaterialVariant | Yes | Alternative BOM, e.g. '1' | |
| billOfMaterialVersion | No | BOM version, usually blank | |
| billOfMaterialCategory | Yes | BOM category, e.g. 'M' (Material BOM) | |
| engineeringChangeDocument | No | Engineering change number, usually blank |