Application Development and Automation 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: 
Read only

Bom change Function module

Former Member
0 Likes
2,668

Hi,

I am using ' CSAP_MAT_BOM_MAINTAIN ' to change the items of the BOM. If I have 3 items

ITEM_CATEG ITEM_NO COMPONENT FLDELETE

L |0010 |01600004 |

L |0020 |01600012 |

L |0020 |01600012 |X

L |0030 |01600016 |x

In the above 3 items, although I have fldelete = 'X' for item 0020, it doesnt delete that item. But here, the items 0030 gets deleted as it too has fldelete as 'x'.

The reason I see is because there are 2 items with the item_no 0020, and have only one item with item_no 0030. Is there any way I can delete one of those 0020 item number.

Any help is appreciated.

Regds

Venu

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,283

Hi Venu,

Please check this FM.

CAVC_I_DELETE_BOM_ITEM

CUKO_DDB_BOM_POSITION_DELETE

CAVC_I_CHANGE_BOM_ITEM_DATA

CUKO_DDB_BOM_POSITION_UPDATE

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

2 REPLIES 2
Read only

Former Member
0 Likes
1,284

Hi Venu,

Please check this FM.

CAVC_I_DELETE_BOM_ITEM

CUKO_DDB_BOM_POSITION_DELETE

CAVC_I_CHANGE_BOM_ITEM_DATA

CUKO_DDB_BOM_POSITION_UPDATE

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.

Read only

0 Likes
1,283

Hi ferry,

The thing is it should copy items from another bom and also delete the items which are not present in it. So, I am not sure if the FM's u mentioned would work.