Filter - data table

Can I use Xcelsius just to show on an organised way a part of a table with filters?
Ex.:
Type     Team     Week     Game.Nr.     Date     Hour     Location     Homa     Gast
BvV     CadJL     34     80226     23/08/08     10:00     A     BBC Kangoeroes Willebr - A     Basket Tongeren
BvV     JunJL     34     80124     23/08/08     15:00     WEG     BBC Helios Zottegem     BBC Kangoeroes Willebr - A
Comp     JunJL     35     13108092     30/08/08     11:00     A     BBC Kangoeroes Willebr - A     BBC Schelle - A
Comp     CadJL     35     13120092     30/08/08     13:00     A     BBC Kangoeroes Willebr     BBC Geel
Comp     CadPM     35     6101125     30/08/08     10:45     WEG     Londerzeelse Dunkers - B     Dames Willebroek
Comp     JunJL     36     13108103     6/09/08     11:00     A     BBC Kangoeroes Willebr - A     BBC Falco Gent - A
With the filter I want the user to select a Team and/or week  The result should be a table only matching one or both criteria

Hi Wim,
As you have discovered, my experience also has been that the filter selector only selects a single row.  This is also consistent with the animated help for this component.
The following "workaround" to the limitation of the Filter Selector component will meet your requirement:
1) Place a Combo Box component on the canvas for each of the filter criteria you require;
2) Link the Labels property of each combo box to a cell range that contains a list of the unique values;
3) Set the Data Insertion Type of each Combo Box to "Label" and bind to a Destination cell to receive the selected item;
4) Define a formula cell to act as the filter key, which is a concatenation of all of the values of the Destination cells from step 3;
5) Insert a new column at the beginning of your data table to act as the filter key for each row in the table.  Each row in this column should contain a formula that concatenates each of the cells that correspond to the columns you want to filter by;
6) Place an additional Combo Box on the canvas.  Set the Labels property to the range of cells in the filter key column defined in step 5.  Set the Data Insertion Type to "Filtered Rows".  Set the Source Data range to all of the cells in your table.  Set the Destination Data to an area in the spreadsheet that will receive the filtered subset of rows from your original data table.  Set the Selected Item property of this combo box to reference the filter key formula cell defined in step 4;
7) Place a spreadsheet table component on the canvas and link the Display Data property to the Destination cell range defined in step 6.
Once you have the layout as desired, hide the Combo Box defined in Step 6 behind the spreadsheet table defined in step 7 so that the end user cannot interact with it.  This Combo Box is used as an indirect method of dynamically filtering the rows from your data table.
One other point to keep in mind:  Xcelsius does not handle large volumes of data very well.  Depending on the number of columns in your 500 row table, you may experience performance issues, or Xcelsius may stop responding altogether.
The above approach may seem convoluted but it achieves the desired result.
Let me know if you need any clarification of the above technique.
Regards,
Mustafa.

