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.

Similar Messages

  • BADI not accepting filter type

    Hi All,
    I am trying to implement a YBADI in PLM Module using BADI definition  DPR_CONTROLPLAN .
    The filter type are only allowed if the BADI is created as a local object if it is created as a Transportable object (package) then it does not allows the entry (it says specify filter type).
    I am stuck.
    Please if anyone knows the solution to this problem reply as soon as possible.
    Thank you in anticipation.
    Regards,
    Nikhil Moghe.

    Hi Nikhil,
    are you sure about the implementation name?
    In our system I only found DPR_FINR3_CO_CALC but no DPR_CONTROLPLAN so I can't help directly.
    Please check SAP note 900591 and 637137 for details.
    Regards,
    Clemens

  • BADI:Filter type un editable

    Hi all,
    Am not able to edit filter type for BADI_LAYER while implementing.
    this gives error- Specify filter  type.
    please guide how to overcome problem.

    Hi Sanjay
    First display your badi definition in transaction se18,
    on the attributes tab you'll see  "Multiple Use" and "Filter dependent" checkboxes,
    you should see "Filter dependent" checked.
    Than use menu item Enhancement Implementation > Create to create a new implementation.
    Now go to attributes tab you'll see Plus button under the screen click and specify your filter
    in the namespace Z and specify a short declararion for it.
    First Save, Than Activate.
    Let me know if u face a problem.
    Bulent.
    Edited by: Bulent Balci on Jul 6, 2010 5:29 PM

  • Problem in Creation of implementaton for Badi FAGL_DERIVE_SEGMENT

    Hello Abapers,
    I am facing problem when creating a implementaion for BADI FAGL_DERIVE_SEGMENT,
    FAGL_DERIVE_PSEGMENT,
    The error is when i am going to save any of BADI implemenations, Specify filter types..
    The badi is very important to meet my requirement.So How to solve this problem.
    Waiting for your favourable replies.
    Thanks & Regards
    Maruthi.K

    Hi,
            Implementing a Filter-Dependent Business Add-In
    If you want to use a filter-dependent Business Add-In, you will need an implementation for each relevant filter value. Multiple filter values may use the same implementation, however.
    When implementing a filter-dependent Business Add-In, proceed as follows:
    Create an implementation by referring to the corresponding Business Add-In definition.
    Enter a characteristic filter value for the implementation, or choose F4 and select a value from the list of possible entries displayed. In principle, it is possible to define multiple characteristic filter values for each implementation.
    Use the Class Editor to fill the interface method.
    In the string conversion example, you would make the following entries for each country:
    BRD:
    translate parameter to upper case.
    Ireland:
    translate parameter to lower case.
    Italy:
    translate ...
    Repeat steps 1-3 for each implementation that you create.
    Activate your implementations.
    Now, whenever you execute the report program described above, different country-specific implementations are executed.
    Regards

  • BADi FAGL_DERIVE_SEGMENT

    Dear Experts,
    I have a requirement where the Segment Values need to be derived in recording the business transactions. Profit Center Accounting is not implemented and hence need to know whether BADi FAGL_DERIVE_SEGMENT would address the requirement. If so request to please share the points that need to be taken care of....
    Thanks,
    Best Regards,
    Sri

    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 Value for BADI

    Hi,
    Kindly Let me know the Filter Defined for Implementaing
    BADI.
    Hoping for your Response...!!!

    Hi,
    BADI may be implemented depending on a specific filter value( example COUNTRY-SPECIFIC VERSIONS: distinct implementations of the BADI can be created for the COUNTRY).
    a filter type must be entered when defining your enhancement ( a country or industry, for example).
    all methods created in the enhancement's interface have filter value 'FLT_VAL' as their import parameter.
    the method then selects the active implemetation based on the data provided in the filter value.
    for seting the filter value, you must enable the option FILTER DEPEND and provide FILTER TYPE in the ATTRIBUTES of the BADI defination.
    SE18 is the transaction code for creating BADI.
    Filter dependence for BADI definitions means that each interface method automatically has an importing parameter FLT_VAL assigned ot it. This parameter must be filled with a filter value as current parameter when it is called.
    A BADI definition should be marked as filter-dependent whenever the characteristic of the BADI implementation should match the characteristics of the filter type - that is, whenever the implementation of different filter values should be different or should only exist at all for certain filter values.
    Typical filter types are line of industry or country.
    The BADI is filter dependent. In the first tab of your BADI implementation (SE19), the lower half will contain filter details.
    STEPS FOR SETTING UP A FILTER
    just go to se18 and give ur BADI name..
    then Select 'Attributes' Tab ,there u will find option Filter-Dependent in window named "type"..
    check tht filter dependent checkbox and give ur data element/field in the Filter type field say u can give 'MOLGA' ..save and come back..
    now go to se19 and implement this BADi and there u can give filter values for filed MOLGA..
    Reward Points if found helpfull..
    Cheers,
    Chandra Sekhar.

  • 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

  • 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

  • Types of badis

    how many types of badies are there?could u give detailed examples for each badi

    Hi,
    Definition of BAdIs
    Use
    When you define a BAdI, you must specify a name, a BAdI interface as the interface for the enhancement option, and the required filters. The name of a BAdI is in the same namespace as data types from the ABAP Dictionary, global classes, or interfaces. It is recommended that you use suitable prefixes, such as u201CBADI_u201D.
    A filter consists of a filter name and a data type (integer, string, and so on).
    In addition, you also define BAdI properties that are relevant at runtime of a program with the appropriate statements GET BADI and CALL BADI. For more information, see Instance Generation Mode and Multiple Use.
    Other properties that can be assigned to a BAdI include:
    1.     An optional fallback BAdI implementation class. This option is used if no BAdI implementation with suitable filter conditions and no standard implementation is found.
    2.    Whether the BAdI is internal or not.
    An internal BAdI must only be implemented by SAP and is not visible outside of SAP.
    3.    Whether the BAdI is a function code or screen enhancement.
    A BAdI that is defined as a function code enhancement must not have any filters, must not be defined for multiple use, or assigned to any switch. It may contain methods that are independent of the actual function code enhancement.
    A BAdI that is defined as a screen enhancement must be defined in the instance generation mode for the reused instantiation and must not be defined for multiple use. It may contain BAdI methods that can be used to fill or evaluate the screen fields of the respective subscreens
    types of BADI
    Filter dependent Badi
    Business Add-in definition level (for example a country,
    industry sector) we can have filter dependent option. If an enhancement for
    country specific versions then it is likely that different partners can implement
    this enhancement. The individual countries can create and activate their own implementation.
    In the enhancement definition, all the methods created in the enhancementu2019s interface
    need to have filter value as their importing parameter. The application program provides
    the filter values for the implementation method.
    Filter dependent BAdi is called using one filter value only,
    it is possible to check active implementation for the filter
    value using the function module SXC_EXIT_CHECK_ACTIVE.
    Multiple use Badi
    There are multiple use and single use Business Add-ins. This option can be choose at Business Add-in definition.
    The distinction is base on the procedure or event character of an enhancement. In the first case the program waits for the enhancement to return a return code. Typical example is benefit calculation in HR depending on the implementation, alternative calculations can be executed. In case of multiple use add-ins, an event that may be interest to other components in program flow. Any number of components could use this event as a hook to hang their own additional actions on to.
    <REMOVED BY MODERATOR>
    Naresh.
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 5:13 PM

  • Collections Management: Filter Type Invalid

    Hi,
    I am trying to implement a BAdI for distribution of work items to collection specialists.
    I have defined a new distribution procedure but when I create the new implementation and type in my procedure name, when I click the create button I get the error message "Filter value ZLINKS is invalid for filter type UDM_COLL_DIST_ALGORITHM.
    If I drill down into this filter type to the data element the value table UDM_COLL_DISTALG which contains the SAP standard entry SAP_EQDIST and my custom ZLINKS entry.
    Does anyone know why I am receiving this message? Have a missed a step out?
    Advice appreciated.
    David

    Hello Ashish,
    I guess the customizing is not setup properly.
    Look in :
    /SPRO
    /Cross-Application Components
      /Master Data Synchronization
       /Customer/Vendor Integration
        /Business Partner Settings
        /Settings for Customer Integration
         ==>Define BP Role for Direction Customer to BP
    There at least the account group customized with a valid BP role.
    Maybe you should also start from the customer master data standard maintenance (XD02 or XD01) to check if the standard synchronisation is running properly.
    Check for the results and/or errpr codes in transaction MDS_PPO2.
    Eventually deactivate PPO in order to stop processing at the first error. This should help you to find the reason of the trouble.
    /SPRO
    /Cross-Application Components
      /Master Data Synchronization
       /Synchronization Control
        ==>Activate PPO Requests for Platform Objects in the Dialog
        ==>Activate Synchronization Options
    Good luck
    Best regards
    Alain

  • Remove Filter Type from interactive report

    Hi
    is it possible to remove the Filter Type option from an interactive report?
    We don't want to give users the option to select the filter type.
    Many thanks
    Paul

    Hi Paul,
    I don't think you can remove that option. You can hide it. There are several ways to do this, but they would involve css styling. In your page's HTML Header setting, add in:
    &lt;style type="text/css"&gt;
    label[for="apexir_FILTER_TYPE"] {display:none}
    #apexir_FILTER_TYPE.radio_group {display:none}
    &lt;/style&gt;Note that older versions of IE will not handle the first style, but that's just the label. The actual radio buttons are hidden by the second style
    Andy

  • OpenOffice save as dialog filter types

    Hello,
    I have the below java method that displays a OOo save as dialog .
    i have an issue with filter types in this save dialog: it seems the combo box type in save dialog doesn't contain the filters (like "OpenDocument Text") i appended in java method code below . when i click on type combo box the list is empty !
    can someone point me what i'm i doing wrong ?
    how to force the save as dialog to display all possible OOo types in 'type ' combo box ?
    thanks much
    public String showSaveAsDialog() {
            String sStorePath = "";
            XComponent xComponent = null;
            try {
                // the filepicker is instantiated with the global Multicomponentfactory...
                Object oFilePicker = m_xMCF.createInstanceWithContext("com.sun.star.ui.dialogs.FilePicker", m_xContext);
                XFilePicker xFilePicker = (XFilePicker) UnoRuntime.queryInterface(XFilePicker.class, oFilePicker);
                // the defaultname is the initially proposed filename..
                xFilePicker.setDefaultName("MyExampleDocument");
                // set the initial displaydirectory. In this example the user template directory is used
                Object oPathSettings = m_xMCF.createInstanceWithContext("com.sun.star.util.PathSettings",m_xContext);
                XPropertySet xPropertySet = (XPropertySet) com.sun.star.uno.UnoRuntime.queryInterface(XPropertySet.class, oPathSettings);
                String sTemplateUrl = (String) xPropertySet.getPropertyValue("Template_writable");
                xFilePicker.setDisplayDirectory(sTemplateUrl);
                // set the filters of the dialog. The filternames may be retrieved from
                // http://wiki.services.openoffice.org/wiki/Framework/Article/Filter
                XFilterManager xFilterManager = (XFilterManager) UnoRuntime.queryInterface(XFilterManager.class, xFilePicker);
                xFilterManager.appendFilter("OpenDocument Text Template", "writer8_template");
                xFilterManager.appendFilter("OpenDocument Text", "writer8");
                xFilterManager.setCurrentFilter("OpenDocument Text");
                // choose the template that defines the capabilities of the filepicker dialog
                XInitialization xInitialize = (XInitialization) UnoRuntime.queryInterface(XInitialization.class, xFilePicker);
                Short[] listAny = new Short[] { new Short(com.sun.star.ui.dialogs.TemplateDescription.FILESAVE_AUTOEXTENSION)};
                xInitialize.initialize(listAny);
                // add a control to the dialog to add the extension automatically to the filename...
                XFilePickerControlAccess xFilePickerControlAccess = (XFilePickerControlAccess) UnoRuntime.queryInterface(XFilePickerControlAccess.class, xFilePicker);
                xFilePickerControlAccess.setValue(com.sun.star.ui.dialogs.ExtendedFilePickerElementIds.CHECKBOX_AUTOEXTENSION, (short) 0, new Boolean(true));
                xComponent = (XComponent) UnoRuntime.queryInterface(XComponent.class, xFilePicker);
                // execute the dialog...
                XExecutableDialog xExecutable = (XExecutableDialog) UnoRuntime.queryInterface(XExecutableDialog.class, xFilePicker);
                short nResult = xExecutable.execute();
                // query the resulting path of the dialog...
                if (nResult == com.sun.star.ui.dialogs.ExecutableDialogResults.OK){
                    String[] sPathList = xFilePicker.getFiles();
                    if (sPathList.length > 0){
                        sStorePath = sPathList[0];
            } catch (com.sun.star.uno.Exception exception) {
                exception.printStackTrace();
            } finally{
                //make sure always to dispose the component and free the memory!
                if (xComponent != null){
                    xComponent.dispose();
            return sStorePath;
        }

    hmm i solved the issue !
    the trick is to move the filter appending code after call to initialize method :
    so we must append filters last thing before calling execute to show the dialog !
    so this code works :
    xInitialize.initialize(listAny);
                // add a control to the dialog to add the extension automatically to the filename...
                XFilePickerControlAccess xFilePickerControlAccess = (XFilePickerControlAccess) UnoRuntime.queryInterface(XFilePickerControlAccess.class, xFilePicker);
                xFilePickerControlAccess.setValue(com.sun.star.ui.dialogs.ExtendedFilePickerElementIds.CHECKBOX_AUTOEXTENSION, (short) 0, new Boolean(true));
                xComponent = (XComponent) UnoRuntime.queryInterface(XComponent.class, xFilePicker);
                 // set the filters of the dialog. The filternames may be retrieved from
                // http://wiki.services.openoffice.org/wiki/Framework/Article/Filter
                XFilterManager xFilterManager = (XFilterManager) UnoRuntime.queryInterface(XFilterManager.class, xFilePicker);
                //xFilterManager.appendFilter("OpenDocument Text Template", "writer8_template");
                xFilterManager.appendFilter("OpenDocument Text", "writer8");
                xFilterManager.setCurrentFilter("OpenDocument Text");
                // execute the dialog...
                XExecutableDialog xExecutable = (XExecutableDialog) UnoRuntime.queryInterface(XExecutableDialog.class, xFilePicker);
                short nResult = xExecutable.execute();

  • How  can create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version

    Hi All,
                Can any one help, how  to create SEGMENTS and IDOC TYPE in BADI in ECC 6.0 version.This is my task.
    Given BADI name was----VENDOR_ADD_DATA_BI .
    Thanks

    Anil,
    look at this thread ..may be this helps you.
    Re: 824 IDOC and BADI/User Exit
    sateesh.

  • Check for Opportunity type in BADI   CRM_OPPORT_H_BADI

    Hi,
    I am implementing BADI CRM_OPPORT_H_BADI and at the point of creation of an opportunity I want to check the opportunity type. In the structure CS_OPPORT_H_BADI at point of creation , the opportunity type field is blank.
    Is there a way to determine the opportunity type in this BADI when creating a opportunity ?
    Regards
    Chan

    You can use below FM to get the transaction type and object type in BADI CRM_OPPORT_H_BADI.
    CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
          EXPORTING
            iv_orderadm_h_guid     = lv_header_guid
          IMPORTING
            ev_process_type        = lv_proc_type
            ev_object_type         = lv_object_type
          EXCEPTIONS
            admin_header_not_found = 1
            OTHERS                 = 2.
    Opportunity type is not filled until you are in opportunity screen. So you can check transaction type or object type and change start date value.
    Regards,
    Srini

  • Question about the Filter type for the trace provide "Microsoft-Windows-Kernel-File"

    Hello all,
    I have moved this question from the Windows
    Server General Forum accorfing to the suggestion from Mr. Justin Gu 
    I have a question about the Filter function for the trace provider "Microsoft-Windows-Kernel-File".
    I can find the Filter function with the following operation.
    Mr. Justin Gu wrote:
    > You create a Data Collector Set for the trace provider "Microsoft-Windows-Kernel-File" and finish completely, then you > can right click it and select Properties.
    In the Properties dialog box, click Filter and
    then select ‘Edit…’. You will be> able
    to see the Filter type and Filter data in the Filter dialog box.
    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.

    What
    Kind of Filter can
    I use in this Filter dialog box?
    And, how can I set to exclude the some kind of datas?
    Could you give me your suggestion?
    Thank you.
    I'm looking for the same information.

Maybe you are looking for

  • Why do I need to connect QTR and S+ directly on the strain gage?

    I connected two wires with a 2" 120-ohm strain gage. Later, connect these wires to a strip connector. Now connect the red wire from NI system (SCXI-1314 which is already converted for 120-ohm) to red in the strip. This red is P+ in SCXI-1314. Now I c

  • Restore my itunes purchases to new hard drive after crash

    My hard drive on my dell crashed. I am replacing it with a new one, maybe should've gotten a MAC. Will all of my Digital copies and purchased music from my itunes account come back to my new account once I sign on? Please Help

  • My skype to go num is continually busy

    Help, my skype to go num hasn't worked since friday.  it is 5 days now.  what is the deal and why are yall so hard to get in touch with and responses with.  I use this number all the time it is how my boyfriend and i communicate and now i can't call

  • Xml Attributes with ADG

    Hi all, i'm new to flex.I have a problem regarding XML attributes."How to get the XML attribute value from the xml file to Flex application using HTTPService".I tried but it is coming only one attribute value. First i have to get the attribute values

  • My songs keep getting out of order

    I have a few albums which are out of numerical order. I just clicked on song number 1 to play it and it moved to the bottom of the list for that album. I have another album which is completely out of numerical order. I just want to get the tracks bac