cancel
Showing results for 
Search instead for 
Did you mean: 

F4 BP Search Helper - Transfer ID to Form

Former Member
0 Kudos

Hello,

I have added a custom field to the Opportunity Product that leverages an F4 search helper. My GET_V_ method simply calls through to my Outbound Plug called OP_SEARCHPARTNER, which simply calls through to the out-of-box cl_crm_uiu_bt_partner_popup=>bp_search_do.

The good news is that my custom field is appearing on the Product, and the F4 BP Search Helper pop-up renders perfectly, and I can search for BP's.

The bad news is that when I select a BP, the BP ID is not transferred back to the Form.

Can anyone provide some pointers for transferring the BP ID from Search Helper back to my custom field on the form?

Or maybe I'm taking the wrong approach with an Outbound Plug calling through to cl_crm_uiu_bt_partner_popup=>bp_search_do?

Thanks!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

The Plug calls cl_crm_uiu_bt_partner_popup=>bp_search_do for the POP up, After that it sets the event on close based upon the ur BP role , if u are passing BP role as partner as prospect the Event will triggered after selecting the prospect window is EH_ONSEL_PROSPECT , there u find again one more method called cl_crm_uiu_bt_partner_popup=>bp_search_process, here it gets the context node called partner and sets the partner id to the lr_partner node which u pass in the cl_crm_uiu_bt_partner_popup=>bp_search_process method. so u can enhance the cl_crm_uiu_bt_partner_popup=>bp_search_process to get the extra parameters and u can set to the current partner .