Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to change an existing BOMGroup with ABAP

Former Member
0 Kudos

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

2 REPLIES 2

Lakshmant1
Active Contributor
0 Kudos

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

0 Kudos

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