Skip to Content
avatar image
Former Member

MM46 update MARA custom fields with empty value

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 23, 2017 at 02:27 PM

    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?)

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.