Search in Web Dynpro

Hi
My index points to the folder 'A' in KM. This folder 'A' has 5 subfolders (A1, A2, A3, A4 and A5), each one with 500 files.
Im trying to do a Web Dynpro to make a search only in the folder A1. But the index has to continue pointing to 'A'.
I have done this code but it doesn´t work:
SearchQueryListBuilder queryBuilder = new SearchQueryListBuilder();
queryBuilder.setSearchTerm( "*" );
queryBuilder.setDisplaynameIncluded( true );
Hashtable m = new Hashtable();
m.put(SearchParamConst.PARAM_SEARCH_FOLDER, "/A/A1");
queryBuilder.setSearchParameters(m);
Any idea??
Thanks in advance

Hi Carlos,
Pls check this [code sample|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/41cbcb56-0701-0010-43b4-fbc138ea2b6a] by Thilo.
I think u need to use
PARAM_SEARCH_IN
also in ur code.
Regards
BP

Similar Messages

  • Value help search in web dynpro java

    Hi Everyone,
    I have a View where in which there is a value help for a field name and hit on that value help , its gives a popup for which has ID and name.
    But the issue when when user tries to search for a employee name  in the popup window, the user has to input the name in capital letters, but they want this to be  case sensitive.
    Now i checked on the code, but I dont find a piece of code for search, is it a standard type of code, How can I make this case sensitive.
    all i can find is a method which populates data into that popup .
    am i missing something to check .
    Regards,
    Raj

    Hi,
    Is this an EVS?
    Its handled by the framework, so you cant change the behaviour.
    In case of OVS you have the option to do this.
    This article might of use https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/391ee590-0201-0010-1c89-f1193a886421
    Regards
    Ayyapparaj

  • Web dynpro abap or java ?

    Hi All,
          Our client wants a web front end for the SAP system and has asked us to search which web dynpro ABAP or Java will be suitale ?
          They were of the opinion that web dynpro for ABAP is not that good for web interfaces is it correct ?Also is there demend for web dynpro developers in the market ?
    Thanks & Regards
    Gaurav Jain

    >They were of the opinion that web dynpro for ABAP is not that good for web interfaces is it correct ?
    What do you mean by Web Interfaces?  Web Dynpro ABAP and Java are well suited for created browser-based (or rich client based) business application User Interfaces.  If by Web Interfaces you mean Internet facing, highly customizable user interfaces - then no - neither web dynpro abap or java are really well suited for that situation.  WDA and WDJ are both designed to create consistent Business Application user interfaces.
    Now if you just want to compare WDA and WDJ - that is a very different question. The differences in capabilities are relatively minor. Generally it comes down to which programming language you have more of a skill set in and how close to the underlying data you need to be.  Also are you planning to extend existing SAP applications?  WDA is primarily used by SAP within the Business Suite (ERP, SRM, PLM, etc) - two exceptions however - WDJ is used in ESS/MSS (although newer portions of that solution are in WDA) and CRM uses BSP/CRMUI.  WDJ is used by the middleware components (Portal) and edge or composite applications.

  • Menus in Web Dynpro

    Hi!
    Is it possible to build menus in Web Dynpro?
    I have already searched the Web Dynpro forum and fount the
    following thread:
    Re: Context menu in WebDynpro?
    Does the last answer of Armin Reichert refer to main menus as well or is this statement only valid for context menus?
    Kind regards
    Achim

    You still have to wait some time until menus are included in a service pack.
    Armin

  • Web Dynpro Development Components missing for MSS

    Hey Guys...
    The following BPs are installed on our landscape:
    ○       Business Package for Manager Self-Service (SAP ERP) 1.3
    ○       Business Package for Common Parts (SAP ERP) 1.3
    ○       Business Package for Project Self-Service (SAP ERP) 1.0
    ○       Business Package for HR Administrator (SAP ERP) 1.1
    The ECC is EHP 3, SP 14 and EP is 7.0 SP 14
    I've been trying to set up iViews for MSS but I see that all Web Dynpro Applications specified in the technical information of iViews are missing. I searched for Web Dynpro Development Components in the EP and all MSS related WDC are just missing.
    According to SAP Help Documentation (http://help.sap.com/erp2005_ehp_03/helpdata/en/76/77594d165144a1a9bff9aae1e26b26/content.htm) these are required:
    Web Dynpro Development Components:
    ○       PCUI_GP
    ○       MSS
    ○       SAP_PSS
    Where can I get them??? Is it possible our basis didn't install the right Business Package?

    Seems you have got right business packages, though have a look at  note [1303362|https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1303362] to confirm dependency.
    "but I see that all Web Dynpro Applications specified in the technical information of iViews are missing."
    Well this could be because of errorsome business package deployment, you can still check list of deployed components from SDM and if there is any error log for deployement, you should try to deploy them again(update existing components).
    Hope this helps. If not then probably you should go Content Admin - WebDynpro  and see list of application listed under MSS.. if those referred applications are available then try to execute them.
    And last one.. if you "think" they wont run.. or you have actually tried to run MSS and none of applications are working. you should be able to run standard package without any major configuration chanegs.. so give it a go.. and see if you encounter any error.
    Cheers

  • Web dynpro for abap how to create a customize search help in alv column

       hi:
          Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
          Are there specific examples ?
          thanks!!

    HI:
       I want to created a freely programed help which include date&time,and put help value to alv column.
      I have created a freely programed help in web dynpro for abpa application,I refer:
      **************** - WebDynpro for ABAP
      but have a problem!
       If you focus on the the input field in the first row, you get the value help
    However if  I go to the second row and focus on the same input field in this column, I don't get the value help:
    What is a good way to solve similar problems?
    thanks

  • To get f4 search help in Abap Web dynpro

    Hi web Dynpro Experts,
    i want to achieve XK03 Tcode payment mode search help functionality  in abap webdynpro,in clearly When i press f4 i payment mode input field a view should open with  different payment modes like
    a.ebanking payment method,
    b.ebanking treasury pay method,
    c.cheque ..etc..with check boxes when i select a and b methods types it should concatinate and shown as ab in payment methods field.
    I checked for this there is no predefined search helpin data element level(dzwels),and domain level,i hope it is provided by programming.
    if i want to achieve f4 search help through free programming?how to do that?
    how to re use the same screen design which is in XK03?
    please guide me to come out of this issue
    Thanks in advance
    Vijay
    Edited by: vijay kumar on Apr 17, 2010 10:17 AM

    hi friends my question is answere...thanks for ur support

  • Search help in web dynpro Java i-view

    Hi experts!!
    I am new to EP so i need some help..
    I am trying to implement some web dynpro i-views and i would like to know if there is any way to have F4 search help for  fields in form template that correspond to R/3 fields. In other words i want to take the search help values from the R/3.
    Should i create a model  to call a BAPI for search help??? Or is there any other way?????
    Thanx in advance...!!!
    PS: will reward points to usefull answers.

    Hi You can create Value Help in Webdynpro to show F4 Help values.
    Follow this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
    Reward Points if Helpful
    Edited by: Praveen Kommineni on May 7, 2008 8:05 PM

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Search help for Web Dynpro using the SAP-search help

    Hi,
    I’m trying to create a generic search help for Web Dynpro using the SAP-search help. It should working so, that I construct a Web Dynpro-component, that gets the data of the search help from the SAP-system, interpreted it and creates the ui-elements and the needed context generic.
    The mapping between the Input field of the customerview and the right search help is to be made with an xml-file, which contains the information: name of the view, the input field, the search-help-name and the name of the field that will be returned.
    The xml-file is reading from a helper-class. That helper-class contains any information, witch need the search help-component as well as the customer-component.
    The initialization takes place in the method wdDoModify of the customer. The call of the search help from the customer should be implement with an Action, witch is bound to a Button(create dynamic in the helper-class behind the input field).
    In a second foot should be create a plugin for eclipse, witch insert the used files (search help component, helper class, …) in the project. In addition it should create the call in the customer generic.
    It would be great if someone can give me a feedback!

    Hi Mike,
    The BlanketAgreement.exe is a reference to the executable that will be created when you compile the solution you created in Part II - Part III. I think there is a mistake in the tutorial because it asks you to name the project 'Blanket' which means that by default the executable will be called Blanket.exe and not BlanketAgreement.exe. The tutorial also misses the step asking you to compile the Blanket project before you go on to create an installer. You should compile your Blanket project in Release mode before creating an installer. By compiling the project you'll get a Blanket.exe file in the bin folder of your Blanket project which you then need to add to the installer per the instructions.
    SAP do offer development courses in some areas and there is training material here on the SDN and on the SAP partner portal (and maybe the customer portal as well). Try searching this forum for 'training' or 'tutorial' and you should get a few links. There's also a development certification.
    Personally I'd recommend you give yourself a little project to work on and just get stuck in
    Kind Regards,
    Owen

  • How to make Web Dynpro Search work using CAF Entity Service Method

    Hallo everybody,
    I'm facing a problem regarding CAF Method and I really need some help.
    The Method I want use is a "Search by Key" method, which I already testet in Composite Application and it has worked.
    But wenn I try to add the CAF Model in Web Dynpro and Apply the template in Component Controller, there was no input value there to be selected but only the return values. How can I make the method work?
    Thanks a lot.

    Hallo everybody,
    I'm facing a problem regarding CAF Method and I really need some help.
    The Method I want use is a "Search by Key" method, which I already testet in Composite Application and it has worked.
    But wenn I try to add the CAF Model in Web Dynpro and Apply the template in Component Controller, there was no input value there to be selected but only the return values. How can I make the method work?
    Thanks a lot.

  • Search for users in a particular LDAP through Web Dynpro code...

    Hi Experts,
    Let me try explaining my problem. In my project we are using two ADAM LDAPs. One for storing internal users and the other for storing external users. I have configured the portal to connect to both the LDAPs. I am able to search for the users created in both the LDAPs through portal Indentity Management.
    I am trying to search for the users in a specific LDAP through Web Dynpro coding... I am not lucky enough to get it done. Let me explain you what I did.
    I created a custom attribute for UME through config tool. Gave a physical mapping for the custom attribute in dataSourceConfig_xxx.xml to the LDAP attribute distinguishedName which returns the distinguished Name for the user in ADAM LDAP.
    For Example: Custom attribute in UME is ldapuser which is mapped to distinguishedName attribute in ADAM LDAP in dataSourceConfig_xxx.xml.
    When I do a search for the users in a particular LDAP, I am trying to put a filter to the newly created ldapuser attribute to distinguish between the two LDAPs.
    The search will result if I pass the value as '*'. If I try to specify the user path for the LDAP in this attribute it doesnt result any data.
    For example:
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         "OU=16482515,OU=Members",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    The above code will not return the data, whereas
    userSearchFilter.setSearchAttribute(
         "com.sap.com.cust.admn",
          "ldapuser",
         ISearchAttribute.LIKE_OPERATOR,
         false);
    Will result with user list from both the LDAPs.
    If anyone tried searching for users in a particular LDAP through code, please help me with this issue.
    Thank you in advance.
    Regards,
    Rekha Malavathu

    I just figured it out. Under "group-policy GroupPolicy_COMPANY_SSL_VPN attributes", I had to add "vpn-simultaneous-logins 15". Apparently, it was using the value "vpn-simultaneous-logins 0" under the NOACCESS group policy.

  • Search help in web dynpro

    Hallo dear all,
    i defined a search help in the ABAP Dictionary and want to use it in a web dynpro. The search help is based on the data base table /BIC/PSCPLPROD (selection method).
    It shall be used in a web dynpro that presents  select-options (among others) for the field /BIC/SFINCUST of the table /BIC/SCPLPROD.
    How can i realize that the selct-options field can automatically use the predefined search help?
    I must explain additionally that the mentioned select options field is alreday linked to an other search help which unfortenately is unseless in this case. So Iwant to "overwrite" this link with the link to my search help on the DDIC.
    Your answer would really minimize my project troubles. Many thanks in advance.
    Best regards Dorothea.

    why can't you have another field and have the required search help attched to it.
    if you can control this at Dictionary level then the Problems at WebDynpro side is minimum.

  • How to create search help for Web Dynpro?

    Hi all,
    I have troubles when creating search help for web dynpro. I have visited this link /people/dirk.rehberg/blog/2006/12/27/generic-search-help-for-web-dynpro-for-java but I can't find this generic search help plug-in for download. If u have this plug-in can u share it for me or upload somewhere for download. Or anyone has already done this search help please help me solve this problem! Thanks in advance!

    Hi Dinh Thieu Thien,
    please place such a request to the appropriate forum "[Web Dynpro for Java|Web Dynpro Java;".
    Thanks and regards,
    Boris

  • PERNR search help in ABAP Web Dynpro

    All,
    I wish to add a search help based on PERNR into my web dynpro application.
    I have used the code:
    *create a range table
      lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'ZEMP_SEL' ).
    *add a new field to range table
      wd_this->m_handler->add_selection_field( i_id = 'PERNR'
                                               it_result = lt_range_table
                                               i_read_only = read_only ).
    And I have defined ZEMP_SEL as a data element with domain PERNR. This has added the search help to my screen but when i used it and select an entry from the search help, it populates the screen with the employee name and not the employee number.
    Does anybody know why this would happen? or what should I use in I_TYPENAME for the search help to work properly
    thanks
    anthony

    hi friends my question is answere...thanks for ur support

Maybe you are looking for