Hi Carlos,
Thanks for pasting the dump as per request.
It seems that your custom code is using BOL based codes . Hence you need to explicitly load the BOL component set in your code for gui background processing.
Use this :
lv_bol_core = cl_crm_bol_core=>get_instance( ).
lv_bol_core->start_up( 'EMPTY' ).
lv_bol_core->load_component_set( 'ONEORDER' ).
/Hasan