Skip to Content
0
Former Member
Feb 19, 2009 at 04:31 AM

Help on Database submit when mass document change

18 Views

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.