cancel
Showing results for 
Search instead for 
Did you mean: 

CS02 / BAPI, Function ?

Former Member
0 Kudos

Hi all,

What is the easiest way to update ( in mass process) the quantity of a particular component in a material bom .

I have a file containing the main informations ( Bom N°, Component N°, new qty, ...).

Thank you very much.

Regards,

Erwan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You can use function module CSAP_MAT_BOM_MAINTAIN to edit BOM.

regards,

Yoeri

Former Member
0 Kudos

Hi Yoeri,

This FM seems to correspond with what I want to do.

I've only a question :

When I want to change an item qty, the FM creates a new item with the new qty and not replace the existant one.

( I fill the item N°, the component N°, the new qty )

Is it possible to change an item without create a new one ?

Former Member
0 Kudos

Hi,

To change the items you have a fm called CSAP_BOM_ITEM_MAINTAIN.

Use that one for Item changes.

Best regards,

Yoeri

Former Member
0 Kudos

Hi,

I've take a look at the FM documentation (CSAP_BOM_ITEM_MAINTAIN).

In fact, I've to use first : CSAP_MAT_BOM_OPEN,

CSAP_BOM_ITEM_MAINTAIN, and then

CSAP_MAT_BOM_CLOSE.

I've done a quick test, copying the ABAP example in the FM doc.

It seems to work fine !!

Thank you very much.

We can say that you solve my probleme, I give you the max number of points.

Wish you good year end !

Regards,

Erwan.

Answers (0)