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

Filter IDOC MATMAS04 by plant

Hi all,

I have configured an idoc in order to send information of materials to an external warehouse. But this warehouse is only from a specific plant, for only one company. When other companies create their materials, my idoc matmas04 is activated anyway, but this material (idoc) must not be send to this external warehouse. Is there a way to filter the activation of change pointers, in order to activate it only for materials of a specific plant?

Is it possible to create a Z FM copying the standard MASTERIDOC_CREATE_SMD_MATMAS, and create a filter here?

Thanks in advance. Reward points to helpful answers.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Nov 14, 2007 at 09:06 PM

    Hi,

    I don't think you need to setup BD59.

    You only to need to create data filtering (BD64).

    For example in message type MATMAS if you only enter the plant code(s) that you want to go in the filter of E1MARCM. Don't enter the plant code(s) that you don't want to go. Give it try ...

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 14, 2007 at 03:23 PM

    Hi Julio,

    No need to copy FM. Just go to BD64 and there create a filter based on the plant in the distribution model itself.

    Regards,

    Atish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 14, 2007 at 10:59 PM

    Hi,

    You may want to use/explore user exits in FM MASTERIDOC_CREATE_SMD_MATMAS to filter specific plant(s).

    Regards,

    Ferry Lianto

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Julio

      I have the same problem - I want to suppress the creation of IDocs depending on plant (WERKS)

      1) A filter in BD64 on plant only suppresses the E1MARCM-segments with different plants, but the IDoc is still created

      2) EXIT_SAPLMV01_002 is in my opinion for manipulation of segments e.g. adding Z-segments

      Please let me know if you found a solution, I will also do.

      Regards

      Markus

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.