on 03-17-2010 5:05 PM
Hi,
I have a CRM 7.0 enviroment with a Web Dynpro application that is called via the transaction launcher.
From this WD application I want to to "navigate" directly to the CRM Sales Order component and show a
Sales Order with a specific ID. The sales order ID should be passed during the "navigation" to the component.
Is this possible without making an external component call?
Thanx & best regrads,
Oliver
Edited by: Oliver Pregler on Mar 18, 2010 9:54 AM
It's possible. On your alv you have to add botton with action to call bsp.
You can use the following coding to determine the object type...
CALL METHOD lr_mapping_srv->determine_ui_object_of_bor
EXPORTING
iv_bor_object_key = lv_bor_object_key
iv_bor_object_type = ls_orderadm_h-object_type
iv_logical_system = ls_orderadm_h-logical_system
RECEIVING
rv_result = lv_ui_object_type.
Then you have to build bsp...
lv_orderadm_h_guid_c = ls_orderadm_h-guid.
CONCATENATE
lc_par0 sy-mandt
lc_par1 lv_ui_object_type
lc_par2 lc_display
lc_par3 lv_orderadm_h_guid_c
lc_par4 'nocookie'
INTO lv_query.
CALL METHOD cl_bsp_runtime=>if_bsp_runtime~construct_bsp_url
EXPORTING
in_application = lc_bsp_application
in_page = lc_bsp_page
IMPORTING
out_abs_url = lv_open_url.
CONCATENATE lv_open_url lv_query INTO lv_open_url.
and finally you have to call browser...
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->create_external_window( EXPORTING url = lv_open_url
RECEIVING window = lo_window ).
lo_window->open( ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
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.