Filter BADI

Hi all,
I am some doubts regarding Filter BADIs, if anyone please clear off the doubts then it will good for me.
- Suppose any standard BADI definition is not having 'Filter Dependent' option, then can we make it Filter dependent ?
- Does a custom BADI definition has to be created for it to change the standard BADI definition or is there any other way to make a standard BADI filter dependent ?
- If suppose for a standard tcode there is standard BADI with filters then how does the filter value is passed from the standard program ?
- Can filter value can be any field (like material number or tax code) as per the requirement or it has to be some specific set of values like country, language etc ?

Hi Amit,
> - Suppose any standard BADI definition is not having 'Filter Dependent' option, then can we make it Filter dependent ?
No. That will be a modification.
> - Does a custom BADI definition has to be created for it to change the standard BADI definition or is there any other way to make a standard BADI filter dependent ?
If you create custom BADI defination by copying standard, it will not be triggered as standard BADI. No other way to add filter dependant option to standard BADI. You can use IF- condition in side the BADI Method implemetation, so that the code will be executed only for some values.
> - If suppose for a standard tcode there is standard BADI with filters then how does the filter value is passed from the standard program ?
When the system calls the filter dependant BADI implementation it passes the filter value.Check on example by debugging the tcode.
> - Can filter value can be any field (like material number or tax code) as per the requirement or it has to be some specific set of values like country, language etc ?
If your creating custom BADI defination, it can be any field. But It must be a data element, of the character type, with a maximum length of 30, which has a search help, a domain with fixed values, or a domain with a value table.
Reddy

