"Negative filtering" in BD64

Hi,
In the distribution model (BD64) you indicate what data should be sent to the other system. If the value applies to the IDOC then the IDOC is sent.
Now I don't want to send an IDOC when a value applies.
e.g MATMAS
We have 75 plants (E1MARCM-WERKS)
We don't want to send the MARC segment for only 1 plant, the other 74 plants we want to send.
Normally you have to enter 74 plants in the model.
Is there a possibility to enter only 1 plant (and maybe some programming) and have the sames result?
Any ideas?
Thanks
Ron

hi Ron,
exactly the same kind of doubt i had in my mind. but i was said that so called negative filtering was not possible.
so, in this case, i think, instead of going to a distribution model, why dont we simply program it in such a way that we delete the data record having segment E1MARCM corresponding to the plant(to which u dont want to send this segment).
may be we have to hardcode that plant. and we have to find an exit to do all this.
what do you think?
pawan.

Similar Messages

  • CLFMAS and Filtering in BD64

    Hi,
    I have a material with classes A and B
    In Distribution model I indicate that only class A should be sent to other system.
    I'm sending CLFMAS01 with BD10.
    Result:
    IDOC with segment E1KSKKM for class A
    But the E1AUSPM segments contain also the data of Class B.
    I want to filter these data also.
    How can this be done?
    Ron

    hi Ron,
    exactly the same kind of doubt i had in my mind. but i was said that so called negative filtering was not possible.
    so, in this case, i think, instead of going to a distribution model, why dont we simply program it in such a way that we delete the data record having segment E1MARCM corresponding to the plant(to which u dont want to send this segment).
    may be we have to hardcode that plant. and we have to find an exit to do all this.
    what do you think?
    pawan.

  • Negative filters

    Hello,
    I am trying to get my mail sounds to work the way I want, and am stuck on one thing. I have set up a number of filters for mailing lists, work-related groups, etc. I can set a personal sound (or silence) for each one, but I'd like to have the default mail sound for all incoming messages that make it into the Inbox, after all the filtering. In a way, I need to have a filter that says "if you make it through all the other filters, do this". Is there a way to do that?
    thanks,
    Brian Blais

    You're not. See <http://discussions.apple.com/thread.jspa?messageID=1658162&#1658162>.
    But no one has offered any help there either, I'm afraid. What happens when either you or the client prints the pages in question? (I'm curious because I can get graphics to appear properly, but they either don't print or the image prints with a gray screen over it. I think I may be having a different problem than you....)
    iBook G4 w/ SuperDrive (Winter 2005)   Mac OS X (10.4.4)   I'm not a programmer--just a dedicated Mac user.

  • BD64 filters problem

    Hi Experts,
    I have created ZRPWMS message type and added MATMAS05 as basic type and MATMASNA1 as extension.
    While iam creating filters in BD64 for MSTAV field, iam getting error "Inconsistency in filter".
    I did configuration in BD59. But MTART is working fine.
    What might be the reason? Where iam doing wrong?
    Thanks
    Edited by: Kaki R on Sep 11, 2008 2:38 AM

    hi i think that message type for inbound purpose thats why thats message coming

  • Restrict INVOIC Idoc to certain company code

    Hi,
    I am generating INVOIC Idocs in SAP system and distributing using ALE ...I have successfully configured the ALE settings and could trigger the IDOCs for all the Invoices in the system.
    Now my requirement is to restrict the generation of IDOC's only to a certain company code ..how can I achieve it ?
    I have used filters on BD64 but it is only restricting some segments to be created in the IDOC...my requirement is to not at all create the IDOC if it belongs to different company code as the Invoicing for such companies will be manual.
    I am using output type created through NACE to trigger the IDOC..can we restrict the output type on a compnay code..I maintained condition records at NACE but still all the company codes are getting triggered.
    Please let me know if you have encountered such issue earlier.
    Regards
    Kumar

    If nothing works (BD64, NACE) then there are exits available.
    for example in function module mentioned below there is a user exit "EXIT_SAPLVEDF_004". If you want to restrict IDOC "only to a certain company code" raise exception "data_not_relevant_for_sending" in the exit
    Function module      IDOC_OUTPUT_INVOIC
    Function module      EXIT_SAPLVEDF_004
           EXCEPTIONS
                  error_message_received        = 1
                  data_not_relevant_for_sending = 2.

  • How to handle the error " Table passed to EDI_STATUS_ADD_BLOCK is empty"

    Hi All,
    We are generating idoc for any material changes using change pointers.  Our requirement is the idoc should not generate for few plants.
    I have programed in the exit EXIT_SAPLBD11_001, in sucha a way that i am refreshing the table idoc_data for those few plants.
    But while generating idoc, am getting an error saying -   * " Table passed to EDI_STATUS_ADD_BLOCK is empty" . *
    Filtering at model view will not work( because I have 130 plants to be included and only 20 plants to be excluded ) .
    Is there negative filtering that can be done ? or any other way to overcome this error ?
    Please give your suggestions.
    Thank you,
    Kusuma

    Hi,
    You can achieve this by using the concept called BTE, BTE will help you to filter them. We have used that quiet successfully in my earlier project.
    BTE means Business Transaction Event.
    Thanks,
    Mahesh.

  • Manager of the org.unit in HRMD_A

    Hi All
    I would like to send manager of the org.unit by using HRMD_A.
    As I have setup HRMD_A with filter on Infotypes 0000, 0001, 0002, 0006, 1000 & 1001.
    I thought the manager relationship will be send in IT 1001. But I don't see that information include in HRMD_A.
    Any information or experience on this matter will be highly appreciated. Any other suggestions to how this problems can be solved are also welcome.
    Thanks in advance.
    Best regards,
    Anpan

    Yes as part of transaction BD64 you can create a filter for this. In fact I think you can limit it even further so that it filters just the managers.  You can  do this by not only selecting the infotype and object, but you can also limit is by 'related object' and subtype.  So you can put the B12 as the subtype ( I think this is the chief subtype).   
    You could also  use the evaluation path, but if your evaluation path generates too much data then you can limited using the filters in BD64.  
    As for using the change pointers programs versus PFAL I am not sure, I am currently having the same delima on which one to use.
    Everett

  • Urgent: Testing Idoc

    hi Gurus,
    i have a program which generates a customized idoc (in system S1) and sends to a system, say S2
    the idoc is getting successfully posted (with status 03) in the system S1.
    but, i am not getting the idoc in the system S2. is there any way to track where the idoc has gone. how can i know if there are any mistakes in the configurations?
    please help me out of this situation.
    *points are sure for useful answers *
    Rambo

    in sender system
    for ale , we need to make rfc destination from transaction - sale.
    then in port give this rfc destination
    in edi give file directory
    then in partner profile(we20) give message types and port number
    now for filters goto bd64 and maintain filters.
    same for reciever.
    please reward points

  • Adding some code before sending the IDOCs

    Hi all,
    I have one query. When I am doing some transaction system is generating the IDOC with status 03. Now My requirement is to send this IDOCs to the destination system after checking some conditions. So I want to insert to some code in the ALE configuration, so that it can filter the IDOCs based on my bussiness requirement. This is not simply checking one field, i have to write some logic after that only system should send the IDOC, Can you please tell me how to include the code?
    Thanks & Regards,
    Raghu

    Hi,
    There are two ways you can do it:
    1. Using Filters(Tcode BD64) & Convertion rules(Tcode BD55, BD62 & BD79).
    <b>Filter:</b>
    http://help.sap.com//saphelp_470/helpdata/EN/0b/2a611c507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
    <b>Conversion Rule:</b>
    /people/kevin.wilson2/blog/2005/12/07/changing-fields-in-an-idoc-segment
    2. Check for the user-exit or BADI to add your business requirement.
    To get the exact solution please add the business scenario.
    <b>Note:</b> Reward each useful reply.
    Raja T
    Message was edited by:
            Raja T

  • Decentralized WMS System

    Can multiple SAP systems be integrated with one decentralized WMS system (which is SAP)?
    Thanks,
    Prayarna

    yes, you can filter those data from decentralized warehouse by logical system. it will allowed you to send those idoc to relevant system.
    i have done 1 wms to 2 erp by filtering thought bd64 using logical system as the filter
    thanks
    hooi fung

  • Event filter in secmon

    I have a question for the group.
    With SecMon 2.0.2, you can apply an event filter by using the filter editor for a specific signature id to be included in the console view. Is there a way to have the event console exclude multiply signatures of choice but display all the rest when opening the event console with <last saved> event filter. In other words, what I would like is to be able to “open the console” but exclude the sig_id for example nachi (2156)

    Hmmm... I don't think event viewer supports negative filtering.

  • Filter and reduce

    hi exerts,
    what is deference between filtering idocs and reducing idocs, what are the transaction cods for these.
    thanks in advance
    radhakrishna

    Hi..
    Filtering IDOCs is done in 2 ways:
    1. Data filtering Tcode BD64: based on the Condition of Segment fields you can restrict the data in idoc .
    2 Segment filtering in BD56 transaction : Segment filtering is used to Remove the Unwanted segments while sending idocs to certian partner systems.
    <b>Reduced Idoc type</b> Tcode BD53: Here you can create a new Message type based on the Standard message type to distribute only Few Segments and required feilds of the Segments. So you have to use this new message type in partner profiles.
    <b>Reward if Helpful</b>

  • BD10 returning all data in segments (MARC, MVKE)inspite of filtered data of BD64

    In BD64, Under MATMAS Data filtration is set on Sales Org and Distribution Channel. When I am sending material from BD10 , I need to get these values ( Sale Org / Distribu Channel ). B'cos on the basis of these values I need to fetch PLANT from MVKE table by passing SOrg and Dchl .
    I got Sale org and Dis Chl but now the issue I am getting  all info from MARA, MVKE and MARC for the material rather I need filtered value only..
    I have attached one image where it shows filtered Sale org and Dist Chl, but when i executing BD10 , it is returning data of respective material of all plant , sale org and distribution channel..
    Ref Post : BD64 Filtering Value (Sale org/ Distri Channel) need to get in EXIT_SAPLMV01_002
    Please suggest.
    Regards
    Ankesh

    Hi,
    if suppose if youb want to replace the earlier segment fields  then update the MARC segment after reading the MVKE segment .
    example code  some thing like below
    tables: ,E1MVKEM,E1MARCM
    loop at  EDIDD INTO WA1 WHERE  SEGNAM = ' E1MVKEM'.
    E1MVKEM = WA1-SDATA.
    READ TABLE EDIDD INTO WA2 WHERE SEGNAM = 'É1MARCM'
    IF SY-SUBRC = 0.
    E1MARCM = WA2-SDATA.
    SELECT SINGLE DWERK FROM MVKE INTO E1MARCM-WERKS WHERE
    MATNR = E1MVKEM-MATNR
    VKORG = E1MVKEM-VKORG
    VTWEG = E1MVKEM-VTWEG.
    WA2-SDATA  = E1MARCM.
    MODIFY   EDIDD FROM WA2 INDEX SY-TABIX transporting sdata.
    ENDIF.
    endloop.
    Regards,
    Venkat

  • BD64 IDOC Data Filters

    Hi
    I have a IDOC (message type J3AGRI) in the ALE Distribution Model and this is working fine.
    But now I need to filter the IDOC - certain actions I do not want to send the IDOC.
    but I cannot see the Data Filter that I can see on other IDOCS in BD64.
    I have the field
    BD64 - Already set up but I need to filter J3AGRI on MSGFN.
    BD95 - done (field MSGFN was already there)
    BD59 - done
    MSGFN     E1J3AGC     3     MSGFN     0     3
    MSGFN     E1J3AGE     2     MSGFN     0     3
    MSGFN     E1J3GH1     1     MSGFN     0     3
    Why can't I see the Data Filter option against my message type in BD64

    hi,
    there are two fillterings are avilable
    1) IDOC filltering
    2) segment filltering .
    so which one u want ..
    IDOC filltering
    To filter materials for the basic idoc type MATMAS03
    Re: IDOC - Object filter setting
    segment filtering
    BD56..
    ~linganna

  • Trouble with negative refinement filters and data source on OID 2.3

    Hi
    I'm having trouble using the negative refinement filters on a data source with Information Discovery 2.3
    Here's the data source configuration
    "baseFunctions": [
    "attributeKey": "COMPANY",
    "attributeValue": "PROMO",
    "class": "com.endeca.portal.data.functions.NegativeRefinementFilter"
    "class": "com.endeca.portal.data.functions.RecordFilter",
    "recordFilter": "OR(OID_RECORD_TYPE:RES,OID_RECORD_TYPE:DEF)"
    "datastoreName": "datastorename",
    "name": "ABC",
    "port": "7770",
    "server": "XYZ"
    When I reach a Dashboard page where all the portlets are using this datasource, the record filter is applied as expected. However, for the negative refinement filter, while it does appear in the breadcrumb portlet, it has no effect on the data set. The guided navigation still shows the value as a possible dimension and I can see in my results table that the data was not removed by the negative refinement filter. I tried to restart Tomcat, with no effect.
    If I go in the guided navigation and define negatively this value, on the COMPANY dimension, the data gets filtered out and I get 2 negative refinements to show up in the breadcrumb for the same value (!)
    Is there something I'm missing to configure the negative refinement filter?
    Thank you

    Your configuration looks correct.
    I can think of two possible issues but we're really just shooting in the dark:
    1) "Rogue" whitespace.
    - If your value is not actually "PROMO" but is "PROMO ", then your filter would not exclude anything. It would also explain why you could then add a negative refinement for the "true value". To validate this, use a browser with some debugging capabilities (i.e. Chrome), have your negative refinement applied by default and then "manually apply" it in Studio.
    Then, open up your browser's debug view (in Chrome, right-click on the value you just added and click "Inspect Element".). Hopefully, the HTML will show slightly differently and you can see the whitespace in the manually added refinement.
    2) Would this happen to be a managed attribute? I believe managed attribute values can have display names and real names and the real name should be used for filtering purposes. I doubt this is the problem but it's the only other thing I could think of...
    Regards,
    Patrick Rafferty
    Branchbird

