Help for OVS in WebDynpro

Hi,
I have created a OVS interface controller to have custom search help filter on PO header in SRM. Search help has been added succesfully but when I click on Save on portal value displayed in field gets cleared. Please suggest the solution how to hold value displayed even on save.

Hi Sameer,
During save, make sure that the changed data of the field is available and it is getting saved successfully.
Set an external break point just before saving data to backend and check if the changed value is available.
if not available, then the data is getting lost before reaching this point.
If your changed data is saved properly, then check if the data is being reloaded from backend and your saved data has been retried. If your data is available, then some where the values getting cleared and setting the context.
I think, debugging .. before save and after save would benefit you in this case.
Regards,
Rama

Similar Messages

  • WebDynpro for ABAP F4-help for KAGRU like PERFORM f4_groups in KSB1

    Hello,
    I must realize a search-help in a WebDynpro-Component which looks like the F4-help in the transaction KSB1 for field KAGRU.
    In the report RKAEP000 it looks like this.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR koagr.
      PERFORM f4_groups USING    'KSTAR'
                                 gs_tka01-ktopl
                        CHANGING koagr.
    But in WebDynpro the Function   'K_GROUP_SELECT' wil generate a short dump.
    Has anybody an idea, how to make this in WebDynpro?
    Greetings

    How are you trying to use the search help?  You can set up value help in the component itself.  Go to the component controller context of your web dynpro component.  Select the context node attribute for which you would like to have value help.  Now go down to the properties.  Next to "Input Help Mode" select "Automatic".  If your node attributes were brought in from a table (SAP or custom), then if there is an existing search help it will automatically be brought up now next to "Determined Input Help".  Save your changes and activate.
    If a search help is not brought in when you change the input help mode to automatic, then you can still create your own method to provide the search help.  In this case you will need to create your method in the controller of the view where the user will be entering a value for the field.  The method type should be "Method".  Make sure to call your search help method within the method WDDOINIT of the view.  In the search help method you will need to navigate to your mode, select the values for the field, and then set the attribute value set using those values.  You will have to look into K_GROUP_SELECT to see where it is getting the values for KAGRU.  I don't think you can call K_GROUP_SELECT directly because it creates a pop-up.
    A third option is to use an OVS (object value selector) component.  Please see this document for help with OVS:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8
    I hope this helps.
    - April King

  • One search help for multiple select-options in webdynpro abap

    Hi,
    I need a way to use one search help for multiple select-options fields. My scenario is :
    I have a table for keeping different organizational units' values of different systems. I have pasted some sample data from this table at the end of this mail. On the screen I want to have 1 select-options filed for werks, and 1 select-options filed for vkorg. (In fact I will have more org. unit fields...) In the beginning of my application the user will select sid.
    If the user selects ADS as SID, when he opens search-help for the first org. unit (werks), he will see the records with SID: ADS, VARBL = $WERKS, LANGU = SY-LANGU.
    If the user selects AGT as SID, when he opens search-help for the second org. unit (vkorg), he will see the records with SID: AGT, VARBL = $VKORG, LANGU = SY-LANGU.
    I have created a search-help taking SIDD, VARBL and LANGU as import parameters; used field mapping and bound this search help to my table. I have created 2 context nodes : org1 and org2 having attributes SID, VARBL, VALUE, LANGU .
    I have assigned related SID, VARBL and Langu values to these attributes at runtime as I needed. That way, if I use input field and reference to the related context attributes org1-value and org2-value2 accordingly, search help works well as I want.
    However, when I use select-options field , I can not bind the field to the context data. I can give reference only to ddic structure. Is there any way to reference to a context attribute? I searched for this in SDN, but could find nothing.
    I think I won't be able to use this way. What do you say?
    As I read from forums maybe using OVS help will be suitable for me. But I have to use one search-help for all select-options fields. Do you know how I can determine the active select-options field and pass its name (for instance "werks" ) as parameter to this OVS search help. (Also I'll pass SID and LANGU.)
    MY TABLE (ZBYYT080) CONTENTS:
    SID     VARBL     VALUE     LANGU     VTEXT
    ADS     $WERKS     1     T     Werk 0001
    ADS     $WERKS     11     T     OZYAS  GIDA URETIM YERI
    ADS     $WERKS     5501     T     BOYA GEBZE FABRİKASI
    ADS     $WERKS     5502     T     BOYA CIGLI FABRİKASI
    AGT     $WERKS     2301     T     KAMLI DAMIZLIK
    AGT     $WERKS     9601     T     PANAR DENIZ URETIM YERI
    ADS     $VKORG     22     T     AA KİMYASALLAR
    ADS     $VKORG     8001     T     İINSAAT BOYALARI
    AGT     $VKORG     6500     T     DAMk St.Org
    AGT     $VKORG     5400     T     PANAR St.Org.
    I wish I'm clear enough..
    I will be gald if someone answers me as soon as possible...
    Thanks İn advance..
    MERAL

    Hi,
    Your ques is how to refer to a DDIC search help to refer to selection screen parameter ?
    Am I right ?
    If Yes, then in the interface IF_WD_SELECT_OPTIONS
    method ADD_SELECTION_FIELD, ADD_PARAMETER_FIELD etc
    have importing param like I_VALUE_HELP_TYPE and  I_VALUE_HELP_ID, I_VALUE_HELP_MODE, I_VALUE_HELP_STRUCTURE
    etc which may help you to link your create DDIC Search help to selection screen params.
    this is just a clue from my side. I haven't tried it myself.
    You can go to the where used list of this method and find some sample implementations which use these params.
    Hope this helps.
    Regards
    Manas Dua

  • F4 help for Time field in Webdynpro Screen

    Hi Experts,
    I'm using TIMS data type for my Time field. In ECC we will have F4 function for the same data element, but in Webdynpro screen, am not getting the F4 help.
    I got some information from SCN that I need to go for some custom search help. But with which reference to the table, am I want to create it.
    Please let me know, is there any other possible way to create F4 for time field for webdynpro.
    Even I tried to use some standard search help, but am getting an error as 'Sending of dynpro ' ' not possible. No window system type specified'.
    Expecting valuable information from you experts.
    With Regards,
    RAM.

    Hi RAM,
    For time field, there is no SAP delivered search help in WDA , so we need to go for freely programmed search help.
    Please refer the below link, in which Mr. Thomas, has provided the links for search help document you can follow and create new search help component
    and also nugget of the component which can be imported using ZSAPLINK program.
    search help for time
    Regards,
    Rama

  • Search help for PERNR select options in Webdynpro

    Hi,
    I am using the method: lv_r_helper_class->add_selection_field
    and passing the value:
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    to get search help for pernr select option in the webdynpro application.
    But can anyone please tell me what value i have to pass to
    i_value_help_id              =  ??

    hi,
    pass your search help name there so that your desired search help ll come there..
    use this,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    i_value_help_id              =  'SEARCHHELPNAME'
    if you want standard SH means comment this stmt,
    if you dont want SH means,
    use tis,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_NONE
    hope this helps,
    Mathan R.

  • F4 help for Time field in webdynpro abap

    Hi Guru's,
    how to get f4 help for time field in webdynpro abap.
    thanks in advance,
    narendra

    Hi Narendra,
    Check this link:
    Re: Time Search Help
    Also few more links here:
    http://forumsa.sdn.sap.com/search.jspa?forumID=249&threadID=&q=time+help&objID=f249&dateRange=lastyear&numResults=15&rankBy=10001
    Also check if this example helps you: WDR_TEST_HELP
    If your query is not yet answered then its advisable to post in webdynpro for abap (Web Dynpro ABAP). You may get some quick repliy.
    Regards,
    Swarna Munukoti.

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • OVS Help for Product ID

    Hello Experts,
    I am new for Cloud Application Studio and working to create a custom BO. This contains the Product ID field which I have set as OVS.
    Definition in BO:
    element Product_ID   : ProductInternalID;
    I have bind the field as shown in the below screenshot.
    Standard Product OVS URL: /BYD_COD/SalesOnDemand/Product/UI/COD_Material_SOVS.OVS.uicomponent
    Doing this, I am getting the search help for Product ID but no value is populated in the Product ID field when I try to select any product. I am testing this using the Admin User (Product Work Center is also assigned in it)
    Kindly suggest.
    Thanks & Regards,
    Chandan

    use ProductID instead of ProductInternalID

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

  • ALV: Search help for editable column using OVS/Input Help Component Usage?

    Hi all,
    Is is possible to assign a value help like OVS or "Input Help Component Usage" to a editable ALV column using Web Dynpro?
    Thanks and regards,
    Ulrich

    Hi Madhu,
    Than I must have made something wrong because this is exactly what I've tried.
    I'll check my freely prgrammed value  and the assigning again.
    Thanks a lot for your quick reply.
    Ulrich

  • Configuration help for Webdynpro HRTMC_TP_HEADER  in talent Profile

    Hi Guys,
    Please help me how the Webdynpro component HRTMC_TP_HEADER is configured for Talent Profile.
    I have found other webdynpro in Talent Profile , But not able to figure this out.
    Thanks a lot.
    Regards
    Prabhu

    Hello,
    Hello You can find the steps to configure the talent profile in SPRO.
    Follow the path Talent Management and Talent Development>>Talent Profile>>Configuration of user interface-->>Configure talent profile for ESS or MSS.
    Regards
    Pradeep

  • Filter Criteria in Value Help for InfoObject

    Hi,
    Is it possible to remove the value from Filter Criteria. When I use F4 for a Field (in Screen) , its showing a poup window (Value Help for Info Object) with some personal values. When I click "More Values" option its showing the General Value List, where I can see the Filter Criteria. When I click "Show Filter Criteria", its showing the Criteria with a Value (This value is coming from the field(Screen) from where I am coming). is it possible to avoid of passing value from my screen field to Filter Criteria ?
    Thanks
    Srinivas

    Murugan,
    I really hope that the moderator do not remove my points for this!
    WebDynpro ABAP Select-Options and OVS Help.
    How to Achieve OVS Search Help in Select Option in Web Dynpro ABAP
    How to Use OVS Help For Multiple Input Fields in Select-Options.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707f0d73-94f0-2d10-97a2-a3776e2118d8?QuickLink=index&…
    Using Select Options in a Web Dynpro(ABAP) Application
    Regards,
    Ashvin

  • F4 help for standard UI elements

    Experts,
    In standard Web Dynpro applicaiton, we have a field, that needs to be enabled for search help. I have enhanced the component and enabled search help for that.
    My requirement is, when I select F4 for that perticular field, selection dialog appears and when I click on search after giving search criteria, its displaying all the possible values, and when I select one value among them, it should update the field on which F4 was done and other related fields also.
    Webdynpro component : /SAPSRM/WDC_UI_DO_SHIPTO
    Window : IV_L_FPC_CA_DETAILS
    View : V_DODC_SHIPTO
    Field : NAME_2
    Along with NAME_2, I want the other fields also should get updated.
    PS: right now, I could see only one field is getting updated, the rest of them are not.
    How can i achieve this functionality.
    Thanks
    SR

    Hi SR,
    You have to implement OVS help. Based on ovs selection you want to update values in other fields F4 help right?
    For this you have to write code accordingly in OVS.
    Cheers,
    Kris.

  • Enhancing standard (single select)search help for Multiple value selection

    Hi,
    Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
    Is there a way to do it.
    I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
    It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
    Appreciate your help,
    Thanks,
    Sri
    Edited by: Sri on Sep 9, 2010 8:50 PM
    Edited by: Sri on Sep 9, 2010 8:52 PM

    As far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
    Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
    I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me.

  • F4 help for only a single cell in a table

    Dear All,
    The requirement here is to provide input help for only a particular cell in a table.
    This cannot be achieved by assigning search help to the attribute of the context as this will render all the cells of that particular column with F4 help. I tried applying the cell variant concept but only go up to a certain extent.
    I tried OVS as well. But for this to work we need to lead select the entry and then go ahead with F4, which will make is inconvenient for the user.
    I even searched the forum for some answers, but i could only go to a certain extent with the help of those.
    So, if anyone out there has any idea, please help me out. Also, if this is a repeat post by any chance (i think not) kindly provide me with the link of the original.
    Thanks and Best Regards,
    Pramod

    I am running older versions, so i didn't find any sample dynpros..
    You can try with this peace of code..nyways..
    DATA: LR_TABLE TYPE REF TO CL_WD_TABLE.
    DATA: LR_COLUMNS TYPE CL_WD_table_column=>tt_table_column.
    DATA: LR_COLUMN TYPE REF TO CL_WD_TABLE_COLUMN.
    DATA: LR_EDITOR TYPE REF TO CL_WD_VIEW_ELEMENT.
    DATA: LR_TEXT   TYPE REF TO CL_WD_TEXT_VIEW.
    DATA: BINDING TYPE STRING.
    DATA: LR_CELL TYPE REF TO CL_WD_TABLE_STANDARD_CELL.
    IF FIRST_TIME EQ ABAP_TRUE.
      LR_TABLE ?= VIEW->GET_ELEMENT( 'TBL_COMPONENTS' ).
      LR_COLUMNS = LR_TABLE->GET_COLUMNS( ).
      LOOP AT LR_COLUMNS INTO LR_COLUMN.
        LR_EDITOR ?= LR_COLUMN->GET_TABLE_CELL_EDITOR( ).
        BINDING = LR_EDITOR->BOUND__PRIMARY_PROPERTY( ).
        IF BINDING EQ 'RRSO.SOCOMP.POSNR' OR
           BINDING EQ 'RRSO.SOCOMP.MATNR' OR
           BINDING EQ 'RRSO.SOCOMP.KWMENG' OR
           BINDING EQ 'RRSO.SOCOMP.NETPR' OR
           BINDING EQ 'RRSO.SOCOMP.POPRICE' OR
           BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
           LR_CELL = CL_WD_TABLE_STANDARD_CELL=>NEW_TABLE_STANDARD_CELL( VIEW = VIEW
                                VARIANT_KEY = 'TOTAL' ).
           IF BINDING EQ 'RRSO.SOCOMP.QUANTITY'.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW
                                                       TEXT = 'Total'
                                                       H_ALIGN = CL_WD_TEXT_VIEW=>E_H_ALIGN-FORCED_RIGHT ).
           ELSE.
             LR_TEXT = CL_WD_TEXT_VIEW=>NEW_TEXT_VIEW( VIEW = VIEW ).
           ENDIF.
           LR_CELL->SET_EDITOR( LR_TEXT ).
        ENDIF.
         LR_COLUMN->ADD_CELL_VARIANT( LR_CELL ).
      ENDLOOP.
    ENDIF.
    This code is for setting Text View as cell editor, instead text view u can take input field and use bind_value method to bind with another context attribute.
    Abhi

Maybe you are looking for

  • I can't get my hotmail on my phone anymore after setting up icloud

    I had to get a new iphone 4s and when I went in to set it back up again with icloud my hotmail account somehow got messed up.  I used to get all my mail on my hotmail account, and now I can only get them on my mac, not the phone.  my .me mail shows u

  • How do I stop Quicktime from stopping recording when it believes the signal is lost?

    I'm trying to digitize old VHS home videos through Quicktime (latest version). But when the tracking goes a bit awry, Quicktime stops recording telling me "RECORDING STOPPED, TRY RECORDING AGAIN." This is not true. It's just an instance of a bad part

  • Document supported and not supported by SAP

    hai Gurus, I have the following query. 1) Whether SAP Document Management System support the following document type. -technical drawings -charts -text documents, such as reports or manuals -contracts -Auto Cad files -WBS elements -spreadsheets 2) Wh

  • Iphone stuck in headphone mode

    Hi, I have seen that I'am not the only one with this issue. I'am quite sure that this is not a hardware issue on my iphone 5, because my workaround is to turn the phone off/on. Then it works fine until I connect headphone again. Quite annoying.. This

  • Error with backup

    When my Iphone syncs and attempts to do a back up I get a message stating Could not backup, error occured. Any thoughts?