- define a URL ID for external URL:
- create a new transaction launcher model:
[外链图片转存失败(img-BjmUpxgS-1563588799976)(user-images.githubusercontent.com/5669954/326…)] - create a new UI Object type:
- create a new logic link
[外链图片转存失败(img-OBUMTUSY-1563588799977)(user-images.githubusercontent.com/5669954/326…)] - define generic outbound plug mapping for IC_AGENT
- 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 ).
[外链图片转存失败(img-CrLHp2GC-1563588799979)(user-images.githubusercontent.com/5669954/326…)]