cancel
Showing results for 
Search instead for 
Did you mean: 

Server Round Trip for F4 Help in Custom Search Page

former_member267851
Participant
0 Kudos

Hi Experts,

I have a Requirement for Filter Service Org based on Sales Org in Custom Search Page.

I Created a custom Search Page with Contain Sales and Service Org as F4 Help.

My requirement is to Filter Service Org Based on Sales Org value.

F4 help is doing in GET_V method by Custom Callback class.

Thanks in Advance.

Regards

Alok

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Alok,

you could try to create the F4 in GET_V method by an outbound plug call, for example:

  CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_navdescr
  EXPORTING
    iv_outbound_plug = 'OP_PROJECT'.

In the outbound plug, create a popup window with your F4 help and set an on close event, for example (method OP_PROJECT):

  me->ao_popup = comp_controller->window_manager->create_popup( iv_interface_view_name = 'AIC_PROJECT_VH/MainWindow'
  iv_usage_name          = 'CUProjectValueHelp'
  iv_title               = lv_title ).

  me->ao_popup->set_on_close_event( iv_view = me iv_event_name = 'SELPROJECT' ).

Best Regards,

Christoph

former_member267851
Participant
0 Kudos

Thanks Christoph.

Can u please tell me Component Name?

I am creating Component Usage in my custom Component.

I have a question , can u please tell me how i am going pass data like for an

example : For Sales Org i want to display Sales Org and Description.

Regards

Alok

praveen_kumar194
Active Contributor
0 Kudos

hi try to see if you can use

GET DQUERY DEFINITIONS METHOD of your search view class. if you observer, all RT_RESULT will hold all search parameters.

there is field called SERVER EVENT, you can given any server event here and try to create new event in your view with the same name.

triggering F4 help should trigger this event. in this event you can read the selected value of sales org and control the value in the service org.

you can observe any search button event handlers in any component to see how read/add parameters to the search screen.

let me know if you need more help.

former_member267851
Participant
0 Kudos

Thanks Praveen.

I tried that one also not working for F4 help but will work for Drop down .

Regards

Alok