‎2008 Apr 23 3:26 PM
Hi,
I am trying to assign the GOS service for the Z transaction using a ehancment spot in PBO . Problem is I am getting the GOS service enabled for the transaction. But when I click on
"View Attachment list" service, it is given short dump in ECC6 where as in 4.6c not. IIt shows the followin dump.
SET HANDLER: Reference to handler object cannot be NULL.
The current ABAP program "CL_GOS_TOOLBOX_VIEW===========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
When specification a handler for an event in the SET HANDLER statement,
the reference "IS_SERVICE-SERVICE" to the handler instance cannot be NULL.
Program CL_GOS_TOOLBOX_VIEW===========CP
Include CL_GOS_TOOLBOX_VIEW===========CM004
Row 69
Module type (METHOD)
Module Name DISPATCH_SERVICE
=============================================
I am using the following code.
data: lo_container type ref to cl_gui_custom_container,
ls_object type borident.
ls_object-objtype = 'ZRECON'.
ls_object-objkey = gs_rec_all_scr-reconobj.
case ok_code.
when 'ATTACH'.
call method go_myobject->start_service_direct
exporting
ip_service = 'CREATE_ATTA'
is_object = ls_object
io_container = lo_container.
when 'LIST'.
call method go_myobject->start_service_direct
exporting
ip_service = 'VIEW_ATTA'
is_object = ls_object
exceptions no_object = 1
object_invalid = 2
execution_failed = 3
others = 4.
endcase.
The short dump given at
call method go_myobject->start_service_direct
Thanks a lot for ur suggestions.
Zakir.
‎2010 May 27 7:32 AM