Skip to Content
author's profile photo Former Member
Former Member

how to add F4 pop-up to a zfield (appended in the structure) in the search.

Hi Friends,

I have a doubt and need your help to get it resolved.

I have a search view, and i have appended a field Product_hierarchy to it. now the field is displayed in the UI .

I have added the component usage of the product category search help in my component also.

now i tried to put the code in get_dquery_valuehelps:


CALL METHOD cl_crm_uiu_bp_cust_get=>get_values_for_field


iv_fieldname = ................................... ( what should i enter here)



rt_value = lt_ddlb

or i should follow some other approach. right now i am getting Prod_hierarchy in UI with the DDLB showing message 'This Method is not implimented yet'

Please suggest.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on May 02, 2011 at 11:16 AM

    Hi VD,

    Please refer to the following article:

    You need to refer to the section that describes how to add a value help in advanced search.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hi VD,

      help_id field is mandatory and it should be an elementary search help that already exists in the data dictionary. You need to figure out if an elementary search help that you can use already exists (tx se11). Otherwise you need to create one and pass its name in the help_id field.



  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2011 at 05:37 PM

    You need to implement get_v method.

    also implement an outbound plug

    also implement an event eg: SEL_IBASECOMPONENT. this gets called when you close the popup

    Example --


    create object rv_valuehelp_descriptor type cl_bsp_wd_valuehelp_navdescr


    iv_outbound_plug = 'OP_FINDIBASECOMPONENT'.




    lv_title type string.

    IF ibcompvaluehelp_popup IS NOT BOUND.

    lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT/IBCOMP_SEARCH' ).

    ibcompvaluehelp_popup = comp_controller->window_manager->create_popup(

    iv_interface_view_name = 'MainWindow'

    iv_usage_name = 'ZWTS_IBaseVH' "the comp usage name in the component

    iv_title = lv_title ).


    ibcompvaluehelp_popup->set_on_close_event( iv_view = me iv_event_name = 'SEL_IBASECOMPONENT' ).

    ibcompvaluehelp_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).

    ibcompvaluehelp_popup->open( iv_inbound_plug = 'SEARCH_COMP_F4' ). "look at the child component to find plug.. you can assign "DEFAULT" if not sure


    METHOD eh_onsel_ibasecomponent.

    lv_context_node = ibcompvaluehelp_popup->get_context_node( iv_cnode_name = 'IBCOMPONENTLIST' ). "look the child component and find the context node related to the search help result list

    lv_col_wrapper = lv_context_node->collection_wrapper.

    lv_current ?= lv_col_wrapper->get_current( ). "the selected record from the search help(child component) will be available here

    "then pass value from this entity current to your own context node(parent component)

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      Thanks for your reply but i have done this earlier and has solved the issue.

      But now i have another requirement,

      The field that i added in search i want the same in the OV page also and this is not the custom field it is allredy present in the system but in another business object.

      I want to add this Zfield which is present in the ONEORDER but in another business object to the different Business object of ONEORDER.

      Now should i use EEWB, and then search logic also need to implimened. or if i add another context node in my component having this field. and then display in UI.

      Please Suggest.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.