在函数CSAP_MAT_BOM_MAINTAIN修改BOM时,将字段内容改为空时,不会生效的时候,需要在调用前,调用函数CALO_INIT_API,传入参数data_reset_sign 为空,即可。

CALL FUNCTION 'CALO_INIT_API'
            EXPORTING
              data_reset_sign          = ' '
            EXCEPTIONS
              log_object_not_found     = 1
              log_sub_object_not_found = 2
              other_error              = 3
              OTHERS                   = 4.