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: 

error while creating BOM with FM CSAP_MAT_BOM_MAINTAIN

Former Member
0 Kudos
920

Hi All,

While creating the bom with the FM "CSAP_MAT_BOM_MAINTAIN" using change number i am getting the below error message.

" Processing of this object is not supported with change number."

Please help me out.

Regards

Suresh

5 REPLIES 5

Ryan-Crosby
Active Contributor
0 Kudos
191

Hi Suresh,

Right in the FM documentation it says this: "If you only want to create BOMs, use function module CSAP_MAT_BOM_CREATE."

Sounds like you want to use that if you are creating BOMs...

Regards,

Ryan Crosby

0 Kudos
191

Hi Ryan,

I have created around 20 BOM's with same FM 'CSAP_MAT_BOM_MAINTAIN'.

Regards

Suresh

0 Kudos
191

call function 'CSAP_MAT_BOM_MAINTAIN'
  exporting
    material                 = material
    plant                    = plant
    bom_usage                = usage
    alternative              = alternat
    valid_from               = y_date
*   CHANGE_NO                =                   "<----Have u used this field for creating ? 
*   REVISION_LEVEL           =
    i_stko                   = l_stko
*   FL_NO_CHANGE_DOC         = ' '
    fl_commit_and_wait       = 'X'
    fl_bom_create            = 'X'
    fl_new_item              = ' '
    fl_complete              = ' '
* IMPORTING
*   FL_WARNING               =
*   O_STKO                   =

CSAP_MAT_BOM_CREATE would be an ideal one for creation and CSAP_MAT_BOM_MAINTAIN for change

Regards,

Mithun Shetty.

0 Kudos
191

Hi Mithun,

Yes i used CHANGE_NO in the FM "CSAP_MAT_BOM_MAINTAIN".

Regards

Suresh

0 Kudos
191

Hi All,

I tried with FM CSAP_MAT_BOM_CREATE to create the BOM. It is also giving the same error message as below.

"Processing of this object is not supported with change number"

Regards

Suresh