As per our requirement, we have to create BOM with multiple alternative BOM numbers. Initially we tried with the IDoc ( Msg : BOMMAT ), but found its unable to create the BOM with multiple alt BOM number. Then we tried with the BAPI - 'BAPI_MATERIAL_BOM_GROUP_CREATE'. But there also we found some error like -
" W BAPI1080 029 Error when checking the data of the object type=BOM / Id=1004777 of group Id=
A BAPI 001 No instance of object type BOMGroup has been created. External reference: ".
Can anyone help me on this and let me know what exactly need to be done to create BOM with multiple alternative BOM nos.