Maybe you are looking for

  • How to create a loop with control over iteration?

    Is it possible to create your own loop where you can CREATE your own iteration variable and change the iteration variable's count whenever its needed?  The For loop and While loop in labVIEW have the iteration (i) provided but I can't change where it

  • Missing Hard Drive on Desktop...

    Hi, I was asked to come and take a look at a friends computer, a Mac Mini, which has OS-X (10.4.6) installed and seems to be experiencing a few problems. Here is a link to the original post that I am seeking solution(s) too. http://discussions.apple.

  • Bouncing entire song..a quick way to choose "entire song" besides Locators?

    When I am bouncing an entire song, is there a quick way, or default option, to choose the entire song? I understand that I can easily set the Locators, but then what's the purpose of having the "end" marker available? I am trying to save myself the s

  • Why disappear the folders in my launchpad?

    Hello, since I have installed OS X Mavericks all my folders disappear after rebooting. Is there a bug or a limit for apps in a folder? Thank you for helping Gökay

  • Help explaining data in dba_histograms

    Hi all, On Oracle 11gr2, I need to understand the output of dba_histograms for a column with frequency based histogram: COLUMN_ID COLUMN_NAME     DATA_TYPE    NUM_DISTINCT  NUM_NULLS    DENSITY HISTOGRAM         94 DP_STR          DATE