Filter Data in LTS

Hello All,
I have a table in the physical layer that includes several student records and each student has multiple records and each record has a date column (Test_date). Ultimately, I would like to see only one record per student by the maximum(test_date). I tried to put in the condition in the where clause of the LTS Content tab, however the records get filtered by the maximum test date in the table versus maximum(test_date) by student.
Can you please guide me in setting such a filter or ways to achieve this?
Thanks.

Example:
I made Student_records table in the physical layer using select table as select:
select 'StudentA' as student_name, 1 as record_number, to_date('01.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentA' as student_name, 2 as record_number, to_date('02.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentA' as student_name, 3 as record_number, to_date('03.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentA' as student_name, 4 as record_number, to_date('04.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentB' as student_name, 1 as record_number, to_date('01.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentB' as student_name, 2 as record_number, to_date('02.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentB' as student_name, 3 as record_number, to_date('03.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentC' as student_name, 4 as record_number, to_date('04.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentC' as student_name, 1 as record_number, to_date('01.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentC' as student_name, 2 as record_number, to_date('02.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentC' as student_name, 3 as record_number, to_date('03.01.2009', 'dd.mm.yyyy') as test_date from dual union all
select 'StudentC' as student_name, 4 as record_number, to_date('04.01.2009', 'dd.mm.yyyy') as test_date from dual
I made join with TIMES dimension (TIMES.TIME_ID=Student_records.test_date, both DATE columns), placed them in BMM and in Answers made request using only columns from Student_records logical table (in my case it is identified as a detail table):
Answers columns:
student_name,student_name,test_date
Answers filter (advanced, convert this filter to SQL option):
Student_records.test_date = MAX(Student_records.test_date by Student_records.student_name)
Result:
student_name,student_name,test_date
StudentA,4,*4.1.2009*
StudentB,3,*3.1.2009*
StudentC,4,*4.1.2009*
Regards
Goran
http://108obiee.blogspot.com

Similar Messages

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

  • 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

  • How to filter data from a source XML? Please help!

    Hi Experts,
       I have a source XML as shown below:
        <Inventory>
         <InventoryItem>
           <ItemCode>InTransit</ItemCode>
           <Quantity>1000</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Available</ItemCode>
           <Quantity>1500</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Restricted</ItemCode>
           <Quantity>2500</Quantity>
         </InventoryItem>
        </Inventory>
    My Target XML is as below
        <Inventory>
          <stock>1500</stock>
        </Inventory>
    The stock element contains Quantity value where ItemCode is 'Available'.
    But note that there are 3 InventoryItem nodes.
    So how to get the desired target XML in XI mapping? Basically I have to filter data from source XML based on value of an element. What is the best approach to handle this?
    Kindly help
    Thanks
    Gopal

    Hi venkat,
              Your solution does'nt work fine. But why are you using collapsecontext and splitbyvalue before putting the value into stock element?
               Kindly explain your concept.
    My target message is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Inventory>
       <InventoryItem>
          <ItemCode>InTransit</ItemCode>
          <Quantity>1500</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>1000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>UnRestricted</ItemCode>
          <Quantity>2000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>2500</Quantity>
       </InventoryItem>
    </Inventory>
    I am getting the output even though stock is unbounded and I have used collapsecontext and splitbyvalue as:
    <InvStock>
      <Stock>1000</Stock>
    </InvStock>
    I should get:
    <InvStock>
      <Stock>1000</Stock>
      <Stock>2500</Stock>
    </InvStock>
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

  • Filter data from Powerpivot to Excel

    Hi Everyone
    Is there a way to filter data from Powerpivot to Excel so that you are only selecting a subset of records to pivot over in Excel?
    Paul

    Hello Paul,
    Your requirement isn't quite clear for me, can you explain it more detailed, please?
    If you add a PivotTable with PowerPivot as data source, then you can use slicer/filter in the PivotTable to filter a subset of the existing data.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Oracle Apps Custom Form, How to Filter data in the LOV

    Detail Data Block I am Calling One LOV, Based on Master Block Item I want to filter data in the LOV.
    in the select statement
    SELECT * FROM MTL_SYSTEM_ITEMS WHERE
    ORGANIZATION_ID = :BLOCK_NAME.FIELD_NAME
    specified
    but it is showing no data found error.

    Do this:
    MESSAGE(:BLOCK_NAME.FIELD_NAME);
    MESSAGE(:BLOCK_NAME.FIELD_NAME);
    SELECT * FROM MTL_SYSTEM_ITEMS WHERE
    ORGANIZATION_ID = :BLOCK_NAME.FIELD_NAME
    This will tell you the value of BLOCK_NAME.FIELD_NAME
    Then use PLSQL and run the query using the value of BLOCK_NAME.FIELD_NAME
    and see if you get data. If you don't get data using PLSQL, then you won't get data using LOV.

  • How to use OData Date filter query to filter data from OData NetWeaver Gateway Service?

    Hello,
    I am trying to use the OData Filter query. to filter data records from the OData Service, using Date range for filters.
    Please check the below URL for the SAP's sample OData Service, with filter option.
    Service Query URL :
    https://sapes1.sapdevcenter.com/sap/opu/odata/sap/ZGWSAMPLE_SRV/SalesOrderCollection?$filter=CreatedAt eq DateTime
    It gives out following error :->
    <message xml:lang="en">'$filter ' is not a valid system query option</message>
    Please let me know, if there is any mistake in the Query or is there anything that needs to be done on the
    Backend  Service.
    Thanks & Regards,
    Suraj Kumar

    Hi Jitendra,
    Once again, thank you for your help.
    I am able to filter the records using a date range.
    I am sharing the information, just in case anyone out there might need it.
    The OData Filter Query for Date Range (i.e. with Two date values) will return the results only if the OData Back-end Service is modified to accommodate such filter requests.
    This has to be done in ABAP.
    Please refer the following links which talks more about the Back-end ABAP Service being modified to ensure that the service returns records of data, as per the date range filter query
    http://scn.sap.com/thread/3170195
    http://scn.sap.com/blogs/lindsay.stanger/2012/12/29/gateway-odata-calls-convert-ivfilterstring-to-itfilterselectoptions
    http://scn.sap.com/thread/3173146
    Hope these links are helpful for those looking for OData Date Range filter query.
    Do let me know.
    Regards,
    Suraj Kumar.

  • How to filter data in JSP?

    Hi All,
    I have to filter data before I can display a drop down in my JSP. The scenario is as follows
    There are 2 buttons on screen A. Button B1 and button B2.
    Clicking on any one of these will result in screen B being displayed.
    But if B1 is clicked then option 'ABC' should not be displayed in my dropdown.
    If B2 is pressed only ABC should be displayed in the same field. (this is not a drop down now).
    The current code snippet to fetch the data from the DB and display in the dropdown is:
    <tr>
    <td align="right" class="label" scope="row">
    <span class="red"><html:label name="*" fieldId="<sectionId>.reasonId"/></span> 
    <html:label name="Reason:" fieldId= "<sectionId>.reasonId" />
    </td>
    <td colspan="2">
    <html:select name= "VoidPaymentForm" property = "paymentHeader.reasonId"
    fieldId = "<sectionId>.paymentHeader.reasonId" onchange="voidPaymentNSF();">
    <refdata:load id="listReason" source="<%=RefDataConstants.REASON %>"
    name = "VoidPaymentForm" property="paymentHeader.reasonId"
    parentSource="<%=RefDataConstants.ACCOUNTING_TRANSACTION_TYPE%>"
    parentCodeValue="reasonCodeRef" />
    <html:option value=""> </html:option>
    <refdata:options collection="listReason" labelProperty="label" property="value"/>
    </html:select>
    </td>
    </tr>
    Appreciate your help.
    Thanks and Regards,
    Ashley

    first, your screen A needs to send the information which button has been clicked. Then screen B needs to retrieve this value, if I'm not mistaken (it has been a view years ago, that I've written JSPs), you can put the html code within an if-statement. So, only when the condition is true, it will use the html code within.

  • 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

  • To filter data in two dates using combo box component

    Hi,
    I have a requirement like, i need to filter data in chart between two dates from two combo box.. From combo_box and To combo_box.
    I am using one QaaWS to populate LOV's into Combo box's and another QaaWS for chart data. Universe is the same one on SAP  BI query.
    LOV's are populating into both combo's and chart as well, i used a query refresh button after choosing two dates and press button.
    Data is not reflecting as per the choice of dates.
    If any one have such scenario, request you to share the same....
    Thanks in advance...
    Raj..

    Problem is with ranges, not with dates, my data is working fine with CALDAY (in BI Query)....
    My query variable is on FiscalPeriod month, like "FEB 2011"  to "OCT 2011" and is optional, but it is fails in QaaWS to execute when i try to input any months.
    If we give default values in BI query format is like K4/010.2011 for october month. QaaWS doesnt fail and executes, but if i change any value in QaaWS it is taking as "OCT 2011"
    And in Xcelsius it is not recognizing eaither of the formats like, K4/010.2011 or "OCT 2011"
    the format is not matching with xcelsius.

  • Using a Search Window to Filter Data In PowerPivot on Sharepoint?

    When viewing a PowerPivot workbook natively all is well. However when I save it to Sharepoint and view it via a browser, I find that the option to filter data by typing in a value is no longer present. (All there is is an extremely LONG list of values
    which must be scrolled through and checked.) Being able to type in a value to search on is rather crucial feature when one wants to filter on a row where there may be thousands (or more) distinct values. Using a slicer or the standard filter drop-down in this
    case is pretty unworkable! Is there no way around this?

    Hi Ed,  we have a workaround that one of my team members found.  
    Even though there doesn't appear to be a way to have a search window associated with a long filter list, it is possible to filter by column, by clicking on its respective drop-down to bring up a short-cut menu.  From there you can expand either the
    "Label Filters" or "Value Filters" sub-menu (depending on your data-type) and bring up, among other options,  the "Contains..." dialog box.  It's not as convenient but it does the job.
    Now we just need to check with our users that this is an acceptable solution.  Thanks.

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

  • How to filter data

    Dear Friends
    How to filter data by entering data in the field then the data filtered according to the data that is enter the filed
    For example
    If I have a list of values in the field EMPNO , and If I enter ‘S’ at the field EMPNO before pressing F9
    it should display those employees only when I press F9 as the following :
    SMITH
    SCOTT
    And if enter ‘AL’ it should display those employees only when I press F9 as the following:
    ALLEN
    ALI
    But if don’t enter any value in EMPNO and press F9 Then It should display all the All the employee’s name as the following
    ENAME
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    ALI
    ABDULLAH
    Waiting for your valuable answer .
    Best regards
    Jamil Alshaibani

    Dear Rosario
    I have SET THE ITEM PROPERTY VALIDATE FROM LIST TO YES
    Of the field EMPNO ON WHICH I HAVE ASSIGN THE LOVE.
    And also I have written the script as the following:
    SELECT ENAME,EMPNO FROM EMP
    WHERE EMP.ENAME LIKE :EMPNO||'%'
    Then I type ‘S’ in the field EMPNO and I press F9 it is not responding for displaying the list of values it is displayed this message in the status bar ‘FRM-40502: ORACLE ERROR :UNABLE TO READ LIST OF VALUES .
    Waiting for valuable answer in details.
    Best regards
    Jamil Alshaibani

  • 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

Maybe you are looking for