Filter Dependent BADI - All Country codes to be included

Hi,
I am using a BADI 'CMS_RE_LR_DIALOG' which has a filter type 'CMS_RE_DTE_LR_ID'.
This BADI is used in conjunction with a screen field that can take as inputs the 'country codes'. However currently this BADI has only one implementation for the country code 'DE' (Germany) and this is a SAP implementation and should not be modified. The requirement is that I need to include all the country codes in this BADI so that the associated transaction is executed for all country codes.
Could anyone brief me how this could be done? One procedure would be to create an impl each for every country code, however this is not a feasible solution. Is there any other way in which we can pass all values in a structure to the filter type? I tried using the data element LAND1 for this purpose, but not getting the required output with it.
Kindly pitch in your inputs as to how this could be implemented.

filter is implemented in se18 in badi definition.
certain times u may require to implement certain checks based on country so u can specify the country element as key and implementa filter dependant badi.
кu03B1ятu03B9к
Edited by: kartik tarla on Feb 15, 2009 12:46 PM

Similar Messages

  • Problem in creating new implementation for filter dependent badi

    Hi Experts,
       I want to use badi NOTIF_EVENT_POST.It is a filter dependent badi. It is asking filter type while implementing thro se19. Could anyone pls tel me how to create new implementation for the filter dependent badi. Existing filter type is QMART. is there any problem if i change the filter type?
    Thanks in Advance!

    Hi ,
    NOTIF_EVENT_POST is filter dependent and filter values are based on QMART value in table TQ80. You need to specify the filter value ie : QMART value before implimentation , before that check all active implimentations for the same , if u have to impliment on same filter value , you need to deactivate the one which is implimented on same filter value .
    You are not supposed to change the filter type.
    Regards,
    Vamsi
    Edited by: CH. VAMSHI on Sep 29, 2009 11:58 AM

  • How to Pass Filter value to Filter dependent BADI ?

    Hi,
    I am having some doubt related to CRM Badi's there are two types of BADI's one is Muliple use badi and other in Filter dependent BADI.
        Incase of filter dependent BADI. when we are creating implentation for filter BADI how to pass this filter value to that new implentation.i.e. if we are going to see the importing parameters for Each method of that  Filter Dependent BADI.   the 1st importing parameter for each method is FILTER VALUE for each method in Filter Dependent BADI. 
          So my question is that how to map this filer value while creating new implentation for Filter Dependent BADI ?
         It will Automatically get this importing filter value or we have to do any coding for this ????
    for this you can refer badi : CRM_ISA_BASKET_HEAD
    this Badi defination is filter dependent.
    Please let me clarification for this .perfect answer will be rewarded !!!!
    Regards,
    Amol Tambe
    SAP CRM Technical Consultant.

    Hi,
    If this is the case. Then what is the use of filter in that if it is automaticaaly getting mapped i.e. How the filter will restrict the use for Badi ??
              I am not getting it ??????
    Because for every simple badi when we are going to creat the implenation it will work fine without any restrictions by getting all importing values automatically.
    And incase of filter depednt Badi also its going in same way it will get its filter value automatically so both the cases are same for Filter dependent badi and simple badi.
    Then what is the use of Filter value ????
    Regards,
    Amol Tambe.
    SAP CRM Technical Consultant.

  • Filter Dependent BAdI

    Assume I have implemented the following BAdI:
    BBP_DOC_SAVE_BADI
    Furthermore, assume I have defined a single filter value: BUS2200
    Does this mean that my BAdI implementation will be called ONLY
    when the filter value is BUS2200.
    Is it possible that the implementation will be called for other
    filters like BUS2121 and BUS2201?
    The reason I ask is this:
    Do I have to check the filter value in my implementation to make sure
    it is being called for BUS2200?  If so, what's the purpose of defining
    the filter value in the BAdI implementation?

    Do I have to check the filter value in my implementation to make sure
    it is being called for BUS2200? If so, what's the purpose of defining
    the filter value in the BAdI implementation?
    In the filter you need to specify the variable which contains the desired value.
    Like:
    W_BO_TYPE = 'BUS2201'.
    GET BADI badi_inst
                  FILTERS bo_type = W_BO_TYPE.
    This code will not get any instance of the BADI as you don't have the implementation for this BUS2201. If your variable W_BO_TYPE contains the value BUS2200 than you would get the BADI instance which contains your implementation.
    Regards,
    Naimesh Patel

  • Filter dependent BADI TRIP_POST_FI is not calling.

    Hello Experts,
    I am trying to use the BADI TRIP_POST_FI, this is related to interface IF_EX_TRIP_POST_FI.
    But the standard class CL_EX_TRIP_POST_FI is already using this interface, and has imple-mentation for all methods.
    So, although I can create a new implementation using definition TRIP_POST_Fi it is never exe-cuted because the system is is using the standard implementation.
    What can I do in this case ?
    Thanks

    Hai,
    Try to create new classic BADI implementation for TRIP_POST_FI in SE19 then Z class will be created.
    And in SE24 you can go to that class and you can use the method what ever you want.
    Thanks

  • Need to create a filter in BADI

    Hello Experts,
    Iu2019ve a requirement and according to it I need to Create a filter BUKRS in the BADI definition which makes the BADI call acceptable only when Company Code is XXXX and XXXX.
    Can somebody tell me which BADI I should use?
    Thanks,

    Hello.
    If it is a custom BADI please check the box available in BADI definition (SE18) attributes.
    Step1 - Check the check box Filter in BADI attributes. So that I will enables the filter field and there you need to choose BUKRS.
    Step2 - By doing step1 system adds one more parameter flt_XX to all the methods available in BADI definition.
    Now you need to pass this variable when you are calling the proxy call in the actual application.
    If it is standard BADI you need to check the filter dependent BADIs so that you can impliment them for specific Countries.
    All the best. Let me know if you need any more help.
    - Mohan.

  • You must specify the a of filter if you want to save you filter- dependent

    I get this message when I try to save an implementation for BADI :  NOTIF_EVENT_SAVE
    Specify filter types
    Message no. ENHANCEMENT213
    Diagnosis
    You must specify the a of filter if you want to save you filter- dependent BAdI implementation.
    System Response
    Without a filter type, the implementation cannot be saved.
    Procedure
    Enter a filter type.
    The filter type already exists.  This is a standard SAP BADI.
    There are related notes but not for my ECC 6.0 release. 
    I am using:    SAP_BASIS  700  SAPKB70013
    Has anyone had this problem?

    I think u have already had ur Document Types.
    Now using Tcode Se18 u will goto BADI. There U will Select Implementation --> Change / Display.
    Now at below u will see Filter Dependent Check Box Checked which means that the BADI requires a filter.
    Below that u can enter Ur document Types as filters for which types only u want the BADI to be processed. If u want all the Types to be entered and as the BADI is Filter Dependent , u have to enter all the Document types. Now the BADI is triggered only for the Documents containgin that Document type u entered in the filter only.
    awrd points if useful
    Bhupal

  • Difference between multiple use and filter depend in BADis

    Dear Experts,
    Can u plz tell me the major difference between <b>MULTIPLE USE</b> and<b> FILTER DEPEND</b> types in badi definition.Is it possible to create a BAdi definition without selecting none of them
    Thanks & regards,
    vineel

    You can differentiate between single-use and multiple use Business Add-Ins. The distinction is based on the procedure or event character of an enhancement. In the first case, the program waits for the enhancement to return something, usually a return code. A typical example could be a benefit calculation in HR. Depending on the implementation, alternative calculations can be executed. With multiple use add-ins, an event that may be of interest to other components is processed in program flow. Any number of components could use this event as a “hook” to hang their own additional actions on to.
    Business Add-Ins may be implemented on the basis of a filter value. If an enhancement for country-specific versions is provided for in the standard version, it is likely that different partners will want to implement this enhancement. The individual countries can create and activate their own implementation.
    Enter a filter type when defining your enhancement (a country or industry sector, for example). All methods created in the enhancement's interface have filter value FLT_VAL as their importing parameter. The application program provides the filter value for the enhancement method. The method then selects the active implementation for that value.
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf4940e11d295df0000e82de14a/frameset.htm

  • Badi Multiple Use and Filter Dependent.

    Dear Experts,
    i Have enough Documents on Badi.
    and My question is If we implement the Multiple Use the program calls all active implementations in Dynamic sequence.
    to Call Particular Implmentation do we go for Filter dependent?
    or is both concepts are independent .
    Let me Know the difference
    Regards
    Raj.

    Yes,Both Concepts are independent.
    If the BADI Has checked with Muliple use check box then u can implement multiple implementation for that BADI for example check the BADI ME_PURCHDOC_POSTED Attributes tab.
    If the check box is marked with Filter-dependent then u can implement based on the data element.Example check the BADI NOTIF_EVENT_SAVE Attibutes tab.

  • BADI: Diff between Multiuse & Filter Dependent

    Hi All,
    I would like to know whats the diff between Multiuse and Filter Dependent, Filter Types and Defined Filters.
    Thanks,
    Santosh

    <b>Multiple Use</b>
    This property defines whether – during the initialization of a BAdI object using GET BADI– just one implementation needs to be selected through the specified filter values, or whether an arbitrary number of implementations (or no implementation at all) can be selected.
    If more than one implementation is selected at GET BADI for a BAdI provided for single use, the exception cx_badi_multiply_implemented is triggered. If no implementation is found, the exception cx_badi_not_implemented is triggered.
    Use
    You can define whether a BAdI is to be provided for single or multiple use. In the standard version, a BAdI is provided for single use, but a multiple use can also be selected.
    In the case of a multiple use, there is a general restriction – in addition to the general restriction regarding variable attributes – that the BAdI methods must not have any EXPORTING or RETURNING parameters. The reason for this is that, if you have a call with CALL BADI, the methods of all the object plug-ins referenced by the BAdI object are called and that there is no definition regarding from which of the implementations a returned value will actually come. CHANGING parameters, on the other hand, are allowed since these are changed by all the calling methods, one after the other, so that a method can also access the parameter changed in a previous method.
    Regards
    - Gopi

  • How do I add the country code to all contacts when it did not previously appear?

    I just moved from the US to the UK and purchased a new iPhone 4S.  When my contacts migrated from Outlook to the iPhone they did not include the country code in the US and therefore all contacts numbers are now listed incorrectly.  How can I add the country code to hundreds of contacts painlessly?
    Thanks in advance.

    International Assist is activated.  Upon further review this appears to be a case of the original country codes not being added when the contact list was constructed.  iOS has not figured this out and thus when changing countries I've been forced to add the country codes to every contact record manually.  Disappointing and very labour intensive.  If only Apple allowed for a macro that simplified the mass change.

  • I recently moved from the US to Sweden and all my contacts are saved with their international country code prefixes. I keep getting text message errors when I send a text, but the contact info is stored correctly for each. How can I fix this?

    I receive an error message that adds the country code again. I tried it with no country code and the area code included but I still receive an error message. It only does it sometimes and not to all Sweden contacts. There is no obvious reason why it does it to some but not others. Does any know what the problem is and how to fix it? Thank you!

    Only other thing I can suggest is to reset your phone. This won't touch any data or settings:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release.

  • All my contacts are stored with country code for eg   233 244 123456. Contact names do not appear during incoming calls. Once the country code is removed , names appear. Please help

    All my contacts are stored with country code for eg   +233 244 123456. Contact names do not appear during incoming calls.
    Please help

    http://discussions.apple.com/thread.jspa?threadID=2280669&tstart=0

  • Creation of filter dependent Custom BADI defination.

    Hello,
    How to create a custom BADI definition (ECC 6.0), so that I will be able to make it filter dependent.
    I need to create an implementation of the same as per Logical system name filtering for ALE processing.
    I tried to create Enhancement Spot and then created BADi but not able to make it filter dependent.
    Please suggest.
    Thanks.
    Edited by: Parthasarathi Mohanty on May 20, 2011 2:46 PM

    Hi,
    I tried to create an independent custom BADI definition and make it filter Dependant.
    So that I can create my own implementation and call that in a Standard BADI method.
    Through SE18, it's not allowed to directly create BADI, I created an enhancement spot but while creating BADI in this process, it not giving me the option to make it filter dependent.
    Is there any special process to create an independent BADI definition & to make filter dependent in ECC 6.0.
    Thanks.

  • Removing the country code prefix from all contacts in the Address Book

    upgrading my iphone (to os 3.0) added country codes to all of my contacts,
    not noticing this i synced it with my mac, thus adding said preixes to the contacts on my mac as well.
    is there a way (only applescript from what i understand) to remove the country code from all my contacts?
    thanks!

    paste the following into Script Editor
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Address Book"
    set mlist to selection
    repeat with per in mlist
    set NP to number of phones of per
    repeat with i from 1 to NP
    set curphone to value of (phone i of per) as text
    if text 1 thru 4 of curphone is "+972" then
    set value of phone i of per to "0" & text 5 thru -1 of curphone
    end if
    end repeat
    end repeat
    save
    end tell</pre>
    select all the contacts you want to be affected in Address Book (you can select them all) and press "run" in script editor.

