Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9193

Re: Don't save all transaction in EH_ONFORWARDCALL

$
0
0

Hi Jotsaroop,

 

Your solution is good but with the DO_NOT_SAVE exception, the end process is stopped. The system stay in the Order in modification. My process call the method ON_INTERACTION_END_REQUEST of class CL_CRM_IC_INTERACTION_MGR_UIU and this method check if save is possible:

 

if me->is_bol_save_possible( ) = abap_true and

   me->registry_end_request->process_callbacks( ) = no_veto_raised and

   cl_crm_uiu_bt_partner_popup=>get_quick_create_status( ) = abap_false.

 

    me->process_interaction_end( ).

 

endif.

 

And with exception DO_NOT_SAVE, the condition is false so the end process in process_interaction_end (event InteractionEnded and InteractionAfterEnd) doesn't call! And I want that if they are BtOrder process type 1 (for exemple) in modification, do nothing, don't save and quit. So I continue to search `:)

 

Best Regards

Carole


Viewing all articles
Browse latest Browse all 9193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>