Hi Deepika,
I have followed your piece of advice. I have created the following:
- OP "OP_XTOSURVEY" within the view ICCMP_SURVEY/SurveyOverview with the following code:
DATA: lr_wdw TYPE REF TO cl_bsp_wd_window.
lr_wdw = me->view_manager->get_window_controller( ).
lr_wdw->call_outbound_plug( iv_outbound_plug = 'TOSURVEYOV'
iv_data_collection = iv_data_collection ).
- OP "OP_TOSURVEYOV" within the window ICCMP_SURVEY/MainWindow with the following code:
me->fire_outbound_plug( 'TOSURVEYOV' ).
- IP "IP_TODETAILS" within the view ICCMP_SURVEY/Survey. There is no code here.
- Navigational link TosurveyOV between ICCMP_SURVEY/MainWindow - "OP_TOSURVEYOV" (source) and ICCMP_SURVEY/Survey - "IP_TODETAILS" (Target)
- Updated of the event EH_ONCONFIRM_POPUP_CLOSED. The code is below:
DATA: lv_answer TYPE string,
lv_save_result TYPE abap_bool,
lr_application TYPE REF TO cl_crm_bol_entity,
lr_tx TYPE REF TO if_bol_transaction_context,
lr_coco TYPE REF TO cl_crmcmp_g_bspwdcompone0_impl.
INCLUDE: crm_object_types_con.
* Retrieve the answer
lv_answer = Zconfirm_popup->get_fired_outbound_plug( ).
CASE lv_answer.
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_yes.
view_manager->navigate( source_rep_view = rep_view
outbound_plug = 'TosurveyOV' ).
WHEN cl_gs_ptc_bspwdcomponent_cn01=>co_event_no.
But I still miss something, since I am not able to navigate.
Regards,
Andrea
