Hello,
I americium presently utilizing the BAPI 'CSAP_MAT_BOM_MAINTAIN' to update a BOM. However, erstwhile adding values to the BOM, the worth successful t_stpo-mat_provis does not look to beryllium reflected successful the BOM.
The logic I americium utilizing is arsenic follows:
CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
EXPORTING
material = material
plant = plant
bom_usage = bom_usage
* ALTERNATIVE =
* VALID_FROM =
change_no = change_no
* REVISION_LEVEL =
i_stko = i_stko
* FL_NO_CHANGE_DOC = ' '
fl_commit_and_wait = 'X'
* FL_CAD = ' '
fl_bom_create = 'X'
fl_new_item = 'X'
* FL_COMPLETE = ' '
* FL_DEFAULT_VALUES = 'X'
* FL_IDENTIFY_BY_GUID = ' '
* FL_RECURSIVE = ' '
IMPORTING
fl_warning = fl_warning
o_stko = o_stko
TABLES
t_stpo = t_stpo
* T_DEP_DATA =
* T_DEP_DESCR =
* T_DEP_ORDER =
* T_DEP_SOURCE =
* T_DEP_DOC =
* T_DOC_LINK =
* T_DMU_TMX =
* T_LTX_LINE =
t_stpu = t_stpu
* T_FSH_BOMD =
* T_SGT_BOMC =
EXCEPTIONS
error = 1
OTHERS = 2.
Is determination thing I mightiness beryllium missing oregon immoderate further parameters that I should include?
I would greatly admit your assistance.
Thank you precise overmuch for your help.
Best regards,