on 03-03-2014 2:45 PM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.