I've had to create a program to copy (or extend) BOMs to other plants, like CS01 and CS07 transactions.
I did it like in the sample program MAT_BOMGROUP_CREATE_SAMPLE, replacing function ALE_MATERIAL_BOM_GROUP_CREATE with the bapi BAPI_MATERIAL_BOM_GROUP_CREATE.
The problem is that this functions cannot handle object dependencies. (leaves field STPO-KNOBJ empty)
I got this two sap notes, but for now it was useless:
Do you know any FM or bapi that do it?
Edited by: A. Tabernero on May 21, 2009 4:56 PM