Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

While creating F4 help , not able to navigate to outbound plug from get_v .

$
0
0

In 1 of my requirement i need to create a field of  sold to party with a f4 help for searching Accounts. I founded same functionality in component BT115QH_SLSQ ,view "details" and context node btpartnerset with Attribute Soldto_name . I have copied the same code for get_v , get_p and outbound plug but in my z custom component i am not able  to navigate from Get_V to outbound plug 'OP_SELSOLDTO'.

 

Get v code

 

METHOD GET_V_SOLDTO_NAME.

   CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_navdescr

      EXPORTING

        iv_outbound_plug = 'OP_SELSOLDTO'.

ENDMETHOD.

 

out bound code :

 

method OP_SELSOLDTO.

   bp_account_search( IV_ROLE = 'SOLDTO' ).

endmethod.

 

get p code :

 

method get_p_soldto_name.

   case iv_property.

     when if_bsp_wd_model_setter_getter=>fp_fieldtype.

       if CL_CRM_UIU_UTIL_CHM=>IS_PARTMAN( ) eq abap_true.

         rv_value = cl_bsp_dlc_view_descriptor=>field_type_text.

       elseif iv_display_mode eq abap_true.

         rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.

       else.

         rv_value = cl_bsp_dlc_view_descriptor=>field_type_input.

       endif.

     when if_bsp_wd_model_setter_getter=>fp_onclick.

       rv_value = 'TOSOLDTO'.                                "#EC NOTEXT

   endcase.

endmethod.

 

can anyone help me out if i am missing something .


Viewing all articles
Browse latest Browse all 7775

Trending Articles