Setting Filter on DNL_PLANT

Hello,
We would like to restrict the plants being created in the CRM.  I have tried setting a filter in DNL_PLANT but it doesn't allow me to add the table and field. Has anyone done this before and could you explain how you did it.
Your help is appreciated,
Christine Micke

Hi Murli/Sathya,
Do we also have to mention Site type also in the filter tab.
Could you also let me know how do I restrict the Materials and Products of a particular Group company in our org from entering into CRM from R/3. These have seperate material n product code apart from the standard ones that are configured.
We have set the first two initial letters in order to differentiate between the different materials n products of the each Group Company.
Have tried Tx:: R3AM1 but here in the adapter setting how do I filter specific materials or products.
Regards,
Amit

Similar Messages

  • How to set filter for few Setup Objects on Geneneral Foundation?

    Controlling the download of sub-entities:
    By default all sub-entities are downloaded. Pass a non-existing value
    for the parameter (primary key) of the sub-entity if you don't want to
    download a specific sub-entity.
    For example, if you don't want to download the values of a value set,
    then use following input to FLEX_VALUE attribute while setting filter;
    FLEX_VALUE='THIS_IS_A_NON_EXISTING_VALUE_I_DONT_WANT_TO_DOWNLOAD_VALUES'
    VALUE_SET
    Notes:
    - To download '$FLEX$.%' value sets pass '$FLEX$.%' argument.
    - Upload API automatically submits the hierarchy compiler request
    - FLEX_VALUE_SET_NAME is a required argument for download.
    You can find the following parameters in Set Filter screen of Value Set Values.
    VALUE_SET has subenities such as VSET_SECURITY_RULE, VSET_ROLLUP_GROUP and VSET_VALUE.
    Setting value for attribute FLEX_VALUE_SET_NAME downloads all the subentities. If you want
    to restrict the subentities, set appropriate filter at VSET_SECURITY_RULE, VSET_ROLLUP_GROUP
    and VSET_VALUE.
    Parameters:
    VALUE_SET
    | FLEX_VALUE_SET_NAME : Value set name.
    |
    +-VSET_SECURITY_RULE
    | FLEX_VALUE_RULE_NAME : Value set security rule name.
    | PARENT_FLEX_VALUE_LOW : Independent value for the dependent value sets.
    |
    +-VSET_ROLLUP_GROUP
    | HIERARCHY_CODE : Hierarchy (rollup group) code.
    |
    +-VSET_VALUE
    PARENT_FLEX_VALUE_LOW : Independent value for the dependent value sets.
    FLEX_VALUE : Flexfield segment value.
    DESC_FLEX
    Notes:
    - Upload API automatically submits the flexfield compiler request
    - Upload API automatically submits the DFV view generator request
    - APPLICATION_SHORT_NAME is a required argument for download.
    You can find the following parameters in Set Filter screen of Descriptive Flexfields.
    DESC_FLEX has subenities such as DFF_REF_FIELD, DFF_CONTEXT and DFF_SEGMENT.
    Setting value for attributes DESC_FLEX and DESCRIPTIVE_FLEXFIELD_NAME downloads all the subentities.
    If you want to restrict the subentities, set appropriate filter at DFF_REF_FIELD, DFF_CONTEXT
    and DFF_SEGMENT.
    Parameters:
    DESC_FLEX
    | APPLICATION_SHORT_NAME : Application Short Name.
    | DESCRIPTIVE_FLEXFIELD_NAME : Descriptive Flexfield Name.
    |
    +-DFF_REF_FIELD
    | DEFAULT_CONTEXT_FIELD_NAME : BLOCK.FIELD reference field name.
    |
    +-DFF_CONTEXT
    | DESCRIPTIVE_FLEX_CONTEXT_CODE : Context Code
    |
    +-DFF_SEGMENT
    END_USER_COLUMN_NAME : Segment Name
    APPLICATION_COLUMN_NAME : Column Name
    KEY_FLEX
    Notes:
    - Upload API automatically submits the flexfield compiler request
    - Upload API automatically submits the KFV view generator request
    - Upload API automatically submits the structure view generator request
    - APPLICATION_SHORT_NAME is a required argument for download.
    You can find the following parameters in Set Filter screen of Key Flexfields.
    KEY_FLEX has subenities such as DFF_REF_FIELD, DFF_CONTEXT and DFF_SEGMENT.
    Setting value for attributes APPLICATION_SHORT_NAME and ID_FLEX_CODE downloads all the subentities.
    If you want to restrict the subentities, set appropriate filter at KFF_FLEX_QUAL, KFF_SEGMENT_QUAL,
    ,KFF_STRUCTURE,KFF_WF_PROCESS,KFF_SH_ALIAS,KFF_CVR_RULE and KFF_SEGMENT.
    Parameters:
    KEY_FLEX
    | APPLICATION_SHORT_NAME : Application Short Name.
    | ID_FLEX_CODE : Key Flexfield Code.
    |
    +-KFF_FLEX_QUAL
    | | SEGMENT_ATTRIBUTE_TYPE : Flexfield Qualifier Name
    | |
    | +-KFF_SEGMENT_QUAL
    | VALUE_ATTRIBUTE_TYPE : Segment Qualifier Name
    |
    +-KFF_STRUCTURE
    | ID_FLEX_STRUCTURE_CODE : Structure Code
    |
    +-KFF_WF_PROCESS
    | WF_ITEM_TYPE : Workflow Item Type
    |
    +-KFF_SH_ALIAS
    | ALIAS_NAME : Shorthand Alias Name
    |
    +-KFF_CVR_RULE
    | FLEX_VALIDATION_RULE_NAME : Cross Val. Rule Name.
    |
    +-KFF_SEGMENT
    SEGMENT_NAME : Segment Name
    APPLICATION_COLUMN_NAME : Column Name
    MENU
    You can find the following parameters in Set Filter screen of Menus.
    PARENT_MENU_NAME Name of the menu to start downloading at. If this
    parameter is specified on its own, that menu and
    all its children will be downloaded. If specified
    with FUNCTION_NAME and/or SUB_MENU_NAME, then only
    the menu entry with that function and/or submenu name
    immediately under the PARENT_MENU_NAME will be
    downloaded.
    FUNCTION_NAME Function name to limit download to. If this parameter
    is specified then PARENT_MENU_NAME must also be
    specified in order to download menus. Specifies
    the function on a menu entry immediately under
    PARENT_MENU_NAME which will be downloaded; all other
    menu entries under PARENT_MENU_NAME will not be
    downloaded.
    SUB_MENU_NAME Sub Menu name to limit download to. If this parameter
    is specified then PARENT_MENU_NAME must also be
    specified in order to download menus. Specifies
    the Sub Menu on a menu entry immediately under
    PARENT_MENU_NAME which will be downloaded (along with
    all its children); all other menu entries under
    PARENT_MENU_NAME will not be downloaded.
    MENU_APP_SHORT_NAME Application short name of Menu. The menu on the resp
    for this application will be downloaded. If you
    pass this parameter, do not pass any of the other
    parameters; this parameter is only supported on its
    own.

    Oh never mind.... I figured it out myself helps to read up on the manuals. d'oh. sorry for the bandwidth waste...

  • Run time error when set filter on the request id in the output query.

    Hi all,
    I am getting a run time error when I select the request id and set filter on that and  when i am selecting all the request id it contains around 2lacs values in that If i cliked ok on that .
    It popped up a msg like this
    " Run time error 61706
    Insufficient memory to perform operation "

    User was educated not to select the entire data in the filter

  • How to disable 'set filter' in alv list display

    Hi Friends,
    I am working on alv report and I came across a requirement that I need to disable the 'set filter' to restrict the user from filtering records in output.
    please help on this.
    thanks in advance.

    HI
    check these sample codes
    Here are some code snippets:
    FORM output_report.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = 'ZRRRMPROJSTAT'
    is_layout = gs_layout
    it_fieldcat = gt_fieldcat
    it_sort = gt_sort
    i_save = 'A'
    it_events = gt_events
    TABLES
    t_outtab = i_project
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    ENDFORM. " output_report
    FORM build_fieldcat.
    DATA: s_fieldcat TYPE slis_fieldcat_alv.
    DATA: l_col_count like s_fieldcat-col_pos.
    l_col_count = 1.
    CLEAR s_fieldcat.
    s_fieldcat-col_pos = l_col_count.
    l_col_count = l_col_count + 1.
    s_fieldcat-tabname = i_project.
    s_fieldcat-fieldname = 'PSPID'.
    s_fieldcat-datatype = 'CHAR'.
    s_fieldcat-outputlen = '10'.
    s_fieldcat-seltext_l = 'Project Number'.
    s_fieldcat-seltext_m = 'Project Number'.
    s_fieldcat-seltext_s = 'Project Number'.
    s_fieldcat-key = 'X'.
    s_fieldcat-fix_column = 'X'.
    s_fieldcat-just = 'C'.
    s_fieldcat-no_zero = 'X'.
    APPEND s_fieldcat TO gt_fieldcat.
    * and so on....
    ENDFORM
    FORM sort_layout.
    DATA: ls_sort TYPE slis_sortinfo_alv.
    REFRESH gt_sort.
    CLEAR ls_sort.
    ls_sort-spos = '1'.
    ls_sort-tabname = 'i_project'.
    ls_sort-fieldname = 'PSPID'.
    APPEND ls_sort TO gt_sort.
    CLEAR ls_sort.
    ls_sort-spos = '2'.
    ls_sort-tabname = 'i_project'.
    ls_sort-fieldname = 'POSID'.
    APPEND ls_sort TO gt_sort.
    ENDFORM. " sort_layout
    FORM build_layout.
    CLEAR gs_layout.
    * gs_layout-totals_before_items = 'X'.
    gs_layout-zebra = 'X'.
    gs_layout-numc_sum = 'X'.
    gs_layout-get_selinfos = 'X'.
    gs_layout-box_tabname = 'X'.
    gs_layout-info_fieldname = 'COLOR'.
    ENDFORM. "
    Reward alll helpfull answers
    Regards
    Pavan

  • Problem in ALV set filter option

    Hi to all
    I have an issue regarding ALV report :
    I have developed an ALV report and it is showing report output correctly as required.
    when I further filter it on a particular field using SET FILTER OPTION , the length of the field is shorter than displayed.
    Why this happens so.
    BUT for the same field in a standard ALV report , it shows the same length as displayed in report.
    Please advice. As this is the standard ALV functionality.
    Thanks & Regards
    Anubhav gupta

    Hi Gupta,
    <li>Define layout structure
    data: wa_layout   TYPE slis_layout_alv.
    <li>Pass value like below
      wa_layout-colwidth_optimize = 'X'.
    <li>Pass this structure through fm
        CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
             EXPORTING
                  i_callback_program = program
                  it_fieldcat        = it_fieldcat
                  is_layout          = wa_layout
                  it_events          = it_events
             TABLES
                  t_outtab           = i_mard.
    Thanks
    Venkat.O

  • Display medium text in a 'set filter' box

    I have a hierarchy and populated all levels of text(small, medium, and long).  We want to display the medium text when reporting.  I have made all the required changes to display the medium text of the hierarchy for reporting.  That works great!  However, when you hit the 'set filter value', the filter box shows the hierarchy with the small text.  Is there a way to change the text display for the filter box?
    Thanks,
    Matt

    Take a look at the following thread:
    F4 help - Search values - I need key and text
    Hope this helps...
    Bob

  • ALV Question : How to set filter condition which contain dummy character?

    Hi,
    I want to set filter condition of ALV dynamicly (In my code),
    for example, set 'X' as filter condition in column "Description",
    I add the code successfully, but I can't get the correct filtered result, Why?

    Please post ur code here.
    U have to get a  handle to the IF_SALV_WD_FILTER interface
    data ref_filter   type ref to IF_SALV_WD_FILTER  .
    ref_filter ?= m_config_model->IF_SALV_WD_FIELD_SETTINGS~GET_FIELD( 'FIELD DESCRIPTION' )
    ref_filter->CREATE_FILTER_RULE( 
                       low_val = 'X'
    Now when u load the ALV tabl;e u should see a X value in the filter row, for the column 'FIELD DESCRIPTION'  and the filter should happen.
    As I said, pls paste ur code here.

  • BI Application Frame - set filter values

    Hi,
    I have a BI application frame in my WebDynpro ABAP component and I want to set filter values. The variables are already defined in the BEx query so I only want to pass the values of the variables.
    Does anybody have an idea how to do this?
    Regards,
    Steffen

    Any help...

  • Pre-setting filter value

    Hi,
    I have a page wich has a tabstrip with 2 tabs.
    On tab 1 all keyvalues are displayed in a table view, on tab 2 all details for all keyvalues are also displayed in a table view but with a filterfunction.
    When i select a keyvalue on tab1 and navigate to tab2 is want to set the filtervalue of the tableview prior for displaying.
    I'm using the cl_htmlb_manager=>set_filter_row_value when selecting a keyvalue during the DO_HANDLE_EVENT in the ControllerClass.
    But when i navigate to tab2 no filtering is done, the id is correctly filled.
      CASE event.
        WHEN 'id_tabstrip'.
    *     Keuze tabstrip met artikelen
          IF     lrf_model->h_active_tab = 'id_keyvalue'.
    *       User switches to detail tab
    *       Set filter TableView Details
            lh_filter_value = lrf_model->selected_key_value.
            CALL METHOD cl_htmlb_manager=>set_filter_row_value
              EXPORTING
              request           = request
              id                   = 'id_tv_detail'
              column_index = '1'
              value              = lh_filter_value.
    Can it work?

    Hi,
    Is there a possibillity to pre-setting a filter value.
    I cannot filter the table manually and the switch to the next tab because then the filter functionality won't work.
    Hope to hear from you..

  • FileDialog, how to set filter?

    i try to use
    setFilenameFilter(FilenameFilter filter)
    to set filter for FileDialog, but FilenameFilter is an interface, what is the story?
    do u know how to set filter?
    thanks in advance

    Construct a FileFilter class like:
    public class CustomFilter implements FileFilter{
         public CustomFilter(){
    public String getFileExtension(File file) {
    String ext = null;
    String s = file.getName();
    int i = s.lastIndexOf(".") + 1;
    ext = s.substring(i).toLowerCase();
    return ext;
    public String doSomething(){
    //do Something
    //return something
    and use the setFileFilter(FileFilter filter) method.

  • Set filter

    Hi,
    I´m trying to set filter for one dataprovider with this command:
    Atualiza
    What is wrong ? And after this work fine, I will need to filter Infoobject 'Z4CRMCHA' with 2 values ? Is it possible ?
    For example:
    ...FILTER_IOBJNM_2='Z4CRMCHA' FILTER_VALUE_2='A H L' AND FILTER_VALUE_2='MAEDA'>...
    Thank you, this is very important.
    Marcelo

    Hi Aleksi, thank you. Now I can filtering by Z4CRMEG, but the second filter didn´t work. Z4CRMEG is compound of Z4CRMCHA. I tried to do in 3 steps:
    Remove filter
    Remove
    Set filter type 'D' (Customer classification)
    Filter one
    Set second filter (It didn´t work)
    Filter two

  • Try to set filter in webtemplates (WAD) via URL

    Hi,
    I try to set filter via url. I have one report and create a view. This view is shown via webtemplate. Now I try to generate a url with special parameter to set some filter automatically. The normal view has all countries but now I need a view with Germany and another view with Austria. I want to create no other view for that I would modify the filter via URL parameter like ...?template_id=tempalte_1&land_bu=Germany.
    Greets, Thomas

    Hi Thomas,
    if you need information about 3.5 technologie go to sap.help.com and choose the help for SAP NetWeaver 2004 (without the 's').
    There you will find the information if you search with the string 'Command URLs' or try http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/frameset.htm
    Regards
    Lars

  • When we use set filter in ale?

    when we use set filter in ale.only that data wil go that we set in filter.
    Edited by: Alvaro Tejada Galindo on Feb 6, 2008 5:11 PM

    Yeah. Precisely.

  • Set Filter in ALV report, blank screen returned

    I have a standard ALV report (uses REUSE_ALV_GRID_DISPLAY).  The user has to be able to filter the results based on entries from certain columns.
    When I try to filter any columns other than a column with a date a blank screen is returned.
    This filtering problem only exists with the Single value field. I can filter the results in the "select ranges", "exclude values" and "exclude ranges" without any problems.
    Any suggestions?
    Edited by: Damien Crowe on Jul 6, 2009 5:09 PM
    Set the fieldcatalog-edit_maskto "==ALPHA".
    Edited by: Damien Crowe on Jul 14, 2009 5:35 PM

    what was the solution to this problem?
    Thanks

  • Lead Selection does not work after setting filter for ALV.

    Hi, Can you please suggest on below scenario :
    I have a Node with a sub node in it .
    I am using the supply function on Sub Node to retrieve the date based on Parent Node.
    There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
    One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
    Thanks In Advance

    Hi Prashanthi,
    Your issue can be resolved as below
    Create an event handler method 'set_alv_data'  for the event 'ON_LEAD_SELECT' of parent alv
    Write the below code inside the event handler method
    METHOD set_alv_data.
      DATA lo_node TYPE REF TO if_wd_context_node.
      DATA lv_path TYPE string.
      DATA lv_index TYPE string.
      lv_index = r_param->index.
      CONDENSE lv_index.
      CONCATENATE wd_this->wdctx_my_parent_node
      lv_index
      wd_this->wdctx_my_child_node
      INTO lv_path SEPARATED BY '.'.
      lo_node = wd_context->path_get_node(
          path                          = lv_path
      DATA lo_interface TYPE REF TO iwci_salv_wd_table.
      lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
      lo_interface->set_data(
        EXPORTING
    *    only_if_new_descr =
          r_node_data       = lo_node
    ENDMETHOD.
    The above code sets the data node of child alv based on lead selection of parent alv data.
    Note: Replace 'parent_node', 'child_node'  with your nodes & 'alv_child' with your alv component name of child alv.
    If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE'  & now you can clear data of child alv.
    Hope this helps you.
    Regards,
    Rama

Maybe you are looking for

  • How do I format envelopes in pages on my ipad?

    How to I format and print an envelope on pages on my ipad?  I use pages on my computer and it has an envelope template but the ipad pages doesn't seem to.

  • A Game for my Mac...

    Hello I have iBook G4 1.33Ghz 512MB RAM and poor GPU.. Running OS X 10.5.5 I'm looking for some Racing Game for my mac and it's important that it runs well on my iBook.. I've been looking around but haven't found anything.. Some rally would be good..

  • Changing camera quality settings?

    Is there a way to change any quality settings for either the camera or the video camera? Thanks.

  • Why cant I  Runtime.exec(file.getAbsolutePath())  ???

    I want to run custom file (not directory!) using Runtime.exec() (or you know other way? :) ) Here is what i get:: java.io.IOException: CreateProcess: C:\Documents and Settings\Sugar.SERVER\jbproject\test\theFileICannotOpen.txt error=2      at java.la

  • Two views of the same query

    Hi, In the WAD, If I try to attach one view of a query to a chart and another view of the same query to a table, both of the them display the results of the first view. What is the reason? Thanks.