Mimicking SAP search functionality for Web Dynpro inputfield

Hello Experts,
I am using NWDS 7.0.18. EP 7.00 SPS 18
I want to mimic the standard SAP functionality of an input field search values in web dynpro.
Is it possible to have an inputfield with the little square search values button next to it, so that after I type in a few characters in the input field and click the button, a window will open up and list the values that contains that string? Then the user can double click the value and it will get populated into the inputfield?
Any suggestions?
Regards,
MM

Hi Marshall,
You can easily use the IModifiableSimpleValueSet for getting the value help attached to input field. Follow these steps:
1) Create a attribute under somenode in the view context. 
2) Bind the atribute with the input field.
3) Use the following code:
IWDAttributeInfo list =wdContext.node<Node_Name>().getNodeInfo().getAttribute("ATTRIBUTE_NAME");
ISimpleTypeModifiable type = list.getModifiableSimpleType();
IModifiableSimpleValueSet valueSet = type.getSVServices().getModifiableSimpleValueSet();
valueSet.put("value1", "value1");
valueSet.put("value2", "value2");
valueSet.put("value3", "value3");
valueSet.put("value4", "value4");
Also please note that webdynpro does not support the feature what we have in ABAP when we type in some value and hit enter a pop up comes with the list of values. Such feature is not supported. The maximum what you can do is just hit the F4 button to get the value help and select some values from the value help popup which has come.
I hope this solves your issue. Please revert back in case you need any further information on this. 
Thanks and Regards,
Pravesh

