I called function ''FI_ITEMS_MASS_CHANGE'' to change voucher text, and wait 1 second,
The problem is I can't make sure all of the items are changed, just most of them are changed!!!!
code is as follow:
CALL FUNCTION 'FI_ITEMS_MASS_CHANGE'
EXPORTING
s_bseg = ls_bseg
IMPORTING
errtab = lt_errtab[]
TABLES
it_buztab = lt_buztab
it_fldtab = lt_fldtab
EXCEPTIONS
bdc_errors = 1
OTHERS = 2.
IF sy-subrc NE 0.
......................
ELSE.
WAIT UP TO 1 SECONDS.
ENDIF.