Request to know necessity of filter in BADI

Hi,
I would like to know what is Filter in BADI and why it is required, please throw some light on the advantages of filter in BADI.
Appreciate your quick response.
Regards
Harikrishna

when you want different source code for methods depending on for instance the sales document type, you can use the filter.
So for different doc.types, you're getting different code.
You could do it also without a filter, but then you need IF or CASE.
regards,
Hans

Similar Messages

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

  • How do you know a hard drive is bad?

    how do you know a hard drive is bad?

    From the OS X "Help" system:
    Check whether a disk is about to fail
    You can check the health of many disks in Disk Utility. Many disks include Self-Monitoring, Analysis, and Reporting Technology (S.M.A.R.T) hardware, which lets a disk test itself for potential problems.
    Open Disk Utility.
    Select the disk in the list at the left.
    If you see a message saying the disk has a fatal hardware error, the disk has an irreparable hardware problem that can’t be fixed by Disk Utility or any other utility that repairs software problems. Back up as much of the data on the disk as possible, and then replace the disk.
    If you don’t see a message saying the disk has a hardware error but you still have problems with the disk, you can try to repair it with Disk Utility.

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

  • Can anyone recommend a duplicate file finder application for OS10.6 systems?  All the apps I find on the App Store are only for 10.7 and later.  I don't know how to filter a search by operating system (if this is even possible).

    Can anyone recommend a duplicate file finder application for OS10.6 systems?  All the apps I find on the App Store are only for 10.7 and later.  I don't know how to filter a search on the App Store by operating system (if this is even possible).  I currently have a MacBook running OS10.6.8.   If you can recommend an app,  please post the URL.     Would appreciate any helpful suggestions....  
    <Email Edited By Host>

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Do you know if Assessment Filter fields can be use for reports?

    Do you know if Assessment Filter fields can be use for reports?
    I have an Assessment filter field in contacts that it use to capture relavant information for the contact. Because I thought we could use it as another picklist. But when I am creating a report I can find it in the list of fields available for the report.
    Thank you very much
    Catalina Valadez
    Regards

    Hi thank you for the answer but a have another point.
    I am not using asssessment as an object, I am just using the field "assessment filter 3" that is one's of the default field for contacts that you have for customize the application. So I thought it will be show in the list of fields for the reports (Going to Reports -> Design Analysis -> under reporting choosing "Contacts") and I can't see this field, when I'm looking in "Contact Fields".
    Regards
    Catalina Valadez

  • Can we send a request without knowing the actual url..

    Tomcat is running at the back.
    I know the port no on which the server is running now.
    Can we send a request to the server even if we dont know the exact url
    for example I developed a form which authenticates the user, after authenticating the url will be some thing like this
    http://localhost:8090/temp/AdminRegister?uname=user?pass=user123now can the user login even without knowing the exact username and password by manipulating the url..

    it is your own risk to your applets to communicate with DBs because nobody suggests that. I agree with the Javascript story and the frames. It can be done but i thought he wanted to do that in one single page. And finally, i dont trust frames that much. I have seen many times the 404 error found on pages and because i use dynamic pages i have to make connection for each frame. and with throusands users being online it is bad for my server (traffic).

  • SRM Application Monitor filter errors badi/exit

    Hi Guys,
    We want to filter the items from the application monitor error list (PO Backend errors and SC Backend errors).
    We want to let the user see only the PO/SC errors that belong to his purchasing organization.
    I wasn't able to find any exit/badi for these particular views.
    Do you know if there's any exit or any wda that could be enhanced to make this filter work?
    I found a BADI for the SC Monitor, but I want one for the errors.
    Thanks in advance!
    Matias.

    Hello Matias,
        Check with BBP_DOC_CHECK_BADI , it will surly help you a lot.
    BR
    Gaurav Gautam

  • Does anyone know how to filter all items in an XMLListCollection?

    I have a tree with the following structure.
    <node>
    <node1>
    <node2>
    <node3 />
    <node4 />
    <node5 />
    </node2>
    </node1>
    </node>
    I need to be able to filter on node 3, 4 and 5 and then after
    the filter if they don't exist get rid of node 2 level and then do
    another filter function to check if node 2 level is there and if
    not.. then filter out node 1 level. Basically this is a bottom up
    filter. In Flas 2.0 I would filter out the base level by deleting
    nodes.. and then run through the next level and check if they had
    any children or not.. if they didn't then I would delete them.. and
    then I would repeat the step for the last level.
    Does anyone know how to do this without having to remove the
    items from the collection.. basically perform a filter rather then
    a delete. I know the filter function only returns the first element
    of the xml struct.. which is annoying. If anyone can help me out I
    would sure appreciate it?
    Thanks

    I guess the filtering on a tree only passes in the root
    nodes... This is hugely lame on Flex's part. I basically had to
    make my own functions to delete the nodes dynamically.
    Remember this only works on an array item which is dynamic.
    delete list
    To make this work I have a main TreeCollection... and from
    that I made a copy. Treecollection.copy() and deletes stuff from
    the copied struct. After the deletions were done I then assigned
    the copy to the MyTree.dataprovider = copy.

  • 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

  • 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

  • How do I know which memory card is bad?

    I installed (a while back) 20 GB of memory. Now my system shows 12 GB. How do I identify the card that is bad so that I can replace it? And if I leave it as it is, will this crippled memory structure hurt the computer's performance?

    Thanks Hatter & Grant. Sorry I took so long to get back; I had a number of distractions to deal with.
    I looked at the lights on the cards at startup, and all 4 lights lit for both 8GB cards. I tried to run Apple Hardware Test, but have no way to do that: None of the 3 options in Help worked; the computer is not new, the OS is not old, and my OS disk from 2008 doesn't get to the Hardware test either; also tried running the Tester from Internet, but that didn't work.
    I finally ran TechTool Pro 7.2. It showed that the computer was connected to 20GB! But it ran the memory test for 16.86 GB of 20 GB. I don't know what that meant. Successive runs of the memory test said it was testing 14.64 GB, then 14.53 GB out of 20 GB. But in the end, TechTool said that all 20 GB passed! And when I ran the SPD Data test in TechTool, it said all 20 GB passed.
    Then when I looked at the Memory report through About This Mac, it showed 20 GB. It had been showing 12 GB before I started investigating. I suppose taking the side off the Mac to look at the memory lights could have jiggled the cards enough to make a difference. But a while back I had attempted to reseat the two cards, and that hadn't helped. I find it hard to believe that running TechTool would have had an impact, but I suppose stranger things have happened.
    It is possible that when the side of the computer is put in place, it is bumping the memory cards. It looks like there could be a slight interferrence; the clearance is tight. So when I put the side back in place, I will try to make sure that the cards are not being moved.
    And I did get the side panel in place, started the computer, and it now shows that 20 GB of memory is available. So I think the mostly likely cause of the problem was the side panel touching the memory cards - they stick out about 0.25".

  • How do I know if my mouse is bad?  I'm having trouble highlighting text with my mouse, model A1152

    How do I know if my mouse needs to be replaced or if it something else?  I am having increasing trouble highlighting text, it either won't hold the highlighting, or it won't highlight . . . making it impossible to create a link in my emails, to delete text, or copy and paste.
    I have an iMac that is about 4 years old and the mouse that came with it uses a USB port to connect.
    Thanks for any information or suggestions.

    Is it one of those with a little moving/rotating ball on the bottom of it? Have you ever taken that out and cleaned it and the area holding it? It could be dust/dirt in there. I always used a QTip slightly moistened with alcohol.

Maybe you are looking for

  • Wrong Posting against Purchase Order in MIGO

    Hii all, Query: i Have to cancel a Material Document with a Stock Type Quality. Inspection But the UD has been made against the Inspection Lot created while GR and the Stock is updated in Unrestricted Stock. When i cancel the material Document an Err

  • Toshiba 32BV702 LCD has lost all power.

    Hi all, I bought a brand new Toshiba 32BV702B 32-inch Widescreen Full HD 1080p LCD TV with Freeview (to give its full name as advertised!) roughly 2 months ago from a UK Argos. It has worked beautifully ever since, no problems what so ever. Until tod

  • MacBook air or pro for Art student in university?

    Hey, I'm about to start year 12 then go onto study art in university after that. I'm looking to buy a Mac for school and personal use but I'm stuck between the air and the pro. My primary uses are: YouTube Facebook Twitter Downloading & listening to

  • Starting a program from an icon icon

    Is it possible to create a application which is started by an executable icon, and if so how do you do this?

  • Dual Screens - can you do it on the Essential All in One?

    I have a standard Essential all in one.   I thought it would be handy to run dual screens for something I am working on but cannot see a way to do this on the machine.  Is it possible?  Thanks AMC