Skip to Content
0
Former Member
Mar 15, 2010 at 01:33 PM

MATERIAL_MAINTAIN_DARK update custom field on MARC

391 Views

Colleagues,

I have added a z-fiield to table MARC and am trying to update it with material_maintain_dark, with no success. I thought I had missed something so I updated field MINBE and was successful. Any ideas much appreciated.

LOOP AT marc_ueb ASSIGNING <fs_marc_ueb>.

<fs_marc_ueb>-zz_acq_value = p_acq_value.

<fs_marc_ueb>-minbe = '1.00'.

ENDLOOP.

CALL FUNCTION 'MATERIAL_MAINTAIN_DARK'

EXPORTING

p_kz_no_warn = 'N'

kz_prf = space

user = sy-uname

TABLES

amara_ueb = mara_ueb

amarc_ueb = marc_ueb

EXCEPTIONS

kstatus_empty = 1

tkstatus_empty = 2

t130m_error = 3

internal_error = 4

too_many_errors = 5

update_error = 6

error_propagate_header = 7

OTHERS = 8.

IF sy-subrc = 0.