Skip to Content
author's profile photo Former Member
Former Member

Condition for Inbound MATMAS Idoc

Hi,

Today we are receiving Idocs with Material Master data. IF the Material does not exist in SAP, it is created, otherwise, it is updated.

Is there any way of only create the Material and if it does exist, do nothing? Do I have to copy FM IDOC_INPUT_MATMAS01 and do this myself or there is a way of achieving this by Customizing?

Any help would be appreciated.

Thanks & Regards,

Ernesto.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 15, 2011 at 02:36 PM

    Hello Ernesto,

    How are you receiving the data to create the IDocs?

    Pardon me for pointing out the obvious solution, but if you are receiving the data in a flat file, then pre-process the flat file first. With each record in the flat file, check if the material number already exists in MARA. If the material already exists, then delete it from the flat file. Use the filtered file to create your IDocs.

    Kind Regards,

    Rae Ellen Woytowiez

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.