2008 Apr 23 9:29 AM
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 in advance.
2008 Apr 23 10:27 AM
There is not much to go at from this description, but as far as I can see it could be something like this:
in method go_myobject->start_service_direct an event is triggered and for this a handler (SET HANDLER) is defined ( SET HANDLER handler1 handler2 ... FOR oref|{ALL INSTANCES}
[ACTIVATION act]. )
As you can see there must be some sort of instance. However, no instance has yet been create
(CREATE OBJECT ...) so this will result in a short dump with NULL REFERENCE.
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 in advance.
2008 Apr 23 10:27 AM
There is not much to go at from this description, but as far as I can see it could be something like this:
in method go_myobject->start_service_direct an event is triggered and for this a handler (SET HANDLER) is defined ( SET HANDLER handler1 handler2 ... FOR oref|{ALL INSTANCES}
[ACTIVATION act]. )
As you can see there must be some sort of instance. However, no instance has yet been create
(CREATE OBJECT ...) so this will result in a short dump with NULL REFERENCE.
2008 Apr 23 11:50 AM
Hi Micky,
Thanks for replay.
Can u tell me which object I need to create for this.
Regards,
Zakir.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |