Trigerring a search based on button

Hello All,
I am new to abap webdynpro. 
I have a requirement to trigger a search for a filed based on a button click.
Once the user clicks the search button on the screen, the user should  get a window where he should be able to enter selections and a button for submitting it. The user should get the results in a table and should be able to select an entry..
Once the user slects an entry it needs to be passed back to the screen..
Can you please anyone let  me know how to achieve this..
Thanks,
Krishna

hi,
Refer SAP Online Help on OVS :
http://help.sap.com/saphelp_nw70/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm
Demo component : DEMO_VALUE_HELP.
Steps to create OVS :
1.Goto Your ComponentController and in properties tab add WDR_OVS
and Name the Usage Name as OVS_USAGE_1
2. In your View in Properties tab Add the Usage OVS_USAGE_1 along with InterfaceController
3. Create a Context Attribute and see the Properties of this Attributes Below.
Change the Properties
Input Help Mode : Object Value Selector
OVS Component Usage : OVS_USAGE_1
4. In Layout of the View Place an InputField and Assign the Value property to the
Context Attribute.
5. Goto Methods Tab Add a method called ON_OVS choose the Method Type as Event Handler and Enter The Event OVS automatically picked.
6. ON_OVS Method will have a parameter OVS_CALLBACK_OBJECT
It has a ovs_callback_object->phase_indicator attribute this holds different values during your Selection.
different values for phase indicator what it means you can check from the documentation and now
you can even go to WDR_TEST_OVS application and see the coding in V3 View Method ON_OVS .
In your case just fire the event on the click of button , you dont need input field and context attribute.

