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: 

MM46 update MARA custom fields with empty value

david_fnez
Explorer
0 Kudos

Hi;

I've added 2 custom fields to MARA table and they are displayed in MM41/MM42/MM43, there is no problem to modify those custom fields in MM41/MM42.

Also, I've activated enhacements for tx MM46 to update MARA custom fields, actually in MM46 for cutom fields I can change custom fields values if you pass a value, but if you pass an empty value to change a mara custom field value, it ignores the change, so, I can't pass empty values to custom fields.

I use this function module MASS_SAVEDATA_RETAIL and badi_article_mass_rt.

Any help.

Thanks on advance.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

If I recall (no longer accesss to a true retail system) there should be a ALL_FIELDS in HEADDATA to indicate that every field must be copied, else only non-initial fields will be copied. (Else there was an exit/BAdI where you could add some code EXIT_SAPL1001_003 and/or method MASS_SAVEDATA_RETAIL of BADI_ARTICLE_MASS_RT?)

0 Kudos

Raymond,

Thanks for your help, I've marked with an "X" the Headdata-allfields but It doesn't change the custom field value to an empty value.