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: 

CSAP_MAT_BOM_MAINTAIN

Former Member
0 Kudos

HI ALL,

i am using CSAP_MAT_BOM_MAINTAIN for changing BOM and i am passing commit = 'x' .

i am not getting any error message , but i am unable see changes in tranction .

please help .

2 REPLIES 2

former_member583013
Active Contributor
0 Kudos

Maybe you use COMMIT WORK also -:) Or BAPI_TRANSACTION_COMMIT.

Greetings,

Blag.

former_member188685
Active Contributor
0 Kudos

Hi,

Give fl_commit_and_wait = 'X'

CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
          EXPORTING
            material           = matforupdate
            plant              = pltforupdate
            bom_usage          = usgforupdate
            change_no          = chgforupdate
            <b>fl_commit_and_wait = 'X'</b>  "Synchronous update
            fl_new_item        = 'X'
            i_stko             = i_stko
          TABLES
            t_stpo             = stpotab
            t_dep_data         = deps
            t_dep_order        = ords
          EXCEPTIONS
            error              = 1
            OTHERS             = 2.

regards

Vjay