Maybe you are looking for

  • Is there a good advanced review on applet-servlet communication

    I am working on a web application and unfortunately experiencing a lot of trouble trying to use an applet as front end which interacts with a couple of servlets running on Tomcat. I need to get data from one servlet and send data to another. There is

  • Macbook wakes up when pulling out the USB mouse.

    When the lit is closed, the computer is asleep, the mouse is plugged in and I want to move it. If I disconnect the mouse the computer makes "that wake up sound" even if the lit is closed. Is this allright or could I do something? (Sorry for the bad e

  • Uploading HR mini master

    Hello, I would like to know what the best way is to upload HR mini master records. We are doing a CATS project and I need employee numbers with infotypes: 0000, 0001, 0007, 0105, 0315. Can anyone provide me information on what BAPI's or other to use.

  • Script conflict question

    I have two scripts that don't work on the same page but if I seperate them onto two seperate pages there isn't a problem. is there some sort of conflict issues with flash that i need to be aware of.......also these scripts only work if I press cntrl-

  • Peachpit Project Files Missing in 10.0.6

    This is more of a tip than a problem. If you use the Peachpit 'Final Cut Pro X: Professional Video by Diana Weynand, you may have noticed that some of the projects you should be seeing in the lesson folders are no longer visible in FCPX 10.0.6. They