Similar Messages

  • Problem in Implementing Filter BADI

    Hi Experts ,
               I have a problem in Implementing Standard BADI  OIJ_NOMIT_VALIDATION , this one is a Filter BADI , with Filter type OIJ_NOMITEM_CHCK . i created a implementation ZOIJ_NOMIT_VALIDATION with filter ZOIJ_NOMIT and write code in method VALIDATE . But this is not triggered. Any additional configuration needed for this ?
    Point will be awarded .
    Thanks and regards
    Renjith MP

    Hi Ranjit,
                  After implementing the Filter BADI.You can define the Filter type <b>attributes</b> section.
    Regards

  • 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.

  • Could any one pls tell me abt filter concept in badi

    Hi Experts,
    I implemented a badi for xd01. How to see filter for that.
    Thanks in advance..

    It depends what BADI you did implement. Not all Badis allow Filters.
    Go to Attributes and check if the 'Filter-Depend.' checkbox is set. If it is not this is not a filter BADI. If it is you should see a filter type. By double clicking on the entry you should be able to get to the data element and the domain to check for domain values.
    Hope that helps,
    Michael

  • How to filter change pointers using BADI - BDCP_BEFORE_WRITE?

    Hi,
    We have a scenario where due to various loads lot of change pointers are getting generated. Now I want to delete the unwanted change pointers based on some condition.
    Through this forum I figured out that we can use the BADI -> BDCP_BEFORE_WRITE and create an implementation in it to clear the change pointers based on our conditions.
    But could anyone please tell me when does this BADI gets triggered? I tried various options by putting a break point in the implementation, in CHANGE_POINTERS_CREATE function module etc but couldnu2019t see my BADI getting called or triggered.
    I have my code placed in the implementation of this BADI but doesnu2019t have any clue when it gets called. I assume being this a standard filter BADI it should be called of itu2019s own but how can I check whether my code works or not. Wonu2019t there be any Transaction code which when executed will trigger this BADI. Any help on this will be appreciated.
    Thanks.

    Thanks again Amit. But still my question is at what event this BADI gets triggered.
    Let me explain the code I have written.
      LOOP AT change_pointers INTO lv_bdcpv.
        lv_tabix = sy-tabix.                       
        ws_c_objid      = lv_bdcpv-cdobjid(18).
        SELECT SINGLE cuobj klart obtab objek INTO t_inob FROM inob
        WHERE cuobj = ws_c_objid AND
              obtab NE 'KNA1' .
        IF sy-subrc = 0.
          DELETE change_pointers INDEX lv_tabix.
        ENDIF.
    ENDLOOP.
    This is the code written so that I can get rid of all the change pointers that are written which are not relevant to Customer.
    But I want to know how this BADI gets executed, at what event or at by which TCODE or program?? I tried to change some classification data and and it created entry in BDCPV but are not related to customer. So how can I get this BADI executed so that it deletes the entry from BDCPV table?
    When I check the BDCPV table the entries are still there as unprocessed.
    Hope I am clear with my question. Any help will be appretiated.
    Thanks,

  • How to call a badi implementaion from report program

    Hi ABAP Guru,
    I have ZBADI_FALLBACK_DEF new badi created by me and there two implementation ZBADI_FALLBACK_IMP and ZBADI_FALLBACK_IMP1
    Now I am calling this badi from report program
    DATA:
       W_HANDLE TYPE REF TO ZBADI_FALLBACK_DEF.
    * GET BADI - for getting objects..................
    GET BADI W_HANDLE.
    * CALL BADI - for calling interface methods.
    CALL BADI W_HANDLE->ADD.
    This is fine,,,
    But I want to call only one implementaion ZBADI_FALLBACK_IMP.But here two implementaion is called.Please help....

    Hi Palash,
    Then you create filter BADI  and  use filter in implementation.
    While getting BADI reference use filter
    GET BADI W_HANDLE FILTERS
    Thanks & Regards,
    Arun

  • UWL Filter causing error while approving Leave Request

    Hi Guys,
    We recently applied MSS SP17 and we changed our UWL filter BADI to SWK1 Function group - SWK_LOCAL_INBOX_GET.
    The filter works fine, but when we try to approve leave request, it somehow calls this piece of code again and does not allow (DUMPS) BADI to set the filter saying - this field is not modifiable.
    Has anybody seen this before. Can anybody let me know how to resolve the issue?
    Regards,
    SC

    We added a code that if leave request calls this code...skip it.

  • Don't know which version of Photoshop to get, I need the oil paint filter.

    I'm a new designer and on class I did some really cool stuff with the oils paint filter and I LOVE IT, it will be a great part of the style I want to develop but I'm on a CC trial and it is not there! I've done my homework and have found out that apparently the latest version of CC has eliminated the beautiful filter! Go figure!
    I want this filter BADLY, so what are my best options?
    Adobe has so many products and versions that I'm really confused about what to get.
    So should I get CS6? Or is there an older version of CC that has the oil paint filter?
    I also saw somewhere there's an oil paint filter or plug in the CC but only for windows and I'm on a Mac.
    Please advice

    Here is a direct link
    http://prodesigntools.com/adobe-cc-direct-download-links.html
    but follow the very important instructions to the letter!

  • BADI for practice: example plz

    hi
    i need several concrete example of BADI:
    1 to understand how filter BADI work
    2 to understand how multiple purpose BADI work
    3 Implementation of already enhance BADI
    4 defining new BADI and implementing it
    I already read lots of docs on BADI but to really understand how it work i need to actually do an example

    Hi
    Business Add-Ins
    Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
    As with customer exits (SMOD/CMOD [Page 40]), two different views are available:
    • In the definition view, an application programmer predefines exit points in a source that allow specific industry sectors, partners, and customers to attach additional software to standard SAP source code without having to modify the original object.
    • In the implementation view, the users of Business Add-Ins can customize the logic they need or use a standard logic if one is available.
    In contrast to customer exits, Business Add-Ins no longer assume a two-system infrastructure (SAP and customers), but instead allow for multiple levels of software development (by SAP, partners, and customers, and as country versions, industry solutions, and the like). Definitions and implementations of Business Add-Ins can be created at each level within such a system infrastructure.
    SAP guarantees the upward compatibility of all Business Add-In interfaces. Release upgrades do not affect enhancement calls from within the standard software nor do they affect the validity of call interfaces. You do not have to register Business Add-Ins in SSCR.
    The Business Add-In enhancement technique differentiates between enhancements that can only be implemented once and enhancements that can be used actively by any number of customers at the same time.
    In addition, Business Add-Ins can be defined according to filter values. This allows you to control add-in implementation and make it dependent on specific criteria (on a specific Country value, for example). All ABAP sources, screens, GUIs, and table interfaces created using this enhancement technique are defined in a manner that allows customers to include their own enhancements in the standard.
    A single Business Add-In contains all of the interfaces necessary to implement a specific task. In Release 4.6A, program and menu enhancements can be made with Business Add-Ins. The actual program code is enhanced using ABAP Objects. In order to better understand the programming techniques behind the Business Add-In enhancement concept, SAP recommends reading the section on ABAP Objects
    DEFINING THE BADI
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    Some useful URL
    http://www.esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://www.esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://www.esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://www.esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    www.sapgenie.com/publications/saptips/022006%20-%20Zaidi%20BADI.pdf
    http://www.sapdevelopment.co.uk/enhance/enhance_badi.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/e6/d54d3c596f0b26e10000000a11402f/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/eab541c5b63031e10000000a155106/frameset.htm
    Now write a sample program to use this badi method..
    Look for “BBB” sample program.
    “AAA”
    data : wa_flights type sflight,
    it_flights type table of sflight.
    format color col_heading.
    write:/ 'Flight info of:', i_carrid, i_connid.
    format color col_normal.
    select * from sflight
    into corresponding fields of table it_flights
    where carrid = i_carrid
    and connid = i_connid.
    loop at it_flights into wa_flights.
    write:/ wa_flights-fldate,
    wa_flights-planetype,
    wa_flights-price currency wa_flights-currency,
    wa_flights-seatsmax,
    wa_flights-seatsocc.
    endloop.
    “BBB”
    *& Report ZBADI_TEST *
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    and
    http://help.sap.com/saphelp_nw04/helpdata/en/eb/3e7cf7940e11d295df0000e82de14a/frameset.htm
    Badihttp://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    see the example of BADI
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' )  AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create' 'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    Regards
    Anji

  • Can we use 0INFOPROV as a selection in Load from Data Stream

    Hi,
    We have implemented BW-SEM BPS and BCS (SEM-BW - 602 and BI 7 ) in our company.
    We have two BPS cubes for Cost Center and Revenue Planning and we have Actuals Data staging cube, we use 0SEM_BCS_10 to load actuals.
    We created a MultiProvider on BPS cubes and Staging cube as a Source Data Basis for BCS.
    Issue:
    When loading plan data or Actuals data into BCS (0BCS_C11) cube using Load from Data Stream method, we have performance issue, We automated load process in a Process Chain. Some times it take about 20 hrs for only Plan data load for 3 group currencies and then elimination tasks.
    What I noticed is, (for example/) when loading Plan data, system is also reading Actuals Cube which is not required, there is no selection available in Mapping or selection tab where I can restrict data load from a particular cube.
    I tried to add 0INFOPROV into databasis but then it doen't show up as selection option in the data collection tasks.
    Is there a way where I can restrict data load into BCS using this load option and able to restrict on cube I will be reading data from ?
    I know that there is a filter Badi available, but not sure how it works.
    Thanks !!
    Naveen Rao Kattela

    Thanks Eugene,
    We do have other characteristics like Value Type (10 = Actual and 20 = Plan) and Version (100 = USD Actual and 200 = USD Plan), but when I am loading data into BCS using Load from Data Stream method, the request goes to all the underlying cubes, which in my case are Planning cubes and Actual Cube, but I don't want request to goto Actual Cube when I am running only Plan load. I think its causing some performance issue.
    For this reason I am thinking if I can use 0INFOPROV as we use in Bex queries to filter the InfoProvider so that the data load performance will improve. 
    I was able to to bring in 0INFOPROV into DataBasis by adding 0INFOPROV  in the characteristics folder used by the Data Basis.
    I am able to see this InfoObject Data Stream Fileds tab. I checked marked it to use it in the selection and regenerated the databasis.
    I was expecting that now this field would be available for selection in data collection method, but its not.
    So If its confirmed that there is no way we can use 0INFOPROV as a selection then I would suggest my client for a redesign of the DataBasis it self.
    Thanks,
    Naveen Rao Kattela

  • Songs In My "Most-Played" Playlist That Shouldn't Be

    Okay, this is a weird one to try to explain, so please bear with me. On my iPod classic, I have a smart playlist I created called "Top 2000 Most Played Songs," which is, obviously, a playlist of the top 2000 most played songs on my iPod. Being a smart playlist, it always updates as play-counts change. When I look at this playlist in iTunes, it is all perfect and has all the right songs. When I look at this playlist on my iPod, it has about five or six songs at the bottom of the list that should not be there... i.e., they are songs that used to be in the top 2000 most played, but have since been pushed out by other songs. However, the playlist clearly only has 2000 songs on it, so there are five or six songs missing that are supposed to be there. However, the songs that are missing are not the most recent additions, because I have been able to find them in the playlist. So I don't know what is missing. I have tried copying to play order, and it still has those five or six songs at the end of the playlist. I don't want those songs on the playlist. Why is it doing this?

    The most likely thing is that your songs that you expect to appear in the bottom of the list, still don't have more play-counts than others.
    What you are trying to say is that iTunes does not updates your playlist. So try the experiment. Activate "Plays" column in iTunes. Connect ipod, let it syncronize. Look at the bottom of the list, see what is there. How many counts for the songs you expect in the list? More than for the others? Less or equal? As I see in my library, the songs in the bottom have the same play-counts, some of them will be in the list, some not (alphabetically?)
    Then disconnect ipod and check the playlist on the device.
    Also you can add new conditions to your smartlist to filter bad songs.

  • EWA Reporting

    Hello guys,
    Perhaps someone can help me. We have different systems eg. P01,P02,..P05. and each system has a different manager. They all want every week for their system an EWA Report.
    My question: Is this possible ( by email ) and how can i make it work?
    I'm working with Solution Manager 3.2 for 4 weeks now.
    Please help me..
    Meindert

    Dear Meindert,
    I am not sure whether I get the requirement correctly. But I assume that you want to selectively send EWA's for Different SID's to different email addresses.
    There is an BADI added from SP9 onwards which enables us to email EWA's of different SID's to different Email addresses.
    The IMG path for the same is as follows :
    SAP Solution Manager Implementation Guide   >
      SAP Solution Manager   > Scenario Specific Settings   > Operations
    Sending Service Reports by Internet E-mail   >
    Email Filter   > BADI EWA Email Filter.
    and here is the IMG documentation :
    This IMG activity assigns E-Mail addresses to system IDs, in the
    maintenance view of the table DSWP_SYS_EMAIL. EarlyWatch Alert reports
    are only sent to the E-Mail addresses which are assigned to the systems.
    Activities
    Assign E-Mail addresses to system IDs:
    1. Choose New Entries.
    2. Enter the following values:
    Object ID
    SAP system ID
    E-Mail address
    3. Save your engries.
    Transaction SM30 table: DSWP_SYS_EMAIL
    BAdI EWA E-Mail Filter
    Use
    Use this BAdI to send reports automatically by e-mail in the Operations
    Solution Manager.
    Functions:
    Change the subject text of the e-mail
    Filter function for e-mail addresses using criteria (system etc.)
    Requirements
    You must first maintain the mapping table using the IMG activity "Map
    Systems to E-Mail Addresses".
    Default Settings
    The inactive BAdI implementation (DSWP_EMAILFILTER) is supplied. You can
    use this to filter e-mail addresses by system IDs.
    Multiple usage is possible.
    No filter is used.
    Activities
    The following activities must be performed if you want to use the
    standard system version:
    1. Maintain Customizing table (DSWP_SYS_EMAIL, see prerequisites).
    2. Start the activity. The following dialog that appears shows you all
    active and inactive BAdI implementations.
    3. You can activate the implementation by selecting a row using the
    matchstick icon (if the implementation is not already active).
    If you want to use your own (customer-specific) function, you need to
    create your own BAdI implementation.
    To do so, proceed as follows:
    4. Start the activity. The active and inactive BAdI implementations are
    now displayed.
    5. You can use the "Create Implementation" button to create your own
    implementation.
    6. Assign a name to the enhancement implementation and enter a short
    text. Confirm your entries and assign a package.
    7. The system may display a message saying that the assigned package
    does not have a switch. Confirm this by choosing "Yes".
    8. Enter a name for the BAdI implementation and confirm this.
    9. Expand the tree structure for the implementation and choose
    "Implementing Class".
    10. Enter a name for the class and then double click to access forwards
    navigation. Assign a package here.
    11. Now implement the interface method with your required function and
    activate the class.
    Transaction SE19 - BADI Definition DSWP_EWA_EMAILFILTER_BADI_DEF
    I hope that the above information helps if this is your requirement.
    Regards
    Amit Devale

  • Filter Type in BADI ---- FAGL_DERIVE_SEGMENT

    Hi,
    When I am trying to Create Implementation for Badi--->FAGL_DERIVE_SEGMENT,it is generating error
    message  'Specify Filter Types' .What filter type I have to specify? This  BADI iam implementing for PM module. Please help in resolving the issue.
    Thanks
    K Srinivas

    Hi,
    I tried to implement the badi ....its not asking me any filter type.....
    even if it asks specify the filter by pressing the plus button and select the filter value from f4 help...
    Thanks,
    Shailaja Ainala.

  • Filter for BAdi CRM_ORDER_STATUS does not work in WebUI

    Hello,
    we have made an implementation for BAdi CRM_ORDER_STATUS for our sales cycle.
    In detail:
    The BAdi implementation shall be triggered if the user sets a special user status within an opportunity.
    Therefor we have used the standard filter functionality provided by this BAdi (giving the correct header status profile and user status).
    Using transaction CRMD_ORDER in SAP GUI, creating an opportunity and setting the special user status -> the BAdi implementation is triggered as expected.
    But: If we are using the WebUI the done BAdi implementation is triggered at every roundrip caused by creating/editing an opportunity and not only at setting the user status.
    Does anybody of you made similar experiences with using BAdis in WebUI (SAP CRM 7.0)?
    Cheers,
    André
    **EDIT***
    It´s possible coding the filter within the BAdi implementation.
    But we prefer using the provided SAP standard.
    Edited by: Andre Schillack on Apr 23, 2009 8:47 PM

    Hi Andre,
    I just checked my system CRM2007 and below is what I found in WebUI mode:
    During the build of DDLB for Status field, it calls method cl_crm_uiu_status_info=>get_status_info. What it does is:
    1. It derives all status codes for the user status profile (based on customizing)
    2. And then for each status code, it triggers the BADI based on filter value. In the BADI, customer can decide whether the particular status (filtered value) is allowed to see in the DDLB.
    Since it is building the DDLB for Status field every time there is change on the opportunity and therefore DDLB method calls the BADI every time to build the Status code list.
    If you want to do further processing based on status change in the method BEFORE_CHANGE, you can try the following code.
    if is_status_wrk-active_old = 'X' and
           is_status_wrk-user_stat_proc = 'CRMACTIV' and
           is_status_wrk-status = 'E0002'.
    Do something
    endif.
    I hope I have not confused you.
    I feel that this is standard behaviour in WebUI. You may want to check with SAP OSS also.
    Regards,
    Paparao Undavali

  • 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

