Skip to Content
avatar image
Former Member

MATMAS Inbound IDOC change overwriting numeric fields on material master to 0.00

Hi All,

We have an inbound MATMAS IDOC configured. During updates on existing materials, only some fields are populated in the IDOC. This is causing a problem for the numeric fields like the weight fields MARA-BRGEW/NTGEW and the volume/height/width fields if they are not sent in the IDOC. They are passed as '0.00' in the 'MATERIAL_MAINTAIN_DARK' FM and end up overwriting the existing values with '0.00'. For character fields, we are overcoming this by passing '/' if the field is empty, but not sure what to do for numeric fields. Kindly provide your valuable inputs.

Regards

Shankarnarayan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 31, 2016 at 03:54 PM

    Define "not sent in the IDoc"? If the segments with these fields are included in the IDoc then they are sent.

    All the fields in the segment structures are actually defined as CHAR types, so have you tried putting "/" in those fields? Are you getting an error?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 07, 2016 at 07:00 PM

    Thanks. All the fields in the IDOC are character fields and defaulting '/' solved the issue.

    Add comment
    10|10000 characters needed characters exceeded