Code: Alles auswählen.
CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
EXPORTING
material = lv_matnr
plant = lv_werks
bom_usage = lv_usage
valid_from = lv_datuv
change_no = lv_aennr
i_stko = i_stko1
fl_no_change_doc = ''
fl_new_item = 'X'
fl_complete = ' '
fl_commit_and_wait = 'X'
IMPORTING
fl_warning = i_warning
o_stko = i_stko2
TABLES
t_stpo = lt_stpo
t_dep_data = tl_dep_dat
EXCEPTIONS
error = 1
OTHERS = 2.