Maybe you are looking for

  • After upgrade to Maverick Mail does not connect to server to download emails

    Since I have had my system upgraded to Maverick I can no longer download emails from my server/provider. Mail asks for the password for the user (me) and when I type it in nothing happens. There is no problem connecting to my server/provider online,

  • INTEL Turbo Booster Device won't start on dv8t 1000 laptop

    HP Analysis and device manager show this problem. Driver tests up to date. What does this meaan and how do I correct it?

  • LOV on Parameter form  can not show in IE

    In report builder I build two user parameter by Parameter Form builder. one is the search_mouth in which we type the month, the other is department_name which is selected by a drop down list and we can not type the name only select a name from the li

  • JOIN and UPDATE

    I have two tables Flight (FlightID, FlightDate, Origin, Destination, MaxCapacity, AvailableSeats) FlightBooking(BookingID, CustomerID, FlightID, NumSeats, Status, BookingTime) I'd like to somehow update AvailableSeats, given a change in Status. When

  • Checking operating system version: must be 5.1, 5.2. actual 6.1

    Hi, All I am installing 10g developer suite in my laptop, once I click on setup file I am getting a message as "*checking operating system version: must be 5.1, 5.2. actual 6.1 failed*". System configuration is: OS : Windows 7 64 bit Home Basis RAM :