Filter on MATMAS

Hi
I want to set the filter in Distribution model for MATMAS with extenstion ZXXXXX. Filtering is by Plant and Storage Location. But it doesn't work. When I want to generate Idoc it gives me a message: "Segment ZXXXXXX does not exist for message type MATMAS". In error description/procedure I can see: "Either there is an error in the program that created the IDoc, or some of the settings in the ALE distribution model or the ALE segment filter are incorrect.
Procedure
Make sure that no filter objects have been specified in the ALE distribution model for this message flow and that there are no entries in the ALE segment filter for it either."
Can anyone knows how to filter MATMAS with extensions?
br
mariusz

hi Mariusz,
do this:
inside your code where you populate the new segments
fill out control record like this:
idoc_control-cimtyp = "name of your extension"
and try once more
let me know if this worked ok ?
thanks,
Regards,
Michal Krawczyk

Similar Messages

  • BD64 - Distribudion model -- Data Filter

    Hi,
    I have created Data Filter for MATMAS, but its not working.
    I have created an filter group for Material Part=PART..But stil all Material parts are send in an IDOC..
    Where do I have to look?
    tnx,
    Adibo.

    Hi,
    Did you redistribute the model after changing the condition from CON1 to CON2? If not then try redistributing the model and regenerating the partner profiles. After this, try creating IDoc for CON1. This time it should fail/not create any IDOCs for CON1.
    - Saba

  • IDOC filtering based on field

    Hi all,
    How to filter IDoc on the basis of field (Like if Bank id : SCB ) and then send  to a file( save in local file)?

    Hello,
    Please refer to the below link it will help you.
    Creating Idoc filter for MATMAS
    BR,
    Shweta

  • ALE filters with transactions BD64 and BD21

    I've created a filter for MATMAS IDOCs in my Distribution Model with BD64.
    I expected it to create an IDOC when a material in a specific plant is changed (change pointers are active).
    However, when I run transaction BD21 (RBDMIDOC) it still send ALL materials that have changed.
    Any idea what I'm doing wrong.

    After reading your message, I ran BD11.
    Is that the transaction I should run to distribute the IDOCs.
    I'm new to working with these transactions and I haven't done this before.
    The system generated some MATFET idocs. But they have a failure status.
    What I really wanted to do was prevent the generation of the MATMAS idoc in the first place.
    Do I have to write a user exit for that?

  • User exit called many times

    Hello Friends,
    I am writing a particular code in a user exit of the FM  IDOC_INPUT_MATMAS01 , the problem is that the user exit is called some 4 times in the program and my logic gets repeated 4 times . Is there any way to over come this ?
    Comradely ,
    K.Sibi

    Hi Sibi,
    You can put a check based on sales/purchasing organization (VKORG) for which  IDOCs are processed.
    Or, you can put a validation check  on
    1) partner type & partner number,
    2) message type,
    3) idoc basic type & extension,
    before executing your user exit code.
    Also Check the link below:
    Creating Idoc filter for MATMAS
    Regards,
    Nisha Vengal.

  • How to create a data filter for BAPI used in a Distribution Model ?

    I am trying to create IDOC's for a QM inspection plan via message type QPMK in ECC 6.0. When creating the new message type in the Distribution Model, it forced me to use a BAPI (MasterInspectionChar) rather that just the message as I have done in the past. In order to ensure that only IDOC's related to a specific plant and material type get sent out, I was trying to create a filter.
    I am able to get into a 'Change Filter' dialog by double clicking 'No data filter set' under the node 'MasterInspectionChar.SaveReplica'. However, an attempt to highlight anything on this dialog and clicking button 'Create filter group' results in msg. 'Select node: Content-dependent parameter filtering'.
    Online help led me in a different direction, one thread led me to believe I needed to create a table entry for the filter in table TBD16 via BD81 for later attachment to the BAPI in the Distribution Model. Before this, I created two Z* ALE Object Type records for plant and material type in table TBD11 via BD95 for what I thought would provide a lookup back in BD81 for creation of a new filter record, but these objects are not found. Per the help, I am also unclear as to whether I would need to set up Receiver determination or Parameter filtering, nor where to make this step in the configuration happen?
    Can anyone point me back in the correct direction to get a data filter set up for this BAPI within the Distribution Model ?
    Thanks - Mike

    Just to clarify, what I am having trouble with is finding where exactly to plug in the name of the plant to be filtered? If using a message type such as MATMAS in a distribution model, it is very straight forward to navigate down from the 'Data filter active', and assign a value to whatever field you wish to filter via the 'List of Values'.  But in this example, message type QPMK required use of the BAPI MasterInspectionChar, and therefore the different method in creating the filter. 
    I cannot find similar functionality when navigating the BAPI related row, for MasterInspectionChar. The 'Change Filter' dialog popup displays a row for 'Container' and then 3 more rows containing 'BAPI structure...'.   Clicking the 'Attribute' checkbox on any of these rows sets 'Data filter active' as a node under the BAPI.  Double clicking the 'Data filter active' brings me back into the same dialog, and selecting any row with an attempt at this point to create a filter results in the 'Select node: content-dependent parameter filtering' warning.  Is this warning occuring because of missing configuration?
    Thanks - Mike

  • Is it possible to create all views in MM01 through ALE(MATMAS) ?

    Hi,
    I want to create all views(One or two may not require) in Inbound MATMAS through ALE. Is it possible ?
    Currently its creating only Basic data1 & 2,General Plant Data/Storage1 &2 ,plant stock.
    I didn't set any filter for any segments.
    Please don't post ALE or EDI document. I already have enough documents.
    Thanks,
    Narayan

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

  • Is it possible to create all views in Material master through ALE(MATMAS) ?

    Hi,
    I want to create all views(One or two may not require) in Inbound MATMAS through ALE. Is it possible ?
    Currently its creating only Basic data1 & 2,General Plant Data/Storage1 &2 ,plant stock.
    I didn't set any filter for any segments.
    Please don't post ALE or EDI document. I already have enough documents.
    Thanks,
    Narayan

    I solved by myself. Set PSTAT to whatever view you want.
    Thanks,
    Narayan

  • IDOC filter at Field / Segment Level

    Hi
    Can you please tell me how to set an IDOC filter at field and segment level in short?
    Thanks

    Hi,
    There are two filtering in IDoc.
    Segment Filtering:
    Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.
    Data Filtering:
    Data filtering can be done in dustribution model (BD64) where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.
    Please check this link for detail information.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • IDoc filter not working

    Hi,
    I've created a filter on my reduced message type from MATMAS in BD64. I'm filtering based on Plant (WERKS). But it isn't working... It sends out all plants using my message type. Is there some step that I've missed out???
    -Vartika

    Hi,
    There are two filtering in IDoc.
    Segment Filtering:
    Segment filtering can be achieved using T/Code BD56. Here you can suppress a whole segment irrespective of data inside it . You have to give Message Type / Sender Prrtner / Receiver Partner.
    Data Filtering:
    Data filtering can be done in dustribution model (BD64) where you can restrict whole IDOCS or partials IDOCS to be send based on data in fields inside IDOC depending on whether the segment in which you filter is at the highest level or at a lower level. For example in MATMAS if you put a filter of E1MARCM for a particular plant , only data for this plant will go and other plants will be ignored.
    Please check this link for detail information.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Hope this will help.
    Regards,
    Ferry Lianto

  • Filter conditions for Standard Idoc processing

    Hi Experts,
           In BD64 - Distribution model  , I have created filters for MATMAS based on Division, Sales Organization, Distribution channel and Material Type.
      when I process the IDoc through BD10 - Send material it is not getting filtered based on the conditions set in BD64.
    eg)  I have created a material in a particular sales organization for which the data should not be processed through Idoc based on the filter condition set for sales org in BD64.
       But now that the condition is not been checked and the Idoc is processed when i send it through BD10.
    whether BD10 will not check for the filter conditions?

    hi asik,
    partner in the generated idoc and in BD64 as a Receiver are the same.
    I am using single filter group in BD64 ( Matmas ) for Division , Sales Org, Distribution channel and material type.
    The filter group comprises the following filters:
    Division                             - 01
    Division                             - 02
    Sale org                            - ABCD
    Sale org                            - EFGH
    Distribution channel          - AA
    Distribution channel          - BB
    Mtrl Type                          - SPAR
    Mtrl Type                          - FNGD
    These result in the filter conditions should be like
    (Division 01 OR division 02)
    and
    (sale org ABCD or EFGH)
    and
    (Dst Channel AA or BB)
    and
    (mtrl type    SPAR or FNGD )
    Scenario for idoc processing
                                             Division          01
                                             sale org         xxxx
                                             dst channel   AA
                                             mtrl type        FNGD
    the Idoc should not be processed for the above scenario
    but its triggering an Idoc when I test it through BD10.

  • Ale Custom filter group

    Hi All,
    I need to transfer cost centers via ALE. The issue is that the filter which I have to implement in the distribution model is based on company code (unlike controlling area which is the standard filter group for message type cosmas).
    I searched a number of sites, but couldnt find much information on how to create custom filter groups in ale.
    any suggestions?

    Hii Mridula..
      In Your Scenario you have to Create a Filter Object type.
    Find the Detailed Steps below.. You can implement The Same Example for Company code field...
    <b>These are the Steps to Implement Data Filtering in ALE.</b>
    <b>Filter Objects: These are the Fields based on which you define The Conditon.</b>
    For eg: Matnr, Mtart...
    1. Create a Filter Object (If it is not available for ur Requirement)
       Tcode: BD59
       New Entries:
       ALE Filter Object type : MBRSH (Industry Sector)
       Segment type :  E1MARAM
       Segment field : MBRSH
       Save.
    2. Link the ALE Filter Object type to the Table field in DDIC
        Tcode: BD95
        New Enries:
        ALE Filter Object type : MBRSH (Industry Sector)
        Table Name : MARA
        Table field : MBRSH
        Save
    3. Creating Data filtering using this Filter Object type
        Tcode: BD64.
        Expand ur Model view.
        Under the Message Type MATMAS
        Double click on No Data filter / Data filter Active.
        Create a Filter Group.
        It will list out all the Filter Objects of the Message type:
        (you should find the New filter Object type)
       Double Click on the Filter Object type MBRSH .
       Assign the Filter values
       Save.
    <b>REWARD POINTS IF HELPFUL</b>

  • How to add filter in the dist. model

    hi,
    how to add filter in the dist. model
    thanks
    Ruban

    Hi,
    Please try this.
    1. Go to transaction BD64.
    2. Click on Change button.
    3. Expand the corresponding model view.
    4. Expand the corresponding message type (i.e MATMAS).
    5. Place the cursor to 'No filter set' and double click.
    6. Click on Create Filter Group.
    7. Add your filter from here ...
    8. Once done, save the model view.
    For more information, please check this link.
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    Regards,
    Ferry Lianto

  • Adding a Filter in a distribution model

    Hi Experts,
    I need to add few fields in my IDOC segments as a filter in distribution model.
    and i need to set certain values to these fields.
    Can anyone plesae tell me step by step procedure how to add the filter in distribution model?
    Regards,
    Ashish

    Hii..Ashish..
    These are the Steps to Implement Data Filtering in ALE.
    Filter Objects: These are the Fields based on which you define The Conditon.
    For eg: Matnr, Mtart...
    1. Create a Filter Object (If it is not available for ur Requirement)
       Tcode: BD59
       New Entries:
       ALE Filter Object type : MBRSH (Industry Sector)
       Segment type :  E1MARAM
       Segment field : MBRSH
       Save.
    2. Link the ALE Filter Object type to the Table field in DDIC
        Tcode: BD95
        New Enries:
        ALE Filter Object type : MBRSH (Industry Sector)
        Table Name : MARA
        Table field : MBRSH
        Save
    3. Creating Data filtering using this Filter Object type
        Tcode: BD64.
        Expand ur Model view.
        Under the Message Type MATMAS
        Double click on No Data filter / Data filter Active.
        Create a Filter Group.
        It will list out all the Filter Objects of the Message type:
        (you should find the New filter Object type)
       Double Click on the Filter Object type MBRSH .
       Assign the Filter values
       Save.
    <b>Reward if Helpful</b>

  • In the filter scheme driver, how to i get the filename in open() or handleOpen ()

    I want to implement filter scheme driver to monitor and prevent file open or read calls based on certain rules. For this I would need file name, user name and application process name. I did not find a way to extract this information. Any hint would be of great help.

    If the reset doe not work, connect tot he comouter and try to restore via iTunes.
    If the logo is still showing, let the battery fully drain. After charging for an hour, try the reset and restore again.

