Filter the Tabledata Entries

All,
I have a table, which has 100 entries, I want to filter the Rows programmatically. The prgram will set the filter value not from user.
How to do that?
Note: I dont want to show the Filter in the table and user will not have any control.
BM.
Message was edited by:
        Bharathi M

HI Bharati,
If u want to do filtering from code, just implement the condition in the code at the time of adding elements
For example, if u want to add only the names which satrts with Bharati, then
IPrivate<view>.IMasterNode masterNode=wdContext.nodeMasterNode();
IPrivate<view>.ITableNode tableNode=wdContext.nodeTableNode();
IPrivate<view>.ITableElement tableElement;
for(int i=0;i<masterNode.size();i++)
  String name=masterNode.getMasterElementAt(i).getName();
  if(name.startsWith("Bharati")
    tableElement=tablenode.createElement();
    tableElement.setName(name);
    tableNode.addElement(tableElement);
Regards,
Fahad Hamsa

Similar Messages

  • Balance with currency at the account entry moment

    I am trying to do a balance report similar to f.01 transaction report but in which you may choose the currency like filter and the currency valuations in the summarizations will be the valuation of the currency at the account entry moment.
    Do you know any balance transaction (or abap source code) that I may use, that apply that way to made the summarizations (in reference to currency use)?

    I have found the following temporary workaround until MS fix the underlying issue.
    Remove (or comment out) the following line from ApplicationInsights.config:
    <Add Type="Microsoft.ApplicationInsights.Extensibility.PerfCollector.PerformanceCollectorModule, Microsoft.ApplicationInsights.Extensibility.PerfCollector"/>
    Note that this is a termporary workaround, but I'm sure they'll be fixing it soon.

  • Filter the data loads by material type = FERT or UNBW

    Hi All,
    I have to load the data from DSO to Cube in which I have to filter by material type = FERT or UNBW, actually this material type is the nav attribute of 0material. But I dont have this 0material or 0matl_type in the source i.e. DSO. How can I achieve this filteration during the loads? Is there a way I can achieve this in startroutine? Or is it a must to include this 0material or 0matl_type in the source i.e. DSO
    Thanks In advance,
    Shreesh.

    I see that there is no Material also in your lower level DSO. So now you need to findout atleast one key to compare with the look up object so that the corresponding entries can be tracked.
    If atlease Material is there there then you can make a lookup on the Material type Master data and use the selections for the respective Material types for selections and extract the corresponding Marerial relavant documents from lower level DSO.
    As its not there you need to find the other key and the respective Master data present for the key lookup if not then the lower level DSO needs to be enhanced.
    So check for the details..

  • How to supress the single Entries in the report?

    Hi
    I have a report of  "Customer unpaid Cheques". This report displays Customer wise.
    For eg. Let say Customer 1234 cheques have been unpaid and returned many times. Some customers have single time retrns.
    In a report I want to filter the Customers with Single Entry.
    Report is like ths.
    Cust No: Ret.Doc: Cheque No: Amount:
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    1235 7777 4444 200
    Customer 1234 has been returned 3 times where as Customer 1235 is ed one time.
    I want a report which displays the customers with more than one returns. The report should be like this. How can I do this..
    1234 7999 3331 100
    1234 8999 3332 100
    1234 9999 3333 100
    Thanks for your help.
    Sudha..

    HI Sudhakar,
    It's bit complex but will work.
    Just create a new formuale with this option F= SUMCT(Amount)( This is basiclly the "result" option you get when you try to create a formlae.
    Now make a calculate key figure with the logic CKF=( Amount - F)
    This will give you basically this kind of difference
                        F   CKF
    1234 7999 3331 100 300 -200
    1234 8999 3332 100 300 -200
    1234 9999 3333 100 300 -200
    1235 7777 4444 200 200  0
    Now put a condition on the report level that show only those rows where the CKF!=0
    IT will show only those value which have moer then one rows.
    Also you can hide these additional columns depending upon your need.
    I think it will work
    If helpful assign points.
    Thanks

  • How to filter the data in dropdown?

    Hello,
    How to filter the data
    I got all the project name in dropdown when you select the project name in other textbox the project id will come automatically.
    so I want to get only those project name that is assigned to that particular user.
    I have
    ProjectName(dropdown),
    ProjectId(Textbox),
    Employee code(Unique value),
    employee Id (Unique for particular employee means if User A works on 5 projects so for all 5 projects the employee Id will be same),
    Project Id( 5 projects 5 different id)
    I didnt get the exact formula or I have to use any javascript code.Any help...
    Thanks,

    If I am understanding correctly, you want to populate a drop down with values from a list.
    Using InfoPath:
    right click on the drop down to be populated, and choose drop down list box properties.
    add the list with the values as a data source.
    click the filter box next to entries.
    select the field you want from the other list.
    click filter data.
    set the filter (click AND if you need more lines).
    click OK on any dialogs you need to to get back to the editor.
    Test your form.

  • Is it possible to incorporate a "Manual Over-ride" feature in FIM 2010? i.e. during a target sync, skip the MV entry.

    We are stuck on a FIM design.
    We have a column in our SQL feed table to FIM MV named "ManualAction"
    What we want to happen is that if this column has the value "YES" then FIM will not synchronize the MV entry to attached sources e.g. AD and FIM Portal.
    If we try connector filter-ing on column ManualAction equals YES we either disconnect and preserve the MV attributes provided or disconnect and nullify those MV attributes. This is not what we want.
    We want somehow to instruct FIM not to synchronize this MV entry if MV.ManualAction == YES
    Could this be do via a Rule extension somehow??
    The point of the Manual flag is that an Administrator may set one or more attributes in an AD account deliberately and does NOT want them overwritten by FIM even though the usual authoritative source value differs...
    What we are thinking is ... is it possible to instruct FIM to 'skip' this MV entry at target resource(s) sync time.
    I admit, I am not optimistic but I thought I could ask the FIM experts.

    Hello,
    you can do this for normal MA in some more and maybe granular ways.
    consider to sync the ManualAction also to MV and use this in manual precedence code of attribute flows in combination with lastwriter/contirbutor of the attribute.
    With this you have the manual attribute values from ex. AD also in MV and so in Portal.
    This is more granular because you can only have a override on the attributes you need while flowing other attributes by normal sync.
    Portal is a bit restricted as you can not control the provisioning and attribute flows with code. Whats in your MV will be providioned and exported to Portal 1:1 (if there are flows of cource).
    To have advanced flows on Portal MA you can implement a solution called replay MA.
    See:
    https://unifysolutions.jira.com/wiki/display/FIMTEAMCOM/2014-01-22+-+FIM+Replay+MA
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Filter the secondary datasource based on lookup column

    Hello All,
    I am customizing a List form. I have a secondary data connection which is
    a datasource for my drop down list. I have to filter the datasource based on Lookup column value.
    I know how to filter on the datasource by going to entries and filtering but it does not work with Lookup column.
    Can anyone let me know step by step procedure.
    Regards,
    smith
    smith

    Hi,
    According to your post, my understanding is that you wanted to filter the secondary datasource based on lookup column.
    I recommend to create a cascading drop-down list box in InfoPath.
    You can follow the steps in the article to achieve what you want:
    Create Cascading Dropdown in Browser enabled InfoPath form using InfoPath 2010
    More information:
    Cascading Drop Down List In SharePoint 2010
    Cascading Drop-Down List in SharePoint 2010 using InfoPath 2010
    Dan's SharePoint Blog: InfoPath Tutorial Cascading Dropdown (Does not have the 20 item limit)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error while opening the receipt entry form in AR module.

    Error while opening the receipt entry form in AR module. We have created one new responsibility of Receivables for new operating unit . When we open the corresponding
    forms , we are getting the error message as :
    NO_DATA_FOUND
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-20002.
    Kindly help in resolving.
    We have ERP version of 11.5.10.2

    Please also see the following docs.
    Transactions Workbench Error: Listing of ORA Errors [ID 1336495.1]
    FRM-40735 ERROR OPENING LIFE EVENT REASONS FORM BENLEVRS [ID 1517593.1]
    APP-AR-96996: The Defined Sales Representatives Have Incorrect Id'S [ID 437107.1]
    ARXSUDRC Receipt Classes Errors With APP-AR-96994: Please Define Sales Representatives [ID 357454.1]
    Thanks,
    Hussein

  • When I allowed an upgrade to Itunes on my HP Windows 7 computer now I have this error message when I turn on my computer:  AppleSyncNotifier.exe-Entry Point Not Found.  The the explanation in the dialogue box says:  The procedure entry point sqlite3_wal_

    Error message after allowing an upgrade:My dialogue box in the error message says:  The procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll--this happened after I allowed an upgrade to be installed.  I have HP Windows 7.  Now my Iphone will not sync.  What do I do?

    Found this fix here which worked for me with a similar problem.
    https://discussions.apple.com/thread/3196594?start=0&tstart=0
    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well.

  • Can not filter the data with the extended class

    Hi,
    I have a quick question about PortableObject format. I have created a class which extends PortableObject interface and implemented serializer methods as well. I have updated it in the pof-config.xml file as well. If I insert the objects of this type of object in the cache, they get inserted properly and I can filter the values based on the getters defined in the class. Everything works fine here.
    Now, I am trying to extend the existing class that I have. We have our custom API which we have built for our domain objects. I need to store these objects in the cache. So, naturally I need to implement PortableObject interface to do that. So, instead of creating a new class with new set of getters and setters and local fields, I am extending our domain class to create a new class which implements PortableObject interface. Instead of defining the local fields and getters and setters i am reusing the ones provided by my existing class. Now, I can insert the objects of the new class to the cache. But I can not filter the values for the objects of this new class.
    Let me show you what exactly I am trying to achieve by giving a small example:
    Domain Class:
    class Person
    private String person_name;
    *public String getPerson_name() {return person_name;}*
    *public String setPerson_name(person_name) {this.person_name = person_name;}*
    The new class implementing PortableObject interface:
    class ExtPerson extends Person implements PortableObject
    public static final PERSON_NAME = 0;
    *public void readExternal(PofReader reader) throws IOException{*
    setPerson_name(reader.readString(PERSON_NAME));
    *public void writeExternal(PofWriter writer) throws IOException{*
    writer.writeString(PERSON_NAME, getPerson_name());
    *// And HashCode, Equals and ToString methods, all implemented using the getter from the Person class*
    So, if I create a new class ExtPerson without extending the Person class and write all the methods, store the objects in the cache and perform the following query, I get the size printed
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    But if I use the extended class and insert the values into the cache and if I use the same query to filter, I get 0 printed on the console.
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    So, can anyone tell what exactly is causing this?
    Thanks!

    Well, just a quick question. It seems that I can not get ContainsAnyFilter or ContainsAllFilter working.
    EqualsFilter is actually working properly.
    I am preparing a Set of Strings and passing it to ContainsAnyFilter or ContainsAllFilter and it is returning me 0 records.
    E.g.:
    Set<String> setStr = new HashSet<String>();
    setStr.add("ABC");
    setStr.add("DEF");
    System.out.println((cache2.entrySet(new ContainsAnyFilter("getPerson_name", setStr))).size());
    I get 0 in my output
    If I try this:
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","ABC"))).size());
    System.out.println((cache.entrySet(new EqualsFilter("getPerson_name","DEF"))).size());
    I get 1 for each of the query.
    If I club all these EqualsFilter in a Filter[] array and create an AnyFilter or AllFilter and pass it to the query, it works fine.
    List<Object> lst = new ArrayList<Object>();
              lst.add("ABC");
              lst.add("DEF");
    Filter[] filter = new Filter[lst.size()];
         for(int i=0;i<lst.size();i++)
              filter[i] = new EqualsFilter("getPerson_name",lst.get(i).toString());
    AnyFilter fil = new AnyFilter(filter);
    System.out.println((cache4.entrySet(fil)).size());
    I get the desired result here, which is 2.
    Am I missing something here?

  • How to filter the list of data

    I am using af:inputComboboxListOfValues to display drop down list of data. The list is binded to a LOV.
    I have a requirement that if the value is used in other place, I should not get it listed on the drop down list. I research doc that it let me use "launchPopupListener" to filter the list of data. As a test code, I coded like this:
    public void launchListener(LaunchPopupEvent launchPopupEvent) {
    // Add event code here...
    DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding dcItteratorBindings =
    bindings.findIteratorBinding("PersonVO1Iterator");
    dcItteratorBindings.getViewObject().setWhereClause("PersonEO.FIRST_NAME <> 'John'");
    dcItteratorBindings.getViewObject().executeQuery();
    But it does not work. It seems that 'John' is removed from VO but doesn't removed from UI combo box drop down list.
    What can I do to fix it?
    JDev Version 11.1.1.6.0
    Thanks.
    帖子经 954727编辑过

    Morris Li,
    Welcome to the ADF Forum. Have you looked into whether the PartialTriggers for the ui combo box have been set.
    This article may also assist: "Building model driven dependent list with Oracle ADF BC"
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/march2011-otn-harvest-351896.pdf
    and this http://docs.oracle.com/cd/E16764_01/web.1111/b31973/af_ppr.htm#BGBIIDBF
    Stuart

  • The length of the password entry field in the BEx Analyser

    Hi,
    The password is 8 characters in the BW system.
    When users changing their newly assigned passwords. When logging into the BEx Analyser, and prompted to change the password, a password entry box is displayed, with an entry field longer then 8 characters. Some users are therefore entering passwords longer then 8 characters. This is fine when they first login, but when they try come back to the system, their logon fails.
    Can something be done to restrict the length of the password entry field in the BEx Analyser?
    Many Thanks
    Jonathan

    Hi Jonathan
    we are having the same problem - did you find a way to resolve this?  I did not find any SAP notes referring to the issue.
    Regards
    Hayley

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How to remove the 'New Entry' button in the warning message for a dialog bo

    Hi Experts,
    I am calling a Modal Dialog box screen having a pushbutton.
    On the click of the pushbutton, I am performing some checks, and giving a warning message.
    The warning message comes as a popup in this case and has three buttons on it.
    One of these buttons is titled 'New entry'.
    I dont want that button to come on the warning popup.
    Please let me know if there is a way out for this.
    Thanks in advance.
    Useful answers will surely be rewarded.
    Regards,
    Himanshu

    Hi Jyothi,
    Thanks a lot for ur prompt reply.
    But, in my dialog screen, on click of the button I am simply using the statement :
    MESSAGE W000(0K) with 'text'.
    The resulting warning message comes as a popup with the 'New Entry' button on it.
    From the warning popup, how can I remove the button.
    Please let me know.
    Thanks.
    Regards,
    Himanshu

  • Content query web part is not working after chaning the DNS entry

    Hi all,
    We have a content query web part in the sharepoint site but it is not working after changing the DNS Entry for the web site ipaddress from one server to other . But it is working fine on the server, if we try to access the site from other system content
    quey server its not working fine and its giving error message as bellow.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

    I have custom XSLT . But it is working fine before changing the dns entry as soon as we change the DNS entry the content quey web part is not working. I tried to delete the content query web part and add it once again to the page, As soon as content query
    web part is added to the page the fallowing error message is displayed.
    Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator.
    Can anyone help me to fix this issue please.

Maybe you are looking for

  • Comparitive Statement report

    Hi All, I am working on comparitive statement report,i am getting the output in horizontal rows in ALV. But i have to get it like ME49 output. i.e.,                                   Vendor number---- Vendor Number                                    

  • Upgrade from 7.01 to 7.3 stopped in phase DETECT_START_RELEASE_COMPONENTS

    Hello colleagues, We are trying to upgrade our portal landscape (Netweaver 7.01 with EHP1) to 7.3.We are currently stopped in phase DETECT_START_RELEASE_COMPONENTS with the following error: The execution of PREPARE/INIT/DETECT_START_RELEASE_COMPONENT

  • Set up new external drive-clone startup drive alongside Time Machine backup

    I want to clone the boot drive to a 1 TB WD MyBook external (via firewire), using SuperDuper, with the rest of the 1TB drive used for Time Machine backups. I am currently formatting the drive to Mac OS Extended (journaled), and plan to set two partit

  • 'fn' key shows desktop (not in combination with f11). How to turn this off?

    iMac 21.5-inch, Late 2012 OS X Yosemite 10.10.2 Whenever I press the 'fn' key (standalone) key it shows my desktop, which it makes it difficult for me to use this key in combination with the f1-f12 keys. I had a similar issue on my Macbook Air, which

  • Satellite P200-1K8 - Can't get the display and sound drivers to work

    Hi. I'm getting desperate. I tried everything I could imagine. First - don't get the catalyst control center to work, I only have the graphic driver installed now (tried both - the one from Toshiba and with Mobility Modder modified ATi driver - none