TREX Search Implementation for PLM Recipe

Hi All,
I need to add one custom field in advanced search for recipe.
This has to be done through TREX as far as my understanding.
Please let me know how to start this implementation.
And what are all the steps i need to do. Please help.
Regards,
Rani.

Hi Lawrence,
Thanks!
Here i have some doubt again...
There should be some steps to achevie this functionality right.
As per my understanding...
1. TREX Configuration
2. TREX Indexing
3. SPRO COnfiguration
4. Badi Coding for filterting the data according to the custom field.
Whether the above steps are correct?
And in Badi, what should be the filter values?
Thanks,
Rani.

Similar Messages

  • TREX search failure for some pdf documents

    Hi,
    TREX search is not getting correct result for some pdf documents. It's not able read the content of some pdf documents. When we search with file name the search result is correct but we are getting "No document excerpt available" message in search result for this file name.
    Let me know where might be the problem for those pdf docs.
    Thanks

    Hi Tatayya Marni,
    1. Can you tell me whether the pdf documents are opening when you are selecting them?
    2. This error comes mostly when you havent included this .extn file (.pdf in your case) to the portal.
    3. Check whether this extn is their in your portal if not make it inclueded and then try making a new index and one new data source where your pdf is residing. Try for one Test.
    You have to include the file extns in System Confi....UI Interface...
    Hope this will resolve your issue.
    Regards
    Piyush Bhurangi

  • Greedy Search implementation for the Map of Romania

    hi folks!im totally new to Java / Linux and the U.S!!I have slight knowledge of c# though.Can anyone point me towards the right direction for this problem?The famous Romania map is killin me ;)
    Was given only 5 days for this assignment.Pl help me with this and eventually my grades :)
    Thank you for reading...
    Problem: Implement a greedy search in Java, given the map of Romania.. The
    goal state is Bucharest.
    You are not to visit the same city twice.
    Provide the search trees.
    Try three initial states.
    Evaluate your solutions.
    Use the Romania map with Straight Line distances.
    Map of Romania :: https://kirankonathala.sslpowered.com/kirankonathala.com/AI/MapOfRomania.jpg
    Straight Line Distances :: https://kirankonathala.sslpowered.com/kirankonathala.com/AI/straightLineDistances.JPG

    HI Guys!Pl comment on this code -- Is it a good practice to build the tree as described here??my friend provided me this.can't we avoid hashmaps?
    Pl comment...
    class GreedySearch
         public static void main(String a[]){
              HashMap stateMap = new HashMap();
              ArrayList stateList = new ArrayList();// this list is used to get the city name based on the user input          
              State arad = new State("Arad",366);
              arad.addNextState("Timisoara",329,118);
              arad.addNextState("Sibiu",253,140);
              arad.addNextState("Zerind",374,75);
              State bucharest = new State("Bucharest",0);
              bucharest.addNextState("Glurglu",77,90);
              bucharest.addNextState("Urziceni",80,85);
              bucharest.addNextState("Fagaras",176,211);          
              bucharest.addNextState("Pitesti",100,101);          
              State cralova = new State("Cralova",160);
              cralova.addNextState("Pitesti",100,138);
              cralova.addNextState("Rimnicu",193,146);
              cralova.addNextState("Dobreta",242,120);
              State dobreta = new State("Dobreta",242);
              dobreta.addNextState("Cralova",160,120);
              dobreta.addNextState("Mehadia",241,75);          
              State eforle = new State("Eforle",161);
              eforle.addNextState("Hirsova",151,86);     
              State fagaras = new State("Fagaras",176);
              fagaras.addNextState("Bucharest",0,211);
              fagaras.addNextState("Sibiu",253,99);
              State glurglu = new State("Glurglu",77);
              glurglu.addNextState("Bucharest",0,90);
              State hirsova = new State("Hirsova",151);
              hirsova.addNextState("Urziceni",80,98);
              hirsova.addNextState("Eforle",161,86);     
              State iasi = new State("Iasi",226);
              iasi.addNextState("Vaslui",199,92);
              iasi.addNextState("Neamt",234,87);
              State lugoj = new State("Lugoj",244);
              lugoj.addNextState("Mehadia",241,70);
              lugoj.addNextState("Timisoara",329,111);
              State mehadia = new State("Mehadia",241);
              mehadia.addNextState("Dobreta",242,75);
              mehadia.addNextState("Lugoj",244,70);
              State neamt = new State("Neamt",234);
              neamt.addNextState("Iasi",226,87);
              State oradea = new State("Oradea",380);
              oradea.addNextState("Sibiu",253,151);
              oradea.addNextState("Zerind",374,71);          
              State pitesti = new State("Pitesti",100);
              pitesti.addNextState("Bucharest",0,101);
              pitesti.addNextState("Cralova",160,138);
              pitesti.addNextState("Rimnicu",193,97);
              State rimnicu = new State("Rimnicu",193);
              rimnicu.addNextState("Sibiu",253,80);
              rimnicu.addNextState("Pitesti",100,97);
              rimnicu.addNextState("Cralova",160,146);
              State sibiu = new State("Sibiu",253);
              sibiu.addNextState("Fagaras",176,99);
              sibiu.addNextState("Rimnicu",193,80);
              sibiu.addNextState("Arad",366,140);
              sibiu.addNextState("Oradea",380,151);
              State timisoara = new State("Timisoara",329);
              timisoara.addNextState("Lugoj",244,111);
              timisoara.addNextState("Arad",366,118);
              State urziceni = new State("Urziceni",80);
              urziceni.addNextState("Bucharest",0,85);
              urziceni.addNextState("Hirsova",151,98);
              urziceni.addNextState("Vaslui",199,142);
              State vaslui = new State("Vaslui",199);
              vaslui.addNextState("Urziceni",80,142);
              vaslui.addNextState("Iasi",226,92);
              State zerind = new State("Zerind",374);
              zerind.addNextState("Arad",366,75);
              zerind.addNextState("Oradea",380,71);
              stateMap.put("Arad",arad);
              stateMap.put("Cralova",cralova);
              stateMap.put("Dobreta",dobreta);
              stateMap.put("Eforle",eforle);
              stateMap.put("Fagaras",fagaras);
              stateMap.put("Glurglu",glurglu);
              stateMap.put("Hirsova",hirsova);
              stateMap.put("Iasi",iasi);
              stateMap.put("Lugoj",lugoj);
              stateMap.put("Mehadia",mehadia);
              stateMap.put("Neamt",neamt);
              stateMap.put("Oradea",oradea);
              stateMap.put("Pitesti",pitesti);
              stateMap.put("Rimnicu",rimnicu);
              stateMap.put("Sibiu",sibiu);
              stateMap.put("Timisoara",timisoara);
              stateMap.put("Urziceni",urziceni);
              stateMap.put("Vaslui",vaslui);
              stateMap.put("Zerind",zerind);
              stateList.add("Arad");// this list is used to get the city name based on the user input
              stateList.add("Cralova");
              stateList.add("Dobreta");
              stateList.add("Eforle");
              stateList.add("Fagaras");
              stateList.add("Glurglu");
              stateList.add("Hirsova");
              stateList.add("Iasi");
              stateList.add("Lugoj");
              stateList.add("Mehadia");
              stateList.add("Neamt");
              stateList.add("Oradea");
              stateList.add("Pitesti");
              stateList.add("Rimnicu");
              stateList.add("Sibiu");
              stateList.add("Timisoara");
              stateList.add("Urziceni");
              stateList.add("Vaslui");
              stateList.add("Zerind");
              System.out.println(" 1) Arad \n 2) Cralova\n 3) Dobreta\n 4) Eforle\n 5) Fagaras\n 6) Glurglu\n"
              +" 7) Hirsova\n 8) Iasi\n 9) Lugoj\n 10) Mehadia\n 11) Neamt\n 12) Oradea\n 13) Pitesti\n"
              +" 14) Rimnicu\n 15) Sibiu\n 16) Timisoara\n 17) Urziceni\n 18) Vaslui \n 19) Zerind\n ");
              System.out.print("Enter the starting State: ");

  • TREX not working for e-recruiting with HTTP content server

    We have a separate e-recruiting instance where we have only e-recruiting functionality installed. In this system we are using Storate type as "http content server instead of standard setting "SAP system database" for HR_KW content repository via transaction code "OAC0"
    Following are the details
    Document Area: HR_KW
    Storage type : HTTP Content Server
    Version no. 0046 Content Server version 4.6
    HTTP server vd24cs02.sce.com
    Port Number 8080 SSL Port Number
    HTTP Script archive
    Phys. path /usr/sap/N09/SYS/global/
    Points to be noted:
    1) TREX Search functionality for Job postings etc is not
    working with this setting, however if we use HR_KW_CONT (storage type=03 SAP System database) , above mentioned functionalities work. We observed that xml files required for TREX search are also not getting created when we change the settings.
    2) We observed that when we change the storage type the indexing job is successful but application log shows some failures in reading/modifying xml files
    Please let me know what are the settings/ procedure to use a different storage type instead of standard setting delivered with the product. Anything related to the setting for above requirement

    Hi All,
    I may have a similary problem but I'm not entirely sure.
    I have been tasked with setting up a simple java servlet to authenticate against a BOXI (Business Objects) server, from my tomcat server (tomcat 5.5) on my windows XP  desk top machine. I will add more info on this shortly.
    I have been supplied with a krb5.ini file and the bscLogin.conf file as follows:
    bscLogin.conf :
    com.businessobjects.security.jgss.initiate {
    com.sun.security.auth.module.Krb5LoginModule required debug=true;
    krb5.ini[libdefaults]
    default_realm = ADF.SOMEWHERE.CO.UK
    dns_lookup_kdc = true
    dns_lookup_realm = true
    default_tgs_enctypes = rc4-hmac
    default_tkt_enctypes = rc4-hmac
    [realms]
    ADF.SOMEWHERE.CO.UK = {
    kdc = DC90.ADF.SOMEWHERE.CO.UK
    default_domain = ADF.SOMEWHERE.CO.UK

  • Benefits of Using TREX for PLM Search

    Hi All,
    Can somebody guide me on the benefits if we use TREX 7.1 with Embedded Search for PLM?
    Following are our requirements, whether this will be met with TREX
    1) Will the TREX help to search Cross u2013Objects with same names, for ex, if we search CCA, will it show all materials, BOM,s; Documents and Change Masters starting with CCA?
    2) .Can we u201CSaveu201D the Search attributes or variants so that the same type of Search can be used again?
    3).Can we give Boolean search or fuzzy search with AND and OR options?
    4) .Can we search the fields mentioned in Long Text using TREX?
    Regards,
    Aby

    Hi Santosh,
    Thanks for your inputs..
    While searching for all Objects, can we give the input of Description? 
    for example, if I want to find all objects which have a term "XYZ" in the description, can I find it?
    Can I search on the Long text details if TREX is there?
    If you have any detailed links or documents related to PLM Search with TREX , its benefits and features , please forward..
    Also we are using PLM 7.0  Are all these features mentioned for TREX 7.1 is available over PLM 7.0?
    Regards,
    Aby
    Edited by: Aby Thomas on Jun 23, 2010 2:38 PM

  • TREX 7.1 Embedded Search for PLM

    Hi there,
    Currently we have TREX Server 7.00 Build 49
    However, I am bit of confused with the following notes "Note 1249465 - TREX 7.1: Installing TREX for Embedded Search", where they are talking about TREX 7.10...Is that mean we cannot use the Currently installed TREX 7.00 Build 49 for Embedded search PLM? or Do we need to do a fresh install of TREX 7.10 Embedded search separately on a server for PLM Search?  
    Any thoughts would be appreciated.
    Thanks in advance
    Kumar

    Hi Frank,
    I have a quick question regards to High Availability for TREX 7.1. I have read the most part of the documentation for "SAP NetWeaver Standalone Engine Search and Classification TREX 7.10 on multiple hosts" 
    [TREX 7.10 on Multiple hosts|https://websmp203.sap-ag.de/~sapidb/011000358700000854982007E/TREX71InstallMultipleHosts.pdf]
    I would like to get your thoughts on what I am planning to put together.  We have 2 physical server with 8 CPUs, 32 GB memory each, with a network storage for Centralized Storage to make it HA. To make it HA, we need at least
    1 Master
    1 Backup
    2 Slaves
    For an example:
    Server 1 host: SAPTREX1
    Server 2 host: SAPTREX2
    Do all of them needs to be installed on a separate OWN hosts? or can I install Master and First Slave on the SAPTREX1 and then Backup and Second Slave on the SAPTREX2. Is this is something possible?
    Please let me know what do you think about this.
    Thanks in advance.
    Kumar
    or Can I install the Master and Backup on a

  • TREX search for notes

    Hi!
    I need to implement TREX search in the notes in a service ticket. I have done configuration steps like creating object connector and indexing. Can anyone guide me on how to proceed further to implement the search for notes in STs?
    Thanks in Advance!
    Regards,
    Heera

    hi, can you please share solution?
    BR
    Radek

  • How to implement SEARCH HELP for input field in WDA

    Hi All,
    I am doing a tool for my team. in this tool there are 4 input fields to show different processes. I implemented the 4 input fields and also bind the respective tables to these fields successfully. Actually I want to filter the data between 2 fields . Means the data in the 2nd input field should be based on the 1st input field. Means when I'll select for example 'CHI' (code for CHINA) in the 1st input field the 2nd field meant for country name should show all country name with value 'CHINA'. But the problem is that all values related to each field are in different table with no foreign key relationship and also some combinations are in single table..
    I have tried the import and export parameter method for search help but no luck till now.
    Can anyone please suggest me how to implement this scenario..
    Thanks in advance...
    sekhar

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • How to implement search engine for pdf file.

    Hi
    I am newbie to AIR technolgy .how  to implement search engine . when i enter the name of file in search box , it should fetch correspoding  the pdf file .
    Please help me out
    Thanks
    Mohan

    Hi sekhar,
    Your Requirement can be implemented by OVS(Object Value selector) This is the custom search help .So that you can define on what basis the value has to be fetched.
    Look at the below link
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/606288d6-04c6-2c10-b5ae-a240304c88ea?quicklink=index&overridelayout=true
    You need to use the component WDR_OVS.
    It has 3 phases
    In phase 1
         You will fetch the value from input field to F4 help dialog box.
    In phase 2
         You will generate the search results , in this phase look for the input value given in field 2 and accordingly generate search result for the field 3.
    In phase 3
         The selected value will be returned to the original screen.
    Regards
    Karthiheyan M

  • To implement search help for date and time fields details

    how can i implement search help for date and time fields in screen painter

    Hi
    Declare the variables as sy-datum and sy-uzeit or any other pre-defined data typ of date and ime types. Serach help will automatically comes.
    Aditya

  • Trex Search for Archive Link OAAD or OAWD Documents,

    HI Sap Gurus,
    Can Trex Search in the originals of documents which are stored by OAAD or OAWD Transactions,
    if so how to activate the Trex Original document Search for Documents stored through OAAD or OAWD,
    Thanks and regards
    J Sari,

    Dear Athol,
    We are using SAP Content server to store our Documents from GOS and also the same Content server is used  for maintaining our Documents through DMS also,
    so as a standard, Trex cannot search documents maintained in content server by GOS methord and it can only search those documents which are maintained by DMS CV01N method,
    pls suggest how to proceed for the development to allow Trex to search all the documents in Content server, how big is the development, is there any SAP suggested solution to be followed,
    Thanks and Regards
    J sari

  • Trex search for business object in portal

    Hi
    I would like to build a KM search iView in portal which enables users to search for business object from backend system.
    I have built up the indices for business object in the backend system. In portal->trex monitor->display index details, I can see the indices which are created from backend system. But soemhow, I feel the indices are not usable, as I can not see them in the indexing monitor. And after I created an KM search iview with search component 'search_input_indexes', my index created from backend can also not be shown in the preview of the iview.
    I guess there is some step missing. Any help will be appreciated.
    Thanks and best regards
    Yingzhi

    Hi Yingzhi,
    with current releases, business objects indexed through the ABAP-based Search Engine Service (SES) or directly from certain SAP solutions to TREX are not by default accessible from KM.
    The next release after NW2004s will enable Enterprise Search and provide the meta-search engine for parallel search access to business objects and KM documents.
    Please see the following presentation for some explanations on SES and Enterprise Search and note stated time-lines:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/73f3eedf-0501-0010-0aa6-950694c02f99
    In some monitors that access TREX directly from the portal, you may see the business object indexes, but they are not actually known to KM.
    Regards, Karsten

  • Area not visible for Trex searching

    Dear Friends,
    In SAP DMS, there is a standard provision for Trex searching, we have to install trex server, search engine and configure it. In my development box, I m not able to see tab Text search within original in cv04n. What to do for this?
    Regards,

    Hi,
    First you check whehter the installation of Trex server is done without any errors & also check the configuration related with Trex connection.
    If all these things are correct then you have to check for SAP note if any.
    Regards,
    Jagruti

  • TRex search for iView

    Hello, I was wondering how to do make the TRex search for the content in iViews and link to those iViews into the portal when the TRex send the results for search. Right now the TRex searches in the repositories specified in the datasource and the results link to the content of documents. Any ideas?
    Thanks.

    Hi Pablo,
    > I'm starting to think I will have to pass
    > some fee for all your help
    Don't hesitate, I can pass you my bank account details...
    > I've seen this forum ...
    Oh, don't mix up the PCD repository which can be searched for iViews ==> that is iView names, maybe description etc, but this does <i>not</i> mean the content itself.
    As far as I understand your original question, you would like to search "real content" ("what's printed within the iView") in that kind that clicking on a search result link would lead you to the corresponding navigation target.
    For this, the scenario given in my orignal answer in <i>this</i> thread should be the way to go. Even if this works only in "internet" scenarios properly, for this scenario cannot distinguish between different roles / access rights.
    > is SPS 14 the same that SP14?
    Yes. "SP" = "Support Package", SPS = "Support Package Stack", the "new" common number for all components playing together.
    Hope it helps
    Detlev

  • How to Implement the Search page for Workflow Notifications?

    Hi All,
    I want to implement the new Search page for Workflow Notifications. Search page containing Company, Paygroup, Source, Initiator, Supplier Name, From date & To date fields. These fields(Poplist & Calendar) are getting the values from different tables and these fields are not in WF_NOTIFICATIONS table only Initiator & dates are there. After selecting the values in all fields or one field based upon these values I want to display the all Workflow Notifications ( Those are satisfy the search criteria only not all ) in Advance Worklist Table RN in the Notifications page. Is it possible to create the Search page based upon the above scenario if Yes Let me know how to implement this search page for Workflow. Page was designed but how to get the sortlisted Notifications and how to pass these values to next page?
    Thanks in advance.
    Edited by: user635152 on Nov 13, 2008 10:53 AM

    Hi Guru,
    I crete the Search page having 5 poplists and select the values from dropdown list and click GO button it serch the records and displays that records in ResultsTable in same page.
    My case, Search page is running fine if I select the values and click GO button page is refreshed without errors but I am unable to displays the records in ResultsTable.
    What I am missing?
    My Select Stmt:
    SELECT * FROM      
    (select wn.nid notification_id
    ,ou.name company
              ,I.PAY_GROUP_LOOKUP_CODE paygroup
              ,'AP' source
              ,pf.full_name initiator
              ,pv.vendor_name supplier_name
              ,I.GL_DATE FROM_TO_DATE
    from ap_invoices_all i
    , po_vendors pv
         , hr_operating_units ou
         , per_all_people_f pf     
         , FND_USER FU
    , (SELECT trim(substr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),
    1,instr(substr(substr(WN.subject,(instr(WN.subject,'Invoice ') + 8),100),1,100),' for'))) inv_no
    ,notification_id nid
    FROM WF_NOTIFICATIONS WN
    WHERE WN.MESSAGE_TYPE = 'APINV'
    AND WN.STATUS NOT IN ('CANCELED','CLOSED')) wn
    where i.vendor_id = pv.vendor_id
    and i.invoice_num = wn.inv_no
    and i.WFAPPROVAL_STATUS = 'REQUIRED'
    and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
    and i.org_id = OU.organization_id
    AND OU.name like nvl(:company_name,name)
    and i.pay_group_lookup_code = nvl(:pay_group,i.pay_group_lookup_code)
    and exists (select ad.invoice_id
    from ap_invoice_distributions_all ad
    where ad.invoice_id = i.invoice_id
    and ad.accounting_date between nvl(:from_date,ad.accounting_date)
                                       and nvl(:to_date,ad.accounting_date))
    and 'AP' = nvl(:source,'AP')
         and i.created_by = fu.user_id
         AND fu.EMPLOYEE_ID = pf.person_id
         AND pf.full_name like nvl(:initiator, pf.full_name)
    UNION ALL
              select po_num.nid notification_id
              ,ou.name company
              ,ps.PAY_GROUP_LOOKUP_CODE paygroup
              ,'PO' source
              ,pf.full_name initiator
              ,pv.vendor_name supplier_name
              ,P.CREATION_DATE FROM_TO_DATE
         from po_headers_all p
         ,po_vendors pv
              ,po_vendor_sites_all ps
              ,hr_operating_units ou
              ,per_all_people_f pf
         ,(select trim(substr(wn.subject,24,instr(wn.subject,' for')-24)) po_no, notification_id nid
              FROM WF_NOTIFICATIONS WN
         WHERE WN.MESSAGE_TYPE = 'POAPPRV'
         AND WN.STATUS NOT IN ('CANCELED','CLOSED')
         and wn.subject like 'Standard Purchase Order%') po_num
         where p.SEGMENT1 = po_num.po_no
         and p.vendor_id = pv.vendor_id
         and p.org_id in(select organization_id
         from hr_operating_units
         where name like nvl(:company_name,name))
         and pv.vendor_name = nvl(:vendor_name,pv.vendor_name)
         and p.AUTHORIZATION_STATUS = 'IN PROCESS'
         and p.CANCEL_FLAG = 'N'
         and 'PO' = nvl(:source,'PO')
         and p.agent_id = pf.person_id
         and pf.full_name like nvl(:initiator, pf.full_name)
         and pv.vendor_id = ps.vendor_id
         and ps.org_id = ou.organization_id
         and ou.name like nvl(:company_name,name)
    and ps.PAY_GROUP_LOOKUP_CODE = nvl(:pay_group,ps.PAY_GROUP_LOOKUP_CODE)
         and trunc(p.creation_date) between nvl(:from_date,trunc(p.creation_date)) and nvl(:to_date,trunc(p.creation_date))
    In CO PFR Code:
    if (pageContext.getParameter("Go") != null)
    OAQueryUtils.checkSelectiveSearchCriteria(pageContext, webBean);
         String COMPANY = pageContext.getParameter("COMPANY");
    String PAYGROUP = pageContext.getParameter("PAYGROUP");
    String SOURCE = pageContext.getParameter("SOURCE");
    String INITIATOR = pageContext.getParameter("INITIATOR");
    String SUPPLIER_NAME = pageContext.getParameter("SUPPLIER_NAME");
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    Serializable[] parameters = { COMPANY, PAYGROUP, SOURCE, INITIATOR, SUPPLIER_NAME, executeQuery};
    Class[] paramTypes = { String.class, String.class, String.class, String.class, String.class, Boolean.class };
    am.invokeMethod("initSearch", parameters, paramTypes);
    OAAdvancedTableBean table = (OAAdvancedTableBean)webBean.findChildRecursive("ResultsTable");
    table.queryData(pageContext, false);
    AM invoke Method():
    public void initSearch(String company,
    String paygroup,
    String source,
    String initiator,
    String supplier_name,
    Boolean executeQuery)
    WorklistFindVOImpl vo = getWorklistFindVO1();
    if (vo == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "WorklistFindVO1") };
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    vo.initQuery(company, paygroup, source, initiator, supplier_name, executeQuery);
    VO Code:
    public void initQuery(String company,
    String paygroup,
    String source,
    String initiator,
    String supplier_name,
    Boolean executeQuery)
    StringBuffer whereClause = new StringBuffer(500);
    Vector parameters = new Vector(5);
    int clauseCount = 0;
    int bindCount = 0;
    setWhereClauseParams(null); // Always reset
    if ((company != null))
    String companyname = null;
    try
    companyname = new String(company);
    catch(Exception e) {}
    whereClause.append("COMPANY= :COMPANY");
    whereClause.append(++bindCount);
    parameters.addElement(company);
    clauseCount++;
    if ((paygroup != null) && (!("".equals(paygroup))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("PAYGROUP = :PAYGROUP");
    whereClause.append(++bindCount);
    parameters.addElement(paygroup);
    clauseCount++;
    if ((source != null) && (!("".equals(source))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("SOURCE = :SOURCE");
    whereClause.append(++bindCount);
    parameters.addElement(source);
    clauseCount++;
    if ((initiator != null) && (!("".equals(initiator))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("INITIATOR = :INITIATOR");
    whereClause.append(++bindCount);
    parameters.addElement(initiator);
    clauseCount++;
    if ((supplier_name != null) && (!("".equals(supplier_name))))
    if (clauseCount > 0)
    whereClause.append(" AND ");
    whereClause.append("SUPPLIER_NAME = :SUPPLIER_NAME");
    whereClause.append(++bindCount);
    parameters.addElement(supplier_name);
    clauseCount++;
    setWhereClause(whereClause.toString());
    if (bindCount > 0)
    Object[] params = new Object[bindCount];
    parameters.copyInto(params);
    setWhereClauseParams(params);
    if ((executeQuery != null) && (executeQuery.booleanValue()))
    executeQuery();
    } // end initQuery()
    Please let me know what I did mistake in my code?
    I am unable to find it what I missing and there is no errors but no records displayed in Results Table.
    Please it's urgent.
    Thanks
    Nag.
    Edited by: user635152 on Nov 19, 2008 4:43 PM

Maybe you are looking for