Maybe you are looking for

  • Disk Utility can't repair disk...Can I still create a new image to back up?

    Two days ago my computer died and I haven't been able to get past the Apple screen since. I've tried starting in Safe mode, etc. that did not work. I just started up using my installation disk and got into Disk Utility. It says it cannot repair the d

  • Settlement profile not found for purchasing organisation 50000663 and BP

    Hi Experts! I hope you are fine. I need help with error in my TM. When I'm try generate Settlement Document, the system show me this message: I've already configured CHARGES PROFILE with this Purch. Org: My freight order type, is set for my FDS TYPE

  • Packaging Xtra for Shockwave download

    A few questions regarding packaging an xtra for Shockwave: I have created a Windows scripting Xtra that is Shockwave-safe - works fine if manually placed into the local cache for downloaded xtras (...\Documents and Settings\...\Application Data\...\S

  • Why do I get an error message when buying my iPhoto book?

    It happens just after the (lengthy) transfer has completed. I have tried some of the tips on this site, eg changing account details, plugging computer directly into modem instead of wireless, turning off the screen saver. But it still happens. What d

  • Weird error with Vista...anyone help with preset error?

    Ok, i installed the trial version on Vista...it supposedly installed ok as admin, and it opens fine. If I start a new project and go to file>transcode>set presets(or whatever that one says to set the presets I click it and get this error [\dev\stingr