Similar Messages

  • How to call elem. Search help on Button click event in WD appilcation

    Hello All,
    i have requirement to call elem. search help on button click event in WD application. currently i am calling FM  F4IF_START_VALUE_REQUEST but getting the short dump as below,
    The following error text was processed in the system X31 : Screen output without connection to user.
    The error occurred on the application server saps_X31_31 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    SYSTEM-EXIT of program SAPLSDH4
    Function: F4_PRESEL_WITH_TABSTRIP of program SAPLSDH4
    Form: F4PROZ_STEP_PRESEL of program SAPLSDSD
    Function: DD_SHLP_SINGLE_STEP of program SAPLSDSD
    Form: F4PROZ_LOOP of program SAPLSDSD
    Form: F4PROZ of program SAPLSDSD
    Function: F4IF_START_VALUE_REQUEST of program SAPLSDHI
    Method: ONACTIONSEARCH_CUSTOMER of program /1BCWDY/50TU5ZEXF3K0IWCWE153==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/50TU5ZEXF3K0IWCWE153==CP
    Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP
    is there any way to achieve the required behaviour.
    please let me know.
    Regards,
    Chandra

    Hi Friends,
    I have the similar kind of requirement. Upon click on a Button on screen i need to call a search help, and collect one or more selected material numbers.
    The search help is working fine and i am getting the entries with the following code.
    The problem is i am finding extra popup on screen.
    CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
    EXPORTING
    tabname         =  space
    fieldname       =  space
    SEARCHHELP      =  'MAT1'
    MULTIPLE_CHOICE =  'X'
    STEPL           =  0
    value           = 'MATNR'
    *dynpprog        =  progname
    *dynpnr          =  dynnum
    *dynprofield     = 'CARRIER'
    CALLBACK_PROGRAM          = 'ZTEST_1_PRA'
    CALLBACK_FORM             = 'F4CALLBACK'
    TABLES
    RETURN_TAB                = RETURN_TAB
    EXCEPTIONS
    FIELD_NOT_FOUND           = 1
    NO_HELP_FOR_FIELD         = 2
    INCONSISTENT_HELP         = 3
    NO_VALUES_FOUND           = 4
    OTHERS                    = 5.

  • Issues with Search Filter Criteria Button in Search Help

    Hi ,
    I have applied an elementary search help to a select option and this help is having four fields. The search help works fne and all the four fields are visible when i do a F4. Now , if i want to restrict the number of entries shown (the number of entries are huge) by clicking the "Search Filter Criteria" button , i dont see any of the four fields using which i can restrict the data . Do we need to do any configuration for this ??
    Regards
    Mayank

    Hi,
    in that search help itself you have a option called maximum number of hits, there is a impact if you restricted also.
    Thanks & Regards,
    Srinivasan.R

  • CHM buttons are not localized in a French project (shows English Contents, Index, Search, Print, Hide buttons)

    I opened an old WinHelp project into my new RoboHelp 7. When
    I generate the CHM, even with the Project Settings in RoboHelp set
    to French and running in a French Windows operating system (MS
    Windows XP Pro 2002 SP 2), the CHM output is still in English. The
    buttons display in English (Contents, Index, Search, Print, Hide
    buttons). The title bar of the CHM also says "HTML
    Help" even though the project title in the Project
    Settings is "Aide en ligne...".
    My Windows Regional Settings through the Control Panel -
    Regional Options tab is set French (France). On the Languages tab I
    under Text Services and Input Languages, Details button, I selected
    French (France) French. On the Advanced tab I selected French. Then
    I rebooted.
    On the language bar on my Task pane, I selected FR. The CHM
    still displays in English.
    Please help! I have to produce 4 CHMS in languages other than
    English today.
    Thanks!

    GinaL, would you be able to give us an update? Did the CHM
    files look ok on a PC with a true French OS installed?
    To avoid having to rewrite everything, I've written the
    following info/instructions for my team -- though I'm not yet sure
    they're 100% correct:
    After I reported this issue to Adobe, they worked on the
    problem for several days. They even sent me a new
    HtmSingleSourceHtmlHelp.dll file that was supposed to solve the
    problem. But it didn't work correctly. No matter what contortions
    we put ourselves through, we couldn't get both of these items
    correct in the CHM file at the same time, namely:
    Index compiled in correct alphabetical order accdg to the
    language of the help project.
    Correctly translated help title showing in the caption,
    regardless of the user's Windows regional settings. (For example,
    we wanted "FORMS-Hilfe zu FORMS 5-3" to appear as the caption of
    the German version of FORMS help, even if our regional settings
    were set to English.)
    I think we'd all agree that the index has to be in
    alphabetical order. So from what I've seen, this is what we have to
    do when compiling a non-English version of help using RH7:
    1. Set up the project with the foreign name.
    2. Set the language in the project settings. And in the
    Project Settings dialog, click Advanced and check out the LNG File
    tab to make sure it's using a translated version.
    3. Ensure that the Window Caption setting is correct in each
    window included in the project. (On RoboHelp's Project tab, open
    the Windows folder, double-click each window in turn, and check the
    settings.)
    4. Set the Language setting in the HHP file to Language=[hex
    value for that language]. I found a bunch of them listed on this
    web page. Someone else might be able to find a better source:
    https://svn.origo.ethz.ch/scoop/es_scoop_60/library/i18n/locale/nls/i18n_nls_lcid_tools.e
    5. Change your Windows regional settings to the same language
    as the help project. (Reboot if prompted.)
    6. Recommended, for safety's sake: Delete the CPD file.
    7. Open the project and compile using RH7.
    8. Check the index's sort order -- is it in alphabetical
    order according to the language of the project?
    9. Check the help caption -- make sure it's not "HTML Help".
    Note: Any customized buttons in your CHM should appear
    correctly translated, but other buttons (Contents, Index, Search)
    still appear in English -- at least they do on my PC, even though I
    did step 2 above. We need to check whether those buttons appear
    correctly when the PC is actually running a true foreign version of
    Windows, and not just with temporarily adjusted Windows settings.
    OR -- is anyone else able to get these to appear translated in the
    CHM file?
    Does anyone have anything to add? Other solutions? Easier
    procedures? Better results to report?
    Thank you
    Eileen

  • Searching based on the content of an uploaded document

    Hi,
    Is it possible to search based on the content of the document I have uploaded. The system used is ECC 5.0.
    Eg : I have uploaded resumes of employees and I have search based on their skills. Is it possible to search based on the skill which is mentioned in the resumes and provide the output.
    Thanks,
    Sarath.C

    I can't do that without knowing the structure of your document, it all depends on wether the data you need is in a fixed position in a fixed line or it's in a variable position and the correct line or position needs to be found before using it.

  • "search entire message" button in mail is sometimes grayed out

    Hi, Recently I've noticed that sometimes when I do a search in mail the button to search entire message is grayed out and unclickable.  This started happening in the last few days.  Just a minute ago I tried to do a search and the button was gray, then I went to Safari and logged into Apple support, went back to mail and typed a new search, and all of sudden the button is clickable again.  Any ideas?  Running 10.6.7 on a 15" Macbook Pro.  Thanks...

    Ernie,
    I collected the info you require - see below. Along the way I deduced that the problem may be a corrupted Spotlight index. As you'll see below attempting to remove Library or Mail from the index failed. I am currently rebuilding the entire volume index...
    Repair permissions - log shows no fixes. Search still fails...
    POP-<email> varies from 14.7MB down to 120kb.
    Typically the root level of POP-<email> is
    Deleted Messages.mbox
    Sent Messages.mbox
    Drafts.mbox
    INBOX.mbox
    Junk.mbox
    Some account also have "MessageUidsAlreadyDownloaded2"
    The root level of INBOX.mbox is typically:
    Info.plist [not always]
    Messages
    POP-steve%[email protected]
    has top level
    Deleted Messages.mbox
    Drafts.mbox
    INBOX.mbox
    Junk.mbox
    MessageUidsAlreadyDownloaded
    MessageUidsAlreadyDownloaded2
    Sent Messages.mbox
    with INBOX.mbox top level of
    content_index
    Info.plist
    mbox
    mbox.SKindex
    mbox.SKindex.isValid
    Messages
    tableofcontents
    I deleted the out of date indexes, etc.
    Spotlight prefs, Privacy, add ~/Library/Mail
    "Privacy List Error
    The item couldn't be added or removed because of an unknown error."
    Same Mail operation worked on MBP -- also on MBP Library folder.
    Try MacPro Library - same error.
    Delete entire MacPro index. More to follow on whether this is the fix...

  • Requirement in Service Ticket Search based on Notes

    Hi All,
    We have a requirement in CRM for searching the service tickets based on the notes(additional notes) added to the order(say Service Tickets).
    Is there any class/method existing in the current system or how do we handle it?
    Please suggest your valuable inputs.
    Any experience on this using TREX search will be highly appreciable.
    Thanks,
    Mohan.

    All,
    Please let me know how GENIL class can be used for service ticket search based on notes.
    Thanks and Regards,
    Mohan

  • Single form Multiple Actions based on button click

    Hi,
    I have to call two different actions based on button click from single <form > .
    How to achive this?.
    Thank you

    Hi,
    I am using struts <html:form> and my code is as follows
    <script language="javascript">
              function setAction(val){
         if(val==A){
                   window.open(document.forms[0].action="preview.do");
         }else if(val==B){
         document.forms[0].action="create.do";
              document.getElementById('fcreate').submit();
    </script>
    <html:form action="/create.do" >
    <html:text property="name">
    </html:form>
    action is mandatory for <html:form>
    Its not sending the form elements, when I click the preview button.
    Create button works fine. In struts-conig, I have taken same form name for create and preview actions
    Please give me some tips
    Thank you

  • Quick search and New buttons on master - detail pages

    Hi
    When I generate master-detail pages, the master has quick search and new button, but detail's doesn't. How can I generate the detail with quick search and new button options?
    Thanks in advance
    Liceth

    Liceth,
    Only one group within a page can have Quick Search functionality.
    A New button is generated for a group when insert is allowed and the layout style includes a form layout page (table-form, select-form, form or tree-form)
    Steven Davelaar,
    JHeadstart Team.

  • Filtering entries in BP search based upon user

    Hi
    We are trying to filter out results shown in BP search, based upon users. For that we are trying to follow steps mentioned in IMG
    SPRO->IMG-> Customer Relationship Management -> CRM Cross-Application
    Components -> Generic Interaction Layer/Object Layer ->
    Component-Specific Settings -> Extend Object Model for Business Partner
    The field(region) we are using is already present in structure CRMST_HEADER_SEARCH_BUIL and as per my understanding we will be using method Adjust_Result_Table.
    But still I am not able to resolve it. Please help me in this regard.
    Thanx & Regards
    Hits

    Hi,
    The object that we work with at 2007:
    BuilHeaderSearchNew
    and not BuilHeader like at the last version
    so, we have to implement CL_BUPA_IL_HEADER_SEARCH and not CL_BUIL_HEADER
    1. Create :
    ZCL_BUPA_IL_HEADER_SEARCH
    with superclass:
    CL_BUPA_IL_HEADER_SEARCH
    2. At customizing:
    SPRO->CRM->Cross Application components->Generic Interaction Layer/Object Layer->component specific setting ->Extend Object Model for Business Partner
    add:
    External Object Name - BuilHeaderSearchNew
    Implementation Class - ZCL_BUPA_IL_HEADER_SEARCH
    Nou you can use this method for changing the result:
    ZCL_BUPA_IL_HEADER_SEARCH ->GET_RESULT_TABLE
    good luck
    ayelet

  • Search based on DFF Columns

    Hi Everyone,
    Is there any way to search based on the values given in the DFF (in Forms) or is Form Customization the only way.
    regards,
    Karthi Sankar!

    You hit f11 and simply click into the DFF box. The DFF screen should come up and enter your search value and hit Control F11.
    Hope this answers your question
    Sandeep Gandhi
    Independent Consultant
    513-325-9026

  • Search based on data

    Hi
    Does BerkeleyDB support a search based on the data stored along with a key.
    I know that it supports a search based on both key and data.
    Thanks
    Obomo

    Hi Obomo,
    The functionality you are requesting is provided by secondaries.
    Documentation is here: http://www.oracle.com/technology/documentation/berkeley-db/db/ref/am/second.html
    Regards,
    Alex

  • Vertical scrolling based on buttons and NOT Mouse

    I have 5 elements, basically rectangles with different colors. What I want to do is scroll to particular color based on buttons action. I have placed 5 buttons above the first rectangle. Based on the button action it should scroll to a particular color and the 5 buttons should stay in the same place.
    I have created the layout in edge of what i want to do. I dont want the scrollbars hence, I have then hidden. And I dont want to achieve this using mouse scroll but with buttons. Scrolling using the buttons.
    example download:
    http://www.4shared.com/zip/RTTSNCrjce/Scrolling.html
    @heathrowe's example comes close to what i want to achieve. he has different menu items on each rectangle. I tried doing it but was unable to make the things work.
    EDIT: If I create a website in Adobe Muse using anchors and add actions on buttons to switch to that anchor, I want o do something similar in Adobe Edge. I had almost done the same with Muse, unfortunately it doesn't have responsive support, therefore I'm trying to do it in Edge
    Message was edited by: alexmathayes

    @Dareell I have uploaded the same file to Dropbox as well, you can download from the link:
    https://www.dropbox.com/s/h1wgkuzuqr0p8b2/Scrolling.zip
    TimJaramillo was able to get this but with 3 buttons here:
    http://forums.adobe.com/thread/1166717
    I want to do this by 5 buttons. I now know that it is possible by creating Symbols and putting action statements for scroll. If someone can walk me through in doing so, like step by step, I would be very thankful.
    Here's another example:
    http://raven.comyr.com/Raven.html

  • Formatted search based on screen entry

    Hi,
    I need help to create a formatted search based on a field that the user entered on the screen. For example, I want a formatted search on the Purchase Order screen where the item search will only show the items where the vendor entered in the Default Vendor field of the master record is the same as the vendor specified in the Vendor field of the purchase order.  Please advise on the correct sql statement.
    Thanks,
    Jane

    Thanks Sudah! That worked!
    However, I do not understand the syntax.  What does [dbo] mean?
    I am trying to duplicate the query for the following scenario.
    I have a user defined field U_Freight in the Business Partner Master Data (OCRD) and also in the sales order screen. I want to create a formatted search for the freight field in the sales order to automatically find the freight from the business partner master data screen based on the customer entered in the sales order.
    I have tried the following as a formatted search on the sales order screen, but it does NOT work.
    SELECT T0.U_FREIGHT FROM [dbo].[OCRD] T0
    WHERE T0.CardCode = $[$4.0.0]
    Please advise.
    Thanks!

  • How do i add and email based submit button to a form

    how do i add and email based submit button to a form

    See this: http://help.adobe.com/en_US/acrobat/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.html

Maybe you are looking for

  • Configuration Issue while Installing 10g

    Hi, I am trying to install 10g (10.3.1.0) But while in configuration step am getting error ERROR : Failed at "Could not get DeploymentManager". This is typically the result of an invalid deployer URI format being supplied, the target server not being

  • The missing link between DB and RSS

    Hi there, I have been making Database driven websites for a while with simple Access databases. Now with DW CS3 i-m entering the world of ajax and Spry and I am noticing that it all works with XML files that contain the information to be displayed on

  • All default Apple applications do not start/work and do not open! No Finder

    Lately, I got some problems on my Mac Pro 10.5.8, and I thought it might have to do something with the operating system. So I tried to update the system with Pacifist (by choosing to replace all the old files; since by default it just update only if

  • Mailbox server web services proxy issue

    One of our 3 mailbox servers gives us an error when mailbox databases are mounted on it. All web services are not functioning properly, there is an event log error for each web service web.config file saying file not found, If I open each web.config

  • Manual backup

    I'm trying to manually back up pertinent mail/contact info to use to restore a crashed machine. I can't locate the library. It used to be simple user/library/mail . . . etc. Where do I find it now with Lion?