Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem with GOS view attachment list in SAP Upgrade

former_member463678
Participant
0 Kudos

Hi,

The view attachment list is working fne in 4.6c for the Z transaction. When I run the same transaction in ECC6, I am getting the 'GOS View Attachment List' icon, but when I click on

this icon, it is given short dump in ECC6 where as in 4.6c it is working fine. It shows the followin dump in ECC6.

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

=============================================

When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.

=============================================

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.

Zakir.

1 ACCEPTED SOLUTION

b_deterd2
Active Contributor
0 Kudos

Hi,

Seems like the object cannot be instantiated. Perhaps ZRECON is inactive or does not exist.

Regards,

Bert

6 REPLIES 6

b_deterd2
Active Contributor
0 Kudos

Hi,

Seems like the object cannot be instantiated. Perhaps ZRECON is inactive or does not exist.

Regards,

Bert

Former Member
0 Kudos

I'm having this issue as well. Did you ever get it resolved? I can use 'LIST_ATTA' and it works fine but 'CREATE_ATTA' fails with the exact issue you described above.

Former Member
0 Kudos

I figured out how to fix this error myself.

0 Kudos

@David: Could you post the solution? We're facing the same problem.

Regards,

Tobi

0 Kudos

Hi,

I am facing the same issue. Can somebody help me to fix this issue?

Thanks,

Geetha

0 Kudos

Can you post the solution please.