Skip to Content
0
Former Member
Jan 18, 2012 at 11:39 AM

Function in DataWarehouse and ROLLBACK WORK

47 Views

Hi experts,

i don't have experience with commit and rollback in ABAP.

I would like to "return" all rows which were inserted by using FM below.

for my testing i put command ROLLBACK WORK at the end, but the rows were inserted into the table. ROLLBACK "doesn't work".

What should i change ?

CALL FUNCTION 'RSNDI_MD_ATTRIBUTES_UPDATE'

EXPORTING

i_iobjnm = lc_iobjnm

  • I_UPDATE_ALL_ATTRIBUTES =

i_clear_unmapped_attributes = rs_c_false

i_chavl_enqueue = rs_c_true

i_db_commit = rs_c_true

i_commit_work = rs_c_true

i_no_appl_logging = rs_c_false

IMPORTING

e_subrc = l_subrc

TABLES

  • I_T_ATTRIBUTES =

i_t_data = lt_masterdata

e_t_messages = lt_messages.

ROLLBACK WORK.

Thanks in advance

Martin