如何在CRM WebClient UI里打开外部链接

146 阅读1分钟
  1. define a URL ID for external URL:

  1. create a new transaction launcher model:

  1. create a new UI Object type:

  1. create a new logic link

  1. define generic outbound plug mapping for IC_AGENT

  1. create an outbound plug in BSP window, add implementation:
DATA:
      lr_nav_descriptor TYPE REF TO cl_crm_ui_descriptor_object,
      lr_nav_descr TYPE REF TO if_bol_bo_property_access.
* Check whether Nav Descriptor is already inserted
      cl_crm_ui_descriptor_obj_srv=>create_ui_object_based( EXPORTING
         iv_ui_object_type = 'ZBAIDU' – from step3
         iv_ui_object_action = 'B'
            RECEIVING
      rr_result = lr_nav_descr ).

      iv_data_collection->insert( iv_bo = lr_nav_descr iv_index = 1 ).
      fire_outbound_plug( iv_outbound_plug = 'EXTERNAL' iv_data_collection = iv_data_collection ).

要获取更多Jerry的原创文章,请关注公众号"汪子熙":