How to implement Value Help for Product ID?

Hi,
I have a Z-Component where I want to use the value help of the Product ID. I found several components which use this value help for Products but I can't get it to work in my component properly.
Does anybody have a short tutorial how I need to proceed?
Thanks in advance.

There is a search component that can be used for this purpose.
This is one function out of several. I don't have the complete implementation at hand but this will give you the first idea.
CALL METHOD cl_crm_uiu_prod_tools_search=>eh_onclosepopup_return_product     
   EXPORTING       
      ir_search_popup = search_popup     
   CHANGING       
      cr_context_node = lv_target_node       
      cv_index        = gv_tableindex. 

Similar Messages

  • 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 Enhance search help for product groups. Currently no ability to add multiple lines from result list

    Hi All,
    In CRM Web UI,  there is no multi selection option for product group id f4 help for Custmer event creation or edit screen under  “Product” tab=> Product Group ID field.
    Web UI Component Details -
    UI component : TPMOE
    View : TPMOE/ProductEOL 
    Context: PRODUCT  Attribute : -PRODUCT_GRUOP
    Click on Product Group ID field then below F4 Help screen appears.
    In the product group results list, user can select only one row and Then all the product will be queried for selected product group, transferred to product list tab.
    Current technical design for Product Group F4:
    a) SE11 Data Dictionary search help “CRM_MKTPL_PGRP1”  is used and data is fetched displayed based it( Refer method GET_V_PRODUCT_GROUP of context node class CL_TPMOE_PRODUCTEOL_CN00)
    b) In UI, F4 pop up is handled by UI Framework in SAP generic manner so no multi selection is allowed.
    c) A round trip event is triggered after selection of row from results which reload view with queried product result based group selected.
    Requirement :-
    In the product group F4 results list View, user should be able to select multiple row .As SAP GUI has the option of multiple entry selection from search help window with the help of field called MULTISEL.
    System should query for products  with all selected product group, transferred to product list tab.
    Note: - The multi select options works fine for GUI, but for UI standard SAP code ignores this or never is this structure taken into consideration. Standard class to display F4 help on UI is CL_THTMLB_F4HELP.
    Can we enforce same behavior like DDIC search help in Web UI too  Or suggest how we can achieve this requirement?
    Thanks in advance
    Regards,
    Arjun

    Hello All,
    We have achieved this requirement by Custom development and approach followed as  -
    Define UI object model zprgrp & zprgrpquery and object relationship in table ZCRM_OBJTAB
    Query Strcuture : ZCRMST_PRGRP_SEARCH & Result List structure : ZCRMST_PRGRP_RESULT      
    Created Custom component : ZPRGRP with Search /Result view and with GENIL Class, search logic
    Defined custom ComponentUsage “ProductGroup1SearchHelp” for ZPRGRP in Standard Component TPMOE
    e.  Called F4 application for field product _group with help component usage created in step d.
    Regards,
    Arjun

  • How to implement "Application Help" for activated Businiess Functions & Add Ons?

    Dear all
    I am setting up a SAP NetWeaver System with Business Function INSURANCE activated (for the use of FS-CD) and the reinsurance Add On FS-RI installed.
    I am able to set up "Application Help" in transaction SR13 for the "ERP/ECC part", meaning: When I open some "normal" ECC/ERP transaction, like MM03 oder PA20 and click on ("Help" in menubar >) "Application Help" in SAP Gui, a browser opens an shows me the context sensitive online help page for the corresponding transaction. (For PA20, this is "Displaying HR Master Data", for MM03 it's "Displaying Material Master Records")
    If I open an FS-RI transaction (like "/MSG/H_BORD1" oder "/MSG/R_V3"), I am only forwarded to the general SAP Library. But there is an online documentation available ("SAP for Industries" > "SAP Insurance Management" > ...)
    So, how to link the Business Functions and Add Ons with the Online Help?
    Is there a simple way to set up "Application Help" for activated Business Functions and installed Add Ons?
    I found some (online) documentation, but this is all more confusing than helping...
    Thanks for any help!
    Frank

    Second, when you create a Core Data Document Based application, XCode generates the MyDocument class, derivating from NSPersistentDocument. This class is dedicated to maintain the Managed Object Model and the Managed Object Context of each document of your application.
    There is only one Context and generally one Model for each Document.
    In Interface Builder, the Managed Object Context must be bound to the managedObjectContext of the MyDocument instance: it's the File's owner of the myDocument.xib Nib file.
    It's not the case in your Nib File where the Managed Object Context is bound to the invoiceID of the Invoice Controller.
    It's difficult to help you without an overall knowledge of your application, perhaps could you create an InvoiceItem Controller and bind its Content Set to the relationship of your invoice.

  • Value help for product category.

    Hi ,
    I need to restrict the values ,i mean should populate the cat id should come from custom table.
    How can i create custom serach help
    I have generated get v
    data : lv_str_index TYPE string.
      DATA:
    LS_MAP TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING,
    LT_INMAP TYPE IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB,
    LT_OUTMAP TYPE  IF_BSP_WD_VALUEHELP_F4DESCR=>GTYPE_PARAM_MAPPING_TAB.
      lv_str_index = iv_index.
    CONCATENATE 'table[' lv_str_index '].STRUCT.GET_PRODHIERARCHY ' INTO ls_map-context_attr.
    ls_map-f4_attr = 'PRODHIERARCHY'.
    APPEND ls_map TO: lt_outmap,lt_inmap.
    lv_str_index = iv_index.
    CREATE OBJECT RV_VALUEHELP_DESCRIPTOR
    TYPE
    CL_BSP_WD_VALUEHELP_F4DESCR
    EXPORTING
    IV_HELP_ID = 'ZKARFTCAT' --->search help having cat id and desc
    IV_HELP_ID_KIND =
    IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
    IV_INPUT_MAPPING = LT_INMAP
    IV_OUTPUT_MAPPING = LT_OUTMAP.
    when i select the values i should fill the cat id and cat des respectively.

    CACS_SHLP_EXIT    check this standard Search help in ECC
    search help exit name : CACS_SHLP_EXIT its a functional module
    RSBGUI_CONVEXIT check this standard Search help in CRM
    search help exit name : RSB_GUI_SHLP_EXIT_CONVEXIT
    in this search help when you click on the search help exit  name it takes you to the function module .
    you need to write code there as shown in the standard .
    step 1 .
    now you need to create a zsearch help and create a search help exit put your code in side that and bring what ever value you want . and use that seach help in the WEB UI .
    step2.
    in Method GET_V_
    DATA:
    ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
    lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
    lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
    ls_map-context_attr = 'TYPEID'. give the Context _ATTribute name  .
    ls_map-f4_attr = 'OBJTYPE'. gve the f4 attribute  attribute name .     
    APPEND ls_map TO: lt_inmap,
    lt_outmap.
    CREATE OBJECT rv_valuehelp_descriptor
    TYPE
    cl_bsp_wd_valuehelp_f4descr
    EXPORTING
    iv_help_id = 'Z_search name '                                 " Know use the search help name
    iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
    iv_input_mapping = lt_inmap
    iv_output_mapping = lt_outmap.
    Edited by: Anbu B on Aug 11, 2011 12:53 PM

  • Implementation of F4 value help for a search field which is an EEWB field

    Hi...
                I am trying to create a F4 value help for a search field which is an eewb field.The f4 value help jus need to be a pop up containing the values of the field existing in the system.Since this is a search field the GET_V method cannot be used. I tried implementing it by creating a search help and then using it in the GET_DQUERY_VALUEHELPS method.But the problem when u use the search help is that all the values including the null values and duplicate entries will be populated when f4 is clicked.Is there any way to filter the values that get populated when f4 is clicked?If any other method can be used to implement the functionality please let me know..Thanks in advance....

    Hi,
    the GET_V methods worked for me most of the time. Even in advanced searchs. Only time they do not is if there is a different aproach considered in the GET_DQUERY_VALUEHELPS.
    As the GET_V_ you created obviously was called I suppose you found the correct place to Populate it to be used in the search.
    I do not know what the problem with the NULL values and duplicate entries is you talked about, but it sounds to me the creation of your valuehelp class is flawed. Not the integration into the UI.
    Maybe have a look at SAPs' standard implementations of Search Components. You should get a feeling for how search helps work. See. BT111S_OPPT, BP_HEAD_SEARCH
    cheers Carsten

  • Dynamic value help for a table field to fill two fields, how to?

    Hi all gurus,
    In SRM 7 I defined a dynamic value help for a single field (ZZ_PROLE_R3) of my header custom table.
    That's the code from WDDOMODIFYVIEW in the webdynpro /SAPSRM/WDC_DODC_CT, view V_DODC_CT:
    DATA: lo_tabnode        TYPE REF TO IF_WD_CONTEXT_NODE.
          DATA: lo_tabnode_info   TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
          DATA: tab_value         TYPE WDR_CONTEXT_ATTR_VALUE_LIST,
                wa_value          TYPE WDR_CONTEXT_ATTR_VALUE.
          lo_tabnode = wd_context->GET_CHILD_NODE( name = 'THCUS' ). "the custom table node
          lo_tabnode_info = lo_tabnode->get_node_info( ).
          wd_this->GET_VALHELP_ZZ_PROLE_R3( EXPORTING iv_guid = lv_guid
                                            IMPORTING ZZ_PROLE_R3_VALHELP = tab_value ). "this method returns the dyn value table
          lo_tabnode_info->set_attribute_value_set( name = 'ZZ_PROLE_R3'
                                                     value_set = tab_value ).
    The method GET_VALHELP_ZZ_PROLE_R3 dynamically builds the value help table tab_value; such table is made up by two fields:
    value : contains the value of the field
    text   : contains a description of the value
    The above solution works; now I'd like to enhance it. The custom table THCUS contains also a field called ZZ_PROLE_R3_DESC, which represents the description of ZZ_PROLE_R3. It is, exactly, the TEXT field in tab_value.
    So I'd like to do as follows:
    - the user clicks on the search help for ZZ_PROLE_R3 field of the table;
    - the above described value help appears;
    - after the selection, both ZZ_PROLE_R3 and ZZ_PROLE_R3_DESC are filled with the selected couple value - text chosen from the value help.
    Could anyone help me achieving such a behaviour?
    Again, a little request... when I open the above value help dialog box, the window itself has a label "Floorplan Manager application for OIF.." that obviously I'd like to redefine (e.g. "Role selection value help"). Is there any way to do that?
    Thanks in advance

    Chris Paine wrote:
    It seems to me - given that your code is in wddomodifyview that you are trying to have different dropdowns per row
    - I'm not sure where you are populating lv_guid - but I'd guess it is an attribute of the row selected? If it isn't then I can't see any reason that you would do this code in wddomodifyview and not wddoinit.
    Hi Chris and thanks for your help,
    lv_guid is the GUID of the document's header; I need to pass it to the method that populates my value help table because the values in it are derived from some fields on the document. (the situation actually is more complex; there's an RFC call on the backend for which the document is intended for to retrieve the data that populate the value help...).
    I'm quite unexperienced on webdynpro and terminology; if dropdown menus are fixed selection option that appears on a field, I guess this is not my case. I did a pair of screenshot to provide an idea of what the solution by now is, and what "I would like to have":
    [Pre-selection (F4 icon on the field in table)|http://imagebin.ca/view/npIsaqF.html]
    [Value Help popup for the field ZZ_PROLE_R3|http://imagebin.ca/view/8fZUh3T.html]
    [Result by now |http://imagebin.ca/view/3PaqdvE.html]
    [Result I'd like to have.|http://imagebin.ca/view/dExR0J.html]
    Chris Paine wrote:
    However - by your comment on the "value help dialog box" I am guessing you are using an input field? If this is the case then I would strongly suggest that you change/enhance the structure of the context node THCUS (btw, better coding practise to refer to it as wd_this->wdctx_thcus when using the get child node construct) so that you refer to an actual SAP ddic search help, if you then associate in the structure the value and text fields then populating the text field should happen automatically. Also you'd have the nice side effect that your value help dialog would be named after the associated ddic search help.
    Thanks for the code suggestion, I'll apply that. For what concerns the context node THCUS... It is, by standard, a node which I can't explictly find in the context for the view V_DODC_CT. The problem is that ZZ_PROLE_R3 and the corresponding description field ZZ_PROLE_R3_DESC of the table must be filled with data retrieved dynamically @ runtime from the backend. So I guess I can't populate a val help referring to a dictionary table/field; I'd rather do as follows:
    - retrieve what's the target backend for the document (to do so, I have to process the document .. that's why the header guid passed to my method);
    - RFC call to a custom method that extracts possible values for the specific backend;
    - bind the ammissible values to the value help.
    Chris Paine wrote:
    I realise that this is rather a lot - so if you have any specific question please do respond - hopefully I or someone else will be able to clarify.
    Thanks again for your help; additional info as well as code examples would be highly appreciated

  • How to implement Change pointers for Purchase order - ME22N - Custom Fields

    Hi Experts,
    Can you please tell me how to implement - Change Pointer for Custom fields in IDOC.
    I am working on IDOC - For purchase order - acknowledgements - in custom screen/tab in ME22N.
    Everything is working fine according to my requirement.
    All i need to know is the process of - Creating/Change - Change pointers for Custom fields.
    1.How to implement change pointers for custom fields.
    2.Can we maintain - Change Document - for custom fields at data element level?
    P.S. - I have browsed many previous - forums before posting a new discussion.
    please share your inputs...
    explaining how to create/implement - change pointers for custom fields will help me .
    Regards,
    Karthik Rali.

    Hi,
    To maintain Change Document for custom field:
    1. Check if "Change document" checkbox is set in data element.
    2. Find Change Document Object for transaction.
       You can use SQL trace - ST05.
       Look there for line with table CDHDR and statement insert values
       (for example for transaction KA02 Change Document Object is KSTAR)
    3. Regenerate update program for this Change Document Object in transaction SCDO
    Change documents for z-fields schould be generated.
    I am not sure about change pointers but they are configured somehow in BD61 and BD50.

  • How to link Value Helps in Visual Composer?

    I would like to know, how to link value helps in VC...??? It's like.....after selecting a value from Value Help 1, how do i restrict my Value Help 2 values so that it contains the values that are relevant to the value selected from Value Help 1 only....???? Request you to please provide the solution.......

    Hi Christophe
    Thanks so much for your help. I have been trying to do the way that you have suggested but am unsuccessfull...... Can you please tell me as to where should I create a field in the second popup view...??? After I double click on the link between "Start" and the "BAPI" in the second popup view...... , I find no "+" symbol in the "Configure Element Panel"  using which I can add the value taken from the first popup view.....
    Is there any pdf file or documentation that shows as to how to do this process...????
    Waiting for your response..... Thanks for your suggestion.....
    Regards
    Deepak Jaju

  • How to implement tool-tip for the list items for the Choice column in SharePoint 2013

    I had created a simple list with a "Choice" column, i have three entries in my drop-down, 
    First Entry
    Second Entry
    Third Entry.
    If i select any entries in drop-down and hour-over (Second Entry), a
    tool-tip need need to show. 
    Is it possible? If yes how to implement any help will be appreciated.

    Hi,
    We can use JavaScript to achieve it.
    The following code for your reference:
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/wz_tooltip.js"></script>
    <script type="text/javascript" src="/sites/DennisSite/Shared%20Documents/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript">
    $(function () {
    $("select[title='Choice']").change(function(){
    Tip($(this).val());
    $("select[title='Choice']").mouseout(function(){
    UnTip();
    </script>
    Download wz_tooltip.js:
    http://www.walterzorn.de/en/tooltip/tooltip_e.htm#download
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • 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

  • How to create value request for screen field text box tt1

    How to create value request for screen field text box tt1
    i have a text box name tt1,
    i want f4 help for that .
    remember i am asking for screen i.e done from screen layout not selectio-screen.
    Thank you,
    Regards,
    Jagrut Bharatkumar Shukla,

    Hi,
    Create one Search Help in the SE11 for the particular Field that u want to display. In the Screen(Transaction SE51),For that Text Box in the Attributes,in Dict Tab ->Search Help Field give that Search Help Name.
    For Eg,
    If u want Purchase Order Numbers in that F4 Help.Create one <b>Search Help</b> by giving Table Name as <b>EKKO</b> & <b>Search Help Parameter</b> as <b>EBELN</b> with Lpos & Rpos as 0 & 1.Save & Activate it.
    Give this Search Help Name in Dict Tab ->Search Help Field of that Screen Attributes.
    Regards,
    Padmam.

  • CLM How to add search-help for extension field(New Company Field) in MA.

    Hi all,
         Based on demand,I need to extend a new field(Company) in Master Agreement.
    But I do not know how to add search-help for this field,just like User Accont page.
    Anyone can help me ?thank you very muck.
    Regards,
    JackyCheng

    Hello Jacky,
    To combine all the answers above and have a topic-based reply please go through the below steps:
    #1. Inactivate the current extension field Company (I see it is actually a String value and this is not what you want to have)
    #2. Go to Setup -> System Setup -> Extension Reference Types
    Check if you already have a Company reference type
    If not, create a new Extension Reference Type for Class Company. Fill in all required information.
    #3. Create a new Extension Attribute
    Select Data Type: Object Reference
    Now you can add the Company type as reference
    Regards,
    Bogdan Toma

  • How to add search help for standard field LIKP-TRAID

    Hi friends,
    How to add search help for standard field LIKP-TRAID ,
    refer screen
    Program Name       SAPMV50A  
    Screen Number      2108      
    TrnsIDCode ( LIKP-TRAID ) ..
    I need to add a search help, so that i can retrieve data from Ztable.
    Thanks.
    Abhi

    Hi Abhi,
    Try using any one option:
    Create a Search Help in SE11.
    Now Goto SE11 -> Enter Ztable -> Select that field -> Click Search Help and try to assign the created Search help to that field in your Ztable explicitly
    OR
    Create a Zdata element in SE11.
    In Data Element, under Further Characteristics tab, enter Name  Parameters of Search Help.
    Assign this data element to that field in ur Ztable.
    OR
    Create a Zdomain and maintain a Value Table or Fixed Values for it.
    Assign this domain to that field in ur Ztable.

Maybe you are looking for

  • Can't open Illustrator file - "does not have the correct number of operands..."

    Right off the bat - Mac, 10.6.8, Illustrator CS4. I've seen different variations of this "...correct number of operands..." error on these boards, with fonts and other things as the culprit, but I haven't come across this specific issue yet. If someo

  • Why do I only get the first page of a 5-page pdf when I attach it in Pages?

    I'm trying to add a multi-page pdf to the end of a Pages document so that I can see what hard copy I sent in the post with the letter. However, I can only attach the first page of the pdf and the other pages don't show. I have tried selecting all the

  • [E17] lock and keyboard layout problems when suspend

    Hello, I just installed E17 on my Dell Vostro laptop. The main problem I have is related to the suspend mode. In settings > screen > screen lock, I enabled the option "lock on suspend" and the keyboard layout is selected to "be (default, basic)" (I h

  • Reading a csv file in Labview

    I need to be able to read a 2D csv file and pull the data out by rows for use in an I/O write. I am working with a Lakeshore 331 temperature controller and need to be able to write parameters from a csv file to the temp controller. There are three co

  • When i play dvd's the player crashes

    i have a pentium 4 running xp and a geforce 2 and i am not sure if the dvd decoder is compadable with xp