Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

MATERIAL_MAINTAIN_DARK update custom field on MARC

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

StMou
Active Participant
0 Kudos

Hi,

Can you manage your specific field in standard transaction ?

Perhaps maintain this view V_130F.

Appendix

The material master "thinks" in the combinations of material master table and maintenance status. The combinations to be maintained are determined for each maintenance transaction from the data transferred. There are several maintenance status determination types (which can currently be specified for each transaction type in Customizing). For more information, see the documentation on the maintenance status determination type.

Maintenance status determination type for data transfer

Definition

In data transfer, this key defines how the maintenance statuses of a material are determined on the basis of the fields transferred.

...

See documentation of FM

Rgds

2 REPLIES 2

StMou
Active Participant
0 Kudos

Hi,

Can you manage your specific field in standard transaction ?

Perhaps maintain this view V_130F.

Appendix

The material master "thinks" in the combinations of material master table and maintenance status. The combinations to be maintained are determined for each maintenance transaction from the data transferred. There are several maintenance status determination types (which can currently be specified for each transaction type in Customizing). For more information, see the documentation on the maintenance status determination type.

Maintenance status determination type for data transfer

Definition

In data transfer, this key defines how the maintenance statuses of a material are determined on the basis of the fields transferred.

...

See documentation of FM

Rgds

Former Member
0 Kudos

I am able to maintain the field through MM02, will look into V_130f.