cancel
Showing results for 
Search instead for 
Did you mean: 

Open Business Partner as a Pop-Up

JMorozowski
Active Participant
0 Kudos

Currently when I am in an order in the Web UI and I click on the hyperlink for the business partner, my system opens up the business partner in the current window and I am directed away from the order window.  I would like to change this functionality so that the business partner details open up in a pop up on top of the order.  Does anyone know if this is possible?  And if so, how can it be done?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Jon,

Try below logic

Just Do Component Usage of BP_HEAD in Your component.

In Event handler of the Hyperlink

  IF gr_popup IS NOT BOUND.
    gr_popup ?= comp_controller->window_manager->create_popup(
    iv_interface_view_name = 'BP_HEAD/MainWindow'
    iv_usage_name = 'CUBTXXXX'
    iv_title = lv_title ).

    gr_popup->set_window_height( iv_height = 200 ). "150 to 200
    gr_popup->set_on_close_event( iv_view = me iv_event_name = 'NOTECHANGE' ).
  ENDIF.

Fill the Collection with the Partner Data on which you have clicked

gr_popup->open( inbond plug = 'PARTNER'  COLLECTION = LR_COL ).

Check if the inbound Plug Partner  is getting called or not.

Regards,

Tejaswini

vishnuvardhan90
Participant
0 Kudos

Hi Jon,

Create a Zpop-up component with a view which gives the deatils of BP.

Now change eventhandler of hyperlink to call this component.

(for example EH_ONBP----> by calling popup open method

---->inbound plug of bpdetails component .---->if you want to close teh popup raise a close event.)

Thanks & Regards,

Vishnu