Similar Messages

  • Filter Date Table (SSAS Tabular)

    Hi Guys,
    I'll try to define my issue as clear as possible.
    Am creating a model for SSAS Tabular but I have following problem.
    I have a Date Table that I want to filter depending on what the user select from another table with values like:
    Today, Yesterday, This Week, Last Week, This Month, Last Month, .....
    What I have tried:
    (1) My Date table contains flags(columns) for each of these values. Filtering on these values is no problem. But then I have a long list of different possible flags.
    (2) I created a copy of my date table but with the flags unpivoted (DateId, FlagName, Value (0 or 1))
    I was hoping to be able to create somehow a relation between my date table and this table, but no success.
    Also this way I would have a field that users can filter on (choose what period they want to see)
    But sadly enough (2) did not work and I can not find any other way to find a solution for it.
    Any help would be great.
    Regards,
    Sammy

    In your date table, you can create different attribute for
    each condition below:
    1. Today, 2. Yesterday, 3. This Week, 4. Last Week, 5. This Month, 6. Last Month
    So, if we consider above attributes there will be 6 different attributes with "Yes/No" Or "True/ False" Or "1/0" whatever flag.
    I would suggest you to calculate these conditions in sql query which will be faster compared to calculated columns in the model.
    Unfortunately, tabular model 2012 do not support dynamic set so you cannot build a single attribute with these values @server side.
    I had similar question sometime back, check if you find something useful from this thread -
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/302dd796-2677-44df-a76e-b053dcd14117/ssas-tabular-model-dynamic-fiscal-period?forum=sqlanalysisservices
    If this post answers your query, please click "Mark As Answer" or "Vote as Helpful".

  • Filter data table in Powershell

    Hi All,
    I have one script, where i have one datatable, from that datatable i want to get data based on one search filter. 
    #Get the excel as csv and load in datatable...
    $empTable = New-Object System.Data.DataTable;
    $empTable = Import-Csv -Path "~\Employee.csv";
    #Get only Month column from the data table...
    $empMonthTable = New-Object System.Data.DataTable;
    $empMonthTable = $empTable | Select-Object -Property "Month";
    #Sort the data table...
    $sortMonth = New-Object System.Data.DataTable;
    $sortMonth = $empMonthTable | Sort-Object -Property Month;
    #Get Unique data from data table...
    $unqiueMonth = New-Object System.Data.DataTable;
    $uniqueMonth = $sortMonth | Select-Object -Unique Month;
    #Get data from datatable with unique month...
    foreach ($monthData in $uniqueMonth)
    [string] $month = $monthData | Out-String;
    $month;
    $eachMonthData = $empTable | Where-Object {$_.Month -eq $month};
    $eachMonthData;
    Here in output of "$eachMonthData" is returning null table. But if there am putting hardcoded value like "Mar", then table is returning values.
    Could you please suggest me how to achieve this?

    can you please explain more clearly

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • Af:table filter date format : task-flow navigation issue

    hi
    When trying to use the date format configured on the Entity Object, with Format Type as Simple Date and Format as "dd-MM-yyyy", there seems to be a problem when using task-flows.
    The approach involves an explicitly configured attributeValues binding to use in f:validator and af:convertDateTime components in the af:inputDate in the filter facet, as discussed in the forum thread "af:table filter date format"
    at af:table filter date format
    I used JDeveloper 11.1.1.3.0 to create the example application
    in http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.03.zip
    - The page filterEmp.jspx shows expected behaviour, the filter uses the configured date format and there is no problem when navigating to another page and back.
    see the screencast at http://screencast.com/t/CtQ9rsVFH3k
    - The page menuBTFPage.jspx allows for some navigation after using the filter resulting in the filter showing a date in the wrong format, using scenario (sc1)
    -- (sc1-a) : run menuBTFPage.jspx
    -- (sc1-b) : on "menu-btf : menu", click the "do go-filter-emp-btf" link
    -- (sc1-c) : on "filter-emp-btf : filterEmpFragment", filter on HireDate using "10-03-2005"
    -- (sc1-d) : click the "do goReturnSuccess" button
    -- (sc1-e) : back on "menu-btf : menu", click the "do go-filter-emp-btf" link again
    -- (sc1-f) : back on "filter-emp-btf : filterEmpFragment", see the HireDate filter value in the wrong format as "2005-03-10"
    -- (sc1-g) : click the "do goReturnSuccess" button again, which results in an error "The date is not in the correct format."
    see the screencast at http://www.screencast.com/t/ORHauBd3oQ
    questions:
    - (q1) Can the behaviour in scenario (sc1) be reproduced?
    - (q2) Why is the filter value in the wrong date format in step (sc1-f)?
    - (q3) What can be done to have the filter value consistently in the configured date format, so that errors as in step (sc1-g) can be avoided?
    many thanks
    Jan Vervecken

    hi
    First a short summary of relevant aspects of service request 3-2190488381:
    - development has reviewed bug 10193260
    - development identified some code where a pattern was not applied and started fixing the problem
    - out of the blue, development asked "Will clearing out the filter field completely when moving out of ataskflow be an acceptable behavior ?"
    - I pointed out some concerns (even in a phone call with development), but development did not see any alternative not "perceived to be very risky because of the current design", so the question whether the clearing-all-filter-fields approach would be acceptable became superfluous.
    - following this, bug 10193260 suddenly became an enhancement request (for reasons I still don't understand)
    - a workaround was suggested (for behaviour not perceived as a bug), "Clearing the search fields during taskflow exit in the backing bean (in the app)." for which I also received a modified version of my example application TableFilterDateFormatIssueApp-v0.04.zip with an implementation of the suggested workaround
    As an exercise to try an understand the suggested workaround (an because my example application seemed to have been modified using the currently yet-to-be-released JDeveloper 11.1.1.4.0) I re-implemented it in the example application
    at http://www.consideringred.com/files/oracle/2010/TableFilterDateFormatIssueApp-v0.05.zip
    It has a filter-emp-workaround-btf task-flow with a method-call activity on a managed-bean method, responsible for clearing the search fields, resulting in behaviour where the error "The date is not in the correct format." does not occur,
    as can be seen in the screencast at http://screencast.com/t/Nq7TkkRQ
      public void clearFilterFields()
        BindingContainer vBindingContainer =
          BindingContext.getCurrent().getCurrentBindingsEntry();
        DCBindingContainer vDCBindingContainer = (DCBindingContainer)vBindingContainer;
        DCDataControl vDCDataControl = vDCBindingContainer.getDataControl();
        ApplicationModule vApplicationModule = vDCDataControl.getApplicationModule();
        ViewObject vViewObject = vApplicationModule.findViewObject("EmployeesVOVI");
        ViewCriteriaManager vViewCriteriaManager = vViewObject.getViewCriteriaManager();
        vViewCriteriaManager.clearViewCriterias();
        vViewObject.clearCache();
      }Because the managed-bean method requires access to the ADF Model binding layer to get to the View Object instance used for the filtered table, the method-call activity has a page element configured in DataBindings.cpx referring to the same usageId as the page element for the page fragment showing the filtered table. So that both the method-call and view activity depend on one and the same Binding Container (e.i. PageDef file).
    The method-call activity, responsible for clearing the search fields, would need to be called before each task-flow-return activity.
    As there can be multiple view activities with multiple filtered tables in a bounded task-flow, would that result in multiple method-call activities responsible for clearing search fields (all to be called before each task-flow-return activity)?
    It looks like a more general/generic approach is desirable for the suggested workaround to be feasible.
    - (q5) Does the suggested workaround imply (as bug 10193260 is not a bug) that all bounded task-flows with filtered tables should implement it to avoid errors about formatting?
    thanks
    Jan

  • How can I filter data in itab.... which was retrived from infotypes.

    Hi all,
      I am trying to filter data for one internal table (ex: IT_FINAL ) by comparing those values from standard table (ex: PA0000).First I had sucessfully uploaded all data from presentation server, Now I want to compare all field value (ex: PERNR)  from internal table (IT_FINAL-PERNR) and standerd table (PA0000-PERNR).If there is no matching record. then move those records to  another internal table (ex: IT_ERROR).
      I had tried by keeping that comparing code in loop. But I am not getting what i want.
    I am sending my code here.. please suggest me to solve this issue.
    SOURCE CODE
    TABLES: PERNR, PA0000.
    TYPES : BEGIN OF t_final,
             PERNR TYPE PERNR_D,
             BEGDA TYPE CHAR10,
             ENDDA TYPE CHAR10,
             SUBTY TYPE SUBTY,
             FANAM TYPE PAD_NACHN,
             FAVOR TYPE FAVOR,
             GESC2 TYPE GESC2,
             GESC1 TYPE GESC1,
             FGBDT TYPE CHAR10,
            END OF t_final,
            BEGIN OF t_raw,
             line TYPE char100,
            END OF t_raw.
    DATA : it_final TYPE STANDARD TABLE OF t_final,
           it_raw   TYPE STANDARD TABLE OF t_raw,
           it_error TYPE STANDARD TABLE OF bdcmsgcoll.
    DATA : wa_final TYPE t_final,
           wa_raw   TYPE t_raw,
           wa_error TYPE bdcmsgcoll.
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'E:\Suri_test\BDC_TEST\test02.txt'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = IT_RAW.
    IF SY-SUBRC EQ 0.
    LOOP AT it_raw INTO wa_raw.
          SPLIT wa_raw
             AT '/'
           INTO WA_FINAL-PERNR
                WA_FINAL-SUBTY
                WA_FINAL-BEGDA
                WA_FINAL-ENDDA
                WA_FINAL-FANAM
                WA_FINAL-FAVOR
                WA_FINAL-GESC2
                WA_FINAL-GESC1
                WA_FINAL-FGBDT.
      WRITE:/   WA_FINAL-PERNR,
                WA_FINAL-SUBTY,
                WA_FINAL-BEGDA,
                WA_FINAL-ENDDA,
                WA_FINAL-FANAM,
                WA_FINAL-FAVOR,
                WA_FINAL-GESC2,
                WA_FINAL-GESC1,
                WA_FINAL-FGBDT.
    APPEND WA_FINAL TO IT_FINAL.
    CLEAR WA_FINAL.
    ENDLOOP.
    *NOW I GOT RECORDS IN IT_FINAL.
    LOOP AT PA0000 ??????????.
    IF PA0000-PERNR EQ WA_FINAL-PERNR.
    WRITE:/   WA_FINAL-PERNR,
                   WA_FINAL-SUBTY.
    ELSE.
    WRITE:/ 'HELLO NOT MATCHED DATA.'.
    move to IT_ERROR.??????????
    ENDIF.
    ENDLOOP.
    ENDIF.
    *TEST DATA..............................................
    5/2/21.04.2007/31.12.9999/BOY/BATLANKI//X/21.04.2007
    54099520/12/02.03.2005/31.12.9999/SANTHI/BATLANK/X//20.10.1954
    3453/12/02.03.2005/31.12.9999/SANTHI/BATLANK/X//20.10.1954
    54099520/13/02.03.2005/31.12.9999/JAGAN/PYDIPALLI//X/25.01.1981
      Thanks in advance,
      Surender. B.V.

    Hi Surender,
    In the below program it doesnt look like you are querying PA0000 database table @ all.
    Do this, once you have the presentation server uploaded into internal table IT_FINAL:
    IF IT_FINAL[ ] IS NOT INITIAL.
    SELECT DISTINCT PERNR FROM PA0000 INTO TABLE IT_PA0000
    FOR ALL ENTRIES IN IT_FINAL
    WHERE PERNR EQ IT_FINAL-PERNR.
    ENDIF.
    sort it_pa0000 by pernr.
    Loop at it_final into w_final.
    read table it_pa0000 into w_pa0000
    with key pernr = w_final-pernr
    binary search.
    if sy-subrc eq 0.
    write:/ 'match for personnel ' , w_final-pernr , ' found'.
    else,
    write:/ 'match not found for personnel ' , w_final-pernr.
    endif.
    endloop.
    p.s. declaration of internal table It_pa0000 should contain only one field pernr .... if you want you can add more fields and change the SELECT query above accordingly
    Edited by: Aditya Laud on Jan 25, 2008 2:57 AM

  • How to filter data by list item

    hi all,
    I create list item on block BLK1 ,
    name :emp_name
    item type: list item
    elements in list : list_elements : (null) list_item : (null)     
    data type : Char
    maximum length : 200
    and create PROCEDURE :
    PROCEDURE POPULATE_LIST_BY_QUERY(P_LIST_NAME VARCHAR2,P_QUERY VARCHAR2) IS
       RG_NAME  VARCHAR2(30) := 'RG_CODE_DESC' ;
       RG_ID    RecordGroup;
       errcode  NUMBER;
       LIST_ID  ITEM;
    BEGIN
         RG_ID := FIND_GROUP(RG_NAME);
         IF NOT ID_NULL (RG_ID)
            THEN DELETE_GROUP (RG_ID) ;
         END IF;
         RG_ID   := Create_Group_From_Query (RG_NAME, P_QUERY) ; 
         errcode := Populate_Group (RG_ID) ;  
         LIST_ID := FIND_ITEM (P_LIST_NAME) ;
         POPULATE_LIST (LIST_ID,RG_ID) ;
    END;and wrote in trigger WHEN_NEW_FORM_INSTANCE:
      POPULATE_LIST_BY_QUERY('BLK1.emp_name', 'SELECT emp_name,emp_id FROM employees');
    create table employees
    (emp_no number(10) primary key,
    emp_name varchar2(200))
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (1, 'hhh uuo');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (2, 'hh ppp');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (3, 'ph');
    Insert into EMPLOYEES
       (EMP_NO, EMP_NAME)
    Values
       (4, 'uuuuu');
    COMMIT;when Run my form list item give me all data, no problem ,ok
    My question is that can i want to filter data when write anythnig data is found im my list or part of data,
    show data only by my filter,
    for example:
    I wrote in my list : hh
    show data in list:
    hhh uuo
    hh ppp
    I wrote in my list : h
    show data in list:
    hhh uuo
    hh ppp
    ph
    I wrote in my list : uu
    show data in list:
    uuuuu
    if not wrote anything fetch me all data,
    Thanks a lot

    Hi,
    You can try,
    POPULATE_LIST_BY_QUERY('BLK1.EMP_NAME', 'SELECT EMP_NAME, EMP_ID FROM EMPLOYEES WHERE EMP_NAME LIKE ''' || <your_search_variable> || '%''');Hope this helps.
    Regards,
    Manu.

  • Spry select list code to wire it to html data table SET column?

    I am making a page based on Figure 15-14, Pg 878, in David Power's book, "Dw CS4 with CSS, Ajax and PHP. I have two separate html data tables hidden in the page, one for the specialties drop down select list and the other for the teachers master/detail regions. These are populated with php and working well. The spry select list and master/detail regions are working great except for one issue. The column in my html data table that is being filtered ("Specialty" in my code = 'Category' in the book's example code) is a SET column (with possible value of 1, 2, 3, 4, and/or 5). Clicking on the drop down menu brings up the records with a single value beautifully. The result for records with multiple values is a spry error "Invalid row number: 0". After four different versionings and methods of messing with this, I still haven't a clue. Please help me with how to rewire the Spry select list code so that it will read the records that have multiple items in that column. I have included the code below.
    var data_set_teachers = new Spry.Data.HTMLDataSet(null, "teacher_data");
    data_set_teachers.gallery = '1';
    function chooseSet(dataSet, row, rowNumber)
    if (row["Specialty"] == data_set_teachers.gallery) {
       return row;
    return null;
    data_set_teachers.filter(chooseSet);
    function changeSet(set)
    data_set_teachers.gallery = set;
    data_set_teachers.filter(chooseSet);
    data_set_teachers.setCurrentRowNumber(0);
    var rows = data_set_teachers.getData();
    for (var i = 0; i < rows.length; i++) {
       if (rows[i]["Specialty"] == set) {
         data_set_teachers.setCurrentRowNumber(i);
         break;
    var data_set_specialties = new Spry.Data.HTMLDataSet(null, "specialty_data");

    Well I'll be damned!
    What's done in the sample app is, of course, the intuitively obvious choice and is exactly what I started out trying to do the first time round.
    But as I mentioned before, when I first tried it (yes: I'm pretty sure I set the "for" attribute on the inlineMessage components), I got the non-unique component id exception for the inlineMessage component(s) after adding the second (but not the first) row to the page.
    Anyway, after dragging my inlineMessages to the exact same position as those in the AppModel example, now things work fine (except I think I'd like a line break before the message and to change the row/column styles so the values and messages line up properly...the look is rather ugly in the AppModel example when there are validation messages displayed).
    Not sure, but I'm thinking maybe there was an issue with where the inline message markup was placed, my first time through, relative to the data table value bound component and the column header facet?
    I was using the application view drag 'n drop feature the first time round and dragged the inlineMessage component to the spot just below the data table value bound component and hence just above the column header facet. In the AppModel example, OTOH, the inline messages are placed just after the column header facet.
    Of course, I will now try to duplicate the original exception.
    If I can (and it is an issue with placement), I will post back some sort of bug report or RFE. Otherwise, I'll post back declaring what a bone head I've been...;-)
    Anyway, thanks for the quick response, v.
    Campbell

  • SubSelect Not filter data for Parent/Child hierarchy

    I have data for my parent /child dimension like that
    DimCust
    Fact Sal
    Customer ID
    Parent ID
    Customer Type
    Product Id
    Customer ID
    Year
    Sales
    1
    1
    Retailer
    4
    1
    2015
    100
    2
    1
    Retailer
    4
    2
    2014
    200
    3
    3
    Retailer
    4
    3
    2014
    300
    4
    3
    Retailer
    4
    4
    2015
    400
    5
    5
    Retailer
    4
    5
    2015
    500
    In my query,
     I use sub select to filter 
    data for year 2014c and product  id 4,  when I got result
     it’s missed the aggregation of customer id 1 and 4.
     Even I try to pass in where clause it’s also not give correct result.
    code,
    with
       set ba EXISTS([DIMCustomer].[Level 02].allmembers, [DIMCustomer].[Hierarchy].&[MyHierarchy],"factTable")
       SELECT
    [Measures].[Sales]
      } ON 0,
    [ba]on 1
    FROM (SELECT ( { [CropYear].[CropYear].&[2014] } ) ON COLUMNS
    FROM (SELECT ( { [DimProduct].[ProductID].[4] } ) ON COLUMNS
    FROM [myCube]))
    please help me on this, what is the best practices.
    Regards,
    Manish

    Hi manishcal16PPS,
    According to your description, you want to slice the fact data on Year 2014 and Product 4. Now you find the result missing the customer 1 and 4. Right?
    In this scenario, based on your Fact Sal table, both customer 1 and 4 are on Year 2015. So when you filter the data, it will not show customer 1 and 4. It returns correct result. For filtering data, either using sub select or specifying slicer axis
    can achieve your requirement.
    Reference:
    Specifying the Contents of a Slicer Axis (MDX)
    Best Regards,
    Simon Hou
    TechNet Community Support

  • Filter in table control

    Hello Experts,
    I had added Filter in table control. For this I am using FM 'LVC_FILTER'.
    But I am getting error as "Filter Internal Error. 15"
    Below is my code:
    data layo type LVC_S_LAYO.
    data GT_FILTER_INDEX type LVC_T_FIDX.
    data itab type TABLE OF cxtab_column with HEADER LINE.
             loop at tc_item-cols into itab where selected = 'X'.
             append itab.
             name1-fieldname = itab-screen-name+12.
             append name1.
             endloop.
    loop at itab.
      cnt = cnt + 1.
      wa_fieldcat-col_pos    = cnt.
      wa_fieldcat-fieldname  = itab-screen-name+12.
      wa_fieldcat-tabname    = 'GT_FABALOTI'.
       APPEND wa_fieldcat TO it_fieldcat1.
      CLEAR wa_fieldcat.
    endloop.
    layo-zebra = 'X'.
    CALL FUNCTION 'LVC_FILTER'
      EXPORTING
       I_CALLBACK_PROGRAMM          = sy-repid
        it_fieldcat                  = it_fieldcat1
       IT_SELECTED_COLS             = name1[]
    *   IT_VALUE_UNIT                =
    *   IT_GROUPLEVELS               =
        is_layout                    = layo
    *   IS_SELFIELD                  =
    *   IT_GROUPS                    =
    *   IS_FILT_LAYOUT               =
    *   IT_EVENTS                    =
    *   I_NO_DIALOG                  =
    *   IT_EXCEPT_QINFO              =
    *   I_IGNORING_CASE              =
    IMPORTING
       ET_FILTER_INDEX              = gt_filter_index
    *   ET_GROUPLEVELS_FILTER        =
    *   ET_FILTER_INDEX_INSIDE       =
    *   E_FILTER_FLAGNAME            =
      tables
        it_data                      = gt_fabaloti[]
      changing
        ct_filter                    = filter_ranges[]
    * EXCEPTIONS
    *   NO_CHANGE                    = 1
    *   OTHERS                       = 2
    How should I correct the error.
    Please help.

    Hi Shubham ,
      I too have the same requirement . Can you please send me the code because I am not getting these points.
    IMPORTING
       ET_FILTER_INDEX              = gt_filter_index
    *   ET_GROUPLEVELS_FILTER        =
    *   ET_FILTER_INDEX_INSIDE       =
    *   E_FILTER_FLAGNAME            =
      tables
        it_data                      = gt_fabaloti[]
      changing
        ct_filter                    = filter_ranges[]
    Regards
    Shek

  • DSO New data table rejects data

    Dear SDNers,
    I have a critical issue.
    I am loading data into a DSO (which has end routine, lookup DSO of 2crore records in production)
    In development, it worked good.
    In Production it took very long time to load data. I initially thought it might be because of the lookup DSO. But it never loaded the data into new data table. The data load monitor results in yellow always.
    I used filter in DTP and loaded only limited data. But this also not loading data. The data load monitor results in yellow again.
    Then I found that i am unable to access the new data table's data browser (from manage).
    I checked with se11 also, I am able to see the table. But if I click contents, the system hangs.
    So what I observe is New data table is not allowing to post any new entries?
    Kindly give me some insight regarding solving this issue.
    Thanks,
    Guru

    Hi Prasanth,
    I didnt say as i am able to see data in change log. I said I am able to access the data browser of both Active and change log table.
    and @Saveen, I donot want to load data manually to new data table.
    To be Precise i ll answer pransanth questions here..
    What is the status of the load in the monitor screen. Yellow (still running)
    Is the load completed or not? what is the record count? No the load is not completing.
    Is the request active in the DSo and available for reporting? Request is active
    Are you facing this issue for the first time? Yes for the first time and only in this DSO.
    Are you sure you have authorizations to check the data through manage screen, try to run the Authorization trace on your id and check if the roles are there for your id or not?  Yes, I am able to see active data table, change log etcc. even new table of other DSOs. Only new table of this DSO is inaccessible from manage
    See, I used filter in DTP, so it ll bring only limited records from lookup DSO. So no issue with the performance deadlock.
    And again I simulated the load and saw, Result package gets filled up perfectly, So the code also works fine.
    but if I load the data itll be yellow status with no records added in new table.
    In this scenario, New table is inaccesible from manage, So I am pretty sure that both are interrelated issues.
    Can some one help me pls..
    Thanks,
    Guru

  • How to filter data of itab retrived from infotype.

    Hi all,
      I am trying to filter data for one internal table (ex: IT_FINAL ) by comparing those values from standard table (ex: PA0000).First I had successfully uploaded all data from presentation server, Now I want to compare all field value (ex: PERNR)  from internal table (IT_FINAL-PERNR) and standard table (PA0000-PERNR).If there is no matching record. then move those records to  another internal table (ex: IT_ERROR).
      I had tried by keeping that comparing code in loop. But I am not getting what i want.
    I am sending my code here.. please suggest me to solve this issue.
    SOURCE CODE *****************
    ************************D E C L E R A T I O N********************
    TABLES: PERNR, PA0000.
    TYPES : BEGIN OF t_final,
             PERNR TYPE PERNR_D,
             BEGDA TYPE CHAR10,
             ENDDA TYPE CHAR10,
             SUBTY TYPE SUBTY,
             FANAM TYPE PAD_NACHN,
             FAVOR TYPE FAVOR,
             GESC2 TYPE GESC2,
             GESC1 TYPE GESC1,
             FGBDT TYPE CHAR10,
            END OF t_final,
            BEGIN OF t_raw,
             line TYPE char100,
            END OF t_raw.
    DATA : it_final TYPE STANDARD TABLE OF t_final,
           it_raw   TYPE STANDARD TABLE OF t_raw,
           it_error TYPE STANDARD TABLE OF bdcmsgcoll.
    DATA : wa_final TYPE t_final,
           wa_raw   TYPE t_raw,
           wa_error TYPE bdcmsgcoll.
    ********************S T A R T - O F - S E L E C T I O N********
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'E:\Suri_test\BDC_TEST\test02.txt'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = IT_RAW.
    IF SY-SUBRC EQ 0.
    LOOP AT it_raw INTO wa_raw.
          SPLIT wa_raw
             AT '/'
           INTO WA_FINAL-PERNR
                WA_FINAL-SUBTY
                WA_FINAL-BEGDA
                WA_FINAL-ENDDA
                WA_FINAL-FANAM
                WA_FINAL-FAVOR
                WA_FINAL-GESC2
                WA_FINAL-GESC1
                WA_FINAL-FGBDT.
      WRITE:/   WA_FINAL-PERNR,
                WA_FINAL-SUBTY,
                WA_FINAL-BEGDA,
                WA_FINAL-ENDDA,
                WA_FINAL-FANAM,
                WA_FINAL-FAVOR,
                WA_FINAL-GESC2,
                WA_FINAL-GESC1,
                WA_FINAL-FGBDT.
    APPEND WA_FINAL TO IT_FINAL.
    CLEAR WA_FINAL.
    ENDLOOP.
    NOW I GOT RECORDS IN IT_FINAL.*******************
    LOOP AT PA0000 ??????????.
    IF PA0000-PERNR EQ WA_FINAL-PERNR.
    WRITE:/   WA_FINAL-PERNR,
                   WA_FINAL-SUBTY.
    ELSE.
    WRITE:/ 'HELLO NOT MATCHED DATA.'.
    move to IT_ERROR.??????????
    ENDIF.
    ENDLOOP.
    ENDIF.
    ****************************TEST DATA*********************************************
    5/2/21.04.2007/31.12.9999/BOY/BATLANKI//X/21.04.2007
    54099520/12/02.03.2005/31.12.9999/SANTHI/BATLANK/X//20.10.1954
    3453/12/02.03.2005/31.12.9999/SANTHI/BATLANK/X//20.10.1954
    54099520/13/02.03.2005/31.12.9999/JAGAN/PYDIPALLI//X/25.01.1981
      Thanks in advance,
      Surender. B.V.

    There shouldn't be anything wrong with what you've done. e.g.
    SQL> set serverout on
    SQL> ed
    Wrote file afiedt.buf
      1  create or replace procedure show_empnos(p_deptno in number) is
      2    cursor cur_emps is
      3      select empno
      4      from   emp
      5      where  deptno = p_deptno
      6      order by empno;
      7  begin
      8    for e in cur_emps
      9    loop
    10      dbms_output.put_line('EmpNo: '||to_char(e.empno,'fm99999'));
    11    end loop;
    12* end;
    SQL> /
    Procedure created.
    SQL> exec show_empnos(10);
    EmpNo: 7782
    EmpNo: 7839
    EmpNo: 7934
    PL/SQL procedure successfully completed.
    SQL> exec show_empnos(20);
    EmpNo: 7369
    EmpNo: 7566
    EmpNo: 7788
    EmpNo: 7876
    EmpNo: 7902
    PL/SQL procedure successfully completed.
    SQL>Show us more of what you are doing and what it's not doing.

  • Combination exists in Master Data Table, but error occurs in layout

    Hi,
    We are getting an error in planning layouts that state that a combination of Cost Center and Profit Center is not included in master data table for characteristic. I looked at note 1222910 that apparently fixes this issue, but we are on SP21 and the note was included in SP19.
    Any suggestions?
    Br,
    Sonni

    Hi there,
    That seems an issue throwed by the characteristic relationships.
    Are you sure the profit center/cost center issued in the message exist in the master data?
    It seems some how you're getting that combination of that profit center/cost center in the planning layout and the charateristic relationship is validating that.
    See if you query has the valid combinations for the profit centers/cost centers in the filter and/or variables.
    Diogo.

  • Since Adobe Connect 9 hosted release missing filter date field in registration report tab

    Prior to the new version we use to do the below steps and get a Filter Reports option.  Now that option is missing.  Is there another way to pull this report?  Is this a bug and can be resolved?  Am I missing something?
    -Event Management
    -Shared Events
    -PREP Master 2011 1.0 (Name of our Main Folder)
    -Click on PREP Master (Cty.) 2011 1.0 (Name of on demand stored in main folder)
    --Reports
    -Filter Reports
    -Change Time, Later Time-One day behind time frame 12:00am start to 12:00am finished (Missing Date Filter)
    (Date should have remained the same from Training report, no need to filter date)
    -By Registrants (Attendance Report)(Missing Option/Replaced by Campaign Report)
    -Download Report Data
    If you go to the By Answers Tab you get the Filter Reports link.  If you go to pull Training reports you get the filter link.  But going to Event Management, locating the event, and then trying to pull a report on Registration does NOT give you filter reports like it use to.  We need this. 

    HI
    add that fileds in the all locations where you need it like
    in internal table declaration , write statement , select statement
    these are the main areas where you have to add that 2 fileds

  • Want create filter data  in using routine by DTP

    hi
    I  want create filter data  in using routine by DTP
    I want dowload data in my DSO, if the material exist in my infoobject 0material.
    But my code donu2019t worked:
    ===============================================================
    *&  Include           RSBC_SEL_ROUTINE_TPL
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line  -
    TABLES: ...
    DATA:   ...
    tables :   /BIC/MATERIAL.
    DATA:
      l_s_ztable   TYPE /BIC/MATERIAL,
      l_s_range  type rssdlrange.
    $$ end of global - insert your declaration only before this line   -
        Fieldname       = ZCOSTCTR
        data type       = CHAR
        length          = 000010
    form compute_ZCOSTCTR
      tables l_t_range structure rssdlrange
      using i_r_request type ref to IF_RSBK_REQUEST_ADMINTAB_VIEW
            i_fieldnm type RSFIELDNM
      changing p_subrc like sy-subrc.
          Insert source code to current selection field
    $$ begin of routine - insert your code only below this line        -
      data: l_idx like sy-tabix.
      read table l_t_range with key
           fieldname = '/BIC/MATERIAL'.
      l_idx = sy-tabix.
      clear l_s_range.
      SELECT DISTINCT /BIC/ZCOSTCTR FROM /BIC/MATERIAL INTO l_s_ztable.
        l_s_range-iobjnm = '/BIC/MATERIAL'.
        l_s_range-fieldname = '/BIC/MATERIAL'.
        l_s_range-sign = 'I'.
        l_s_range-option = 'EQ'.
        l_s_range-low = l_s_ztable-/BIC/ZCOSTCTR.
       l_t_range-HIGH = l_s_ztable-/BIC/ZCOSTCTR.
        if l_idx <> 0.
          modify l_t_range index l_idx.
        else.
          append l_t_range.
        endif.
        p_subrc = 0.
      ENDSELECT.
    ==================================
    best regard
    francoise

    my code
    ===============================================================
    *& Include RSBC_SEL_ROUTINE_TPL
    program conversion_routine.
    Type pools used by conversion program
    type-pools: rsarc, rsarr, rssm.
    tables: rssdlrange.
    Global code used by conversion rules
    $$ begin of global - insert your declaration only below this line -
    TABLES: ...
    DATA: ...
    tables : /BIC/SMATERIAL.
    DATA:
    l_s_ztable TYPE /BIC/SMATERIAL,
    l_s_range type rssdlrange.
    $$ end of global - insert your declaration only before this line -
    Fieldname = MATERIAL
    data type = CHAR
    length = 000010
    form compute_MATERIAL
    tables l_t_range structure rssdlrange
    using i_r_request type ref to IF_RSBK_REQUEST_ADMINTAB_VIEW
    i_fieldnm type RSFIELDNM
    changing p_subrc like sy-subrc.
    Insert source code to current selection field
    $$ begin of routine - insert your code only below this line -
    data: l_idx like sy-tabix.
    read table l_t_range with key
    fieldname = '/BIC/MATERIAL'.
    l_idx = sy-tabix.
    clear l_s_range.
    SELECT DISTINCT MATERIAL FROM /BIC/SMATERIAL INTO l_s_ztable.
    l_s_range-iobjnm = '/BIC/SMATERIAL'.
    l_s_range-fieldname = '/BIC/SMATERIAL'.
    l_s_range-sign = 'I'.
    l_s_range-option = 'EQ'.
    l_s_range-low = l_s_ztable-/BIC/SMATERIAL.
    l_t_range-HIGH = l_s_ztable-/BIC/SMATERIAL.
    if l_idx 0.
    modify l_t_range index l_idx.
    else.
    append l_t_range.
    endif.
    p_subrc = 0.
    ENDSELECT.

Maybe you are looking for