cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CRM Transaction launcher back function

PranavBhardwaj
Explorer
0 Kudos
918

I have created a transaction launcher which triggers from the navigational link but before it triggers I have raised a pop up which asks a user for confirmation .On clicking of the navigational link I am calling a custom window which has a empty view(created a custom component).From that empty view I am calling my pop up and from on close event of pop up I am calling the transaction launcher.But once user completes the transaction in ECC and comes back to CRM he sees the empty view and has to manually press the back button to reach the account confirmation page.Is there a way I can show user the confirmation page directly without manually pressing back button??

Please let me know your inputs on this.

You can mail me if req. -Pb314849@gmail.com

View Entire Topic
PranavBhardwaj
Explorer
0 Kudos

HI Siliva ,

Thanks for your reply. I was able to achieve this using history manager .My transaction was launched in the same window.So I have to navigate back which I did using the below code :

data: lv_history_access type ref to if_bsp_wd_history_manager_disp,
ls_history type ihttpnvp,
gv_history_back_state type ihttpnam,
lt_history type tihttpnvp.

lv_history_access = me->view_manager->get_history_manager_display( ).
lv_history_access->get_history( importing values = lt_history ).

read table lt_history index 1 into ls_history.
gv_history_back_state = ls_history-name.
lv_history_access->go_state( exporting state_name = gv_history_back_state ).

But there is another issue now ,I am launching the transaction using the link ID ,see below code :

lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
check lr_navigation is bound.
lr_navigation->navigate( iv_link_id = 'Z_NEW' ).

I am not able to navigate ,as this link iD is not present in my Business role and nav bar profile.

I am able to launch when this is assigned to my role.is there a way i can launch this without attaching this logical link to my Role