Application Development and Automation 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: 
Read only

view attachment list in ECC6

former_member463678
Participant
0 Likes
319

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.

1 REPLY 1
Read only

former_member463678
Participant
0 Likes
278

Solved Question