Similar Messages

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

  • Creating Search Help for Web Dynpro ABAP (FPM) Forms

    Dear All ,
    I am very new with SAP HCM P&F with FPM form. I am stuck with field search help functionality in FPM form. I have created on search help using 
    Web dynpro component to get all travel requests for all employees and linked it to FPM form field and its working fine....
    But.... my requirement is how to filter travel request based on the PERNR (employee number) field in FPM form.
    I think it can be achieved by using importing parameter LISTENER of interface IF_WD_VALUE_HELP_LISTENER but I am clueless how to pass PERNR to this interface to get travel requests for only employee number in field PERNR.
    Kindly help me out in this issue.
    Chohan

    Use this code in set_value_help_listener
    for e.g to read effective date.
    wd_this->help_listener->f4_context_element->get_attribute( EXPORTING name = 'EFFECTIVE_DATE' IMPORTING value =  wd_this->gv_eff_date ).

  • CL_GUI_FRONTEND_SERVICES Functions for Web Dynpros

    Hi folks,
    I want to check a file, which should be uploaded using FileUpload. This file shall exist on the local client and doesn't exceed a predefined size limit. CL_GUI_FRONTEND_SERVICES provides methods FILE_GET_SIZE and FILE_EXIST. As this class is only for SAP GUI my question is, if there is something near it for WebDynpros?
    Thanks for answers!

    You are correct that CL_GUI_FRONTEND_SERVICES is only for usage in the SAPGUI - as are any class with the naming CL_GUI*.  They require the Control Framework of the SAPGUI. 
    What you describe is not really possible in Web Dynpro - not because of a limitation in WD - but because of browser controls.  Remember that your application doesn't appear any more trusted to the browser than most anything else on the Internet. Even using security zones in the browser doesn't really open up full access to the desktop machine the way a thick client like the SAPGUI does.  I'm afraid that currently uploading the complete file and counting the number of bytes (as described) is your ownly records.  In the upcomming NetWeaver Enhancement Package 1 we do have two new ACF - Java Applet based UI elements that perform some of the functions of CL_GUI_FRONTEND_SERVICES.  They are acfUpDownload (for mass uploads/downloads and "background" ones) and the acfExecute - (arbritery execution of applicaitons on the desktop client). These UI elements get around the browser limitations because they are Signed Java Applets yet still have a security control mechanism (via a Whitelist Configuration XML file) to keep people from using them in a detrimental nature.  They still might not get you exactly what you want (file size query), but they are a step in the correct directly for replicating the most common functionalities of CL_GUI_FRONTEND_SERVICES.

  • Print Functionality for Web Dynpro ABAP Application

    Hi All,
    I am using the standard print button provided by FPM in my application.
    The application has a date navigator control as well as a dynamic ALV with fixed and on fixed columns.
    I would like to know if the application has to do any implementation to provide print functionality. If yes, how do we do it?
    Will it consider all the ALV columns as the ALV could have horizontal scroll bar.
    How do we test it?
    Defining output device in our user as LOCL is enough to test it? Are there any limitations?
    Findings until now:
    I just happened to see that gc_event_print FPM event is raised and the application uses interactive PDF form to implement printing.
    I am not sure if this satisfies my requirement.
    Could you help me in providing more information regarding this? You could also provide me some web dynpro examples for reference.
    Regards,
    Rekha

    >I just happened to see that gc_event_print FPM event is raised and the application uses interactive PDF form to implement printing.
    I am not sure if this satisfies my requirement.
    As you are already suspecting, the FPM doesn't provide the print functionality itself.  It only raises the event and the specific application is then responsible for how it wants to produce the output.  Therefore it is your job to design the output (generally using PDF forum).

  • How can I click to hande OVS and Search help for Web Dynpro

    Once the F4 help is clicked,  the event OVS of IF_WD_VALUE_HELP_FORWARD is triggered.
    Here  I would like to change the value list of F4 help list, I implemented a class and a method that handle that event.
    Since event only has importing parameter, how can I change the exporting paramter?
    Thanks
    Xin.

    hi,
    when you click on F4 help, Event OVS is triggered.
    now you can define an Event handler for OVS event.
    Inside this Event handler , you can change the Value help list.
    Inside the event handler there are three different phases to achieve this :
    Phase 0 :configuration phase.
    Phase 1 :Read values of the original context entered by user in Search Criteria.
    Phase 2 :  call business logic for a table of possible values.
    Phase 3 :  apply result.
    Refer the SAP Standard Component : Demo_Value_help.

  • SAP tool to estimate time for web dynpro development project

    Hi,
    Is there any standard SAP tool available to estimate time for web Dynpro development project?
    Thanks and Regards,
    Deepti

    Hi Deepti
    An implementation of Webdynpro based UI could be estimated by a 'standard' technique like any other U:
    1. Try to count the number of views/screens/popups in your application. The estimation time will be proportional to the quantity.
    2. Try to count the number of external interfaces would be used in the application. For example, quantity of necessary BAPI invocations (RFC), quantity of Web-service invocations or EJB calls. Also quantity of native JDBC queries if any.
    Test = Nviews x Hview + Nint x Hint, where Hview & Hint time in hours for average implementing of one UI view and time for adding of average service invocation.
    BR, Sergei

  • Want documents for   Web Dynpro ABAP

    Hi All ,
    Can anyone please send  me the Docs or link for   Web Dynpro ABAP .
    Thanks in advance
    Rahul

    Hi Rahul,
       Welcome to the interesting world of Web Dynpro ABAP !
    For Web dynpro ABAP you will require SAP ECC 6.0 onwards and WAS 7.0
    is a must. It has very good future propspects as this is best UI technology.
    In web dynpro ABAP we follow MVC(Model View Controller) architecture.
    In this object oriented ABAP is used to provide background functionality. Here, your ABAP skills can be utilized to the fullest. Programming in web dynpro ABAP is different than conventional ABAP programming. Here we strictly follow MVC architecture in terms of controller interface. Also there are many wizards available so that we can directly pick the code from wizards.
    e.g We can call BAPI through a service call in web dynpro application. Thus automatically backgroud code for BAPI execution will be generated.
    To start with Web dynpro ABAP you can try following tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    You can start with tutorials and all. There are around six tutorials in SDN library.
    Web Dynpro for ABAP
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
    best tutorials in wbdynpro for ABAP to start with :
    https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/webcontent/uuid/fed073e5-0901-0010-4eb4-c9882aac7b11 [original link is broken]
    Have a look at the following SDN WDA Wiki . There you can find all relevant information.
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Main
    First of all start doing SAP SDN tutorials .
    Create some compenents with BAPI , Component usage and ALV .
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    Try to Download demo tutorials from SDN library & Try to search WebDynpro ABAP WebLogs .
    Wait not just that SAP has provided you with ample demo example of WD ABAP already bundled with SAP . Just Try out Components starting with WDR . I can tell you few like WDR_TEST_EVENTS ( It shows how every UI elments to use )
    See packages like SWDP_DEMO , SALV_WD_DEMO
    there are many more .
    /people/marilyn.pratt/blog/2005/12/20/web-dynpro-for-abap
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a282c952-0801-0010-1eb5-87953e036712
    The specified item was not found.
    Also you can search weblogs on web dynpro ABAP.
    Hope this will help you.
    Cheers,
    Darshna.

  • KM functionality in web dynpro. Missing file: TutWD_KMBrowser_Init.zip

    Hi,
       in pdf documentation "Using Knowledge Management Functionality in Web Dynpro Applications" is mentionated TutWD_KMBrowser_Init.zip file for downloading, but I can't find it following the path suggested.
    Could you help me?
    Thanks,
    Luca Grilli

    Hi,
    There is no resource in the said location
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/tutorial on using knowledge management functions in web dynpro.htm  ...
    Kindly help in finding some document which gives a overview of using KM UI APIs .
    Regards,
    Vani Rao

  • Search Help with Web Dynpro call on another system

    Hi all,
    I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
    Many Thanks in advance...

    I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around.  With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module.  Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
    You can read more about Search Help Exits here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm

  • Search Help with Web Dynpro

    Hi all,
    I have to create a search help with web dynpro on a field but the database is on another system... How can I do?
    Many Thanks in advance...

    I would use a search help exit. Nothing WDA specific here, as this has been possible long before WDA came around.  With a search help exit you define the search help like normal, but instead of database table or view being the source of selection, you have a function module.  Within the coding of this function module you can call an RFC to read data from another system or call a web service if you need to bridge over to something that isn't ABAP based.
    You can read more about Search Help Exits here:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm

  • How to configure SSO for web dynpro ABAP (not web dynpro Java)

    Hi Experts,
        I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
    1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
    2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
         procedure"
       Then deleted all logon procedure other than "SSO Authentication" and saved.
    3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
         signal).
    4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
    After all this settings I opened a browser enter above URL and hit enter but there is an error
    There is no login page. It directly showed this error page. No cookies is saving.
    Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
    How to set the for single sign-on?
    Thanks in Advance
    Regards
    Piyush

    Hi Piyush,
    Pls refer below links,
    Single Sign On with ABAP WebDynpro
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
    Regards
    K.N

  • Accessing ABAP Functions in Web Dynpro Java

    Hi,
    I am trynig to do "Accessing ABAP Functions in Web Dynpro Java" this application, (which is the example application which i got from www.sdn.sap.com) but everything is fine no error also while dyploying.
    But it is not dysplaying the first page after i run the application i am getting plain web page ,without any content.
    Can any body help me.
    Regards,
    H.V.Swathi

    k.. now iam getting some error on page.
    I have embeded the two view in to window.
    But now after running the application i am getting connection error
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=jktr3 GROUP=SPACE R3NAME=R32 MSSERV=sapmsR32 PCS=1 ERROR Group SPACE not found TIME Fri Sep 26 15:05:59 2008 RELEASE 700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4288 DETAIL LgIGroupX COUNTER 1
        at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
        at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
        at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
        at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
        ... 61 more
    Rgards,
    H.V.Swathi

  • Pdf files for web dynpro

    can anybdy tell any link to get the study materials for web dynpro for java in .pdf format.

    Hi,
    there you can find the entire documentation, you normally have a look at help.sap.com, in pdf format (it's NW2004s, SP 5 or 6, I guess)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/nw/netweaverdevelopersguide2004s/sap%20netweaver%20developer's%20Guide%202004s/UsingJava_00_PDFsList.ca
    (copy & paste the link, directly it won't work )
    kind regards
    Stefanie

Maybe you are looking for

  • How do I count events falling into three categories?

    Hello everyone,    My name is Sean Cummings. I am very new to Labview and this is my first post on the forum. I work for a testing facility dealing with automotive components. I run test cells and build parts. I recently commissioned a new test cell

  • Passing a login and password while using JNDI  for RT jobs

    Why can we not pass a user name and password when using JNDI for Real Time jobs?  Can it be passed in the URL line or somewhere else that I'm missing?  This is frustrating as we actually have to connect using Anonymous with no password which opens up

  • Why is the Weather Channel app blocked in OSX?

    Every attempt I've made this evening to install a The Weather Channel app on this computer has been blocked. The app is fine on iOS.. What gives??

  • I cannot access gmail

    I can access gmail from IE and Chrome. Not from Mozilla. I tried the cookies thing and the safe made thing and still get this. The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a w

  • Camera raw missing from filters

    camera raw missing from filters, how do I get it there?