01-16-2006 3:53 PM
Hi!
Is there a way to change an existing BOMGroup? I found the BAPI "BAPI_MATERIAL_BOM_GROUP_CREATE" which is ok to create BOMGroups. But I couldn't find a BAPI to change them. If this is not possible, is there a way to delete a BOMGroup and create it again with the new values? I can delete a BOMGroup within the SAPGui by deleting all BOMs attached to it. To do this by code, I need a way to get/find all attached BOMs of the BOMGroup and then delete them one by one... Then I can create the BOMGroup again.
Thanks,
Konrad
01-16-2006 4:34 PM
Hi Konrad,
There are no BAPI's available but you can acheive using other function modules:
To do changes using change number
CS_CL_P_BOM_MASS_CHANGE
CS_CL_S_BOM_CHANGE
CS_CL_S_BOM_CHANGE_COMPLETE
To delete BOM
C162_BOM_DELETE
To create/change the BOM using the Category
CS_OV_BOM_EDIT
Thanks
Lakshman
01-17-2006 10:28 AM
Hi!
Are these functions to change a BOM or the complete BOMGroup? For example I want to move positions from one alternative to another alternative (inside one BOMGroup)... Is this possible?
Thanks,
Konrad