2011 Apr 29 9:04 PM
Hi All,
I am using the GOS Objects to create an attachment without using the GOS Toolbar. I am getting the following short 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
=============================================
When I click on SET HANDLER statement, control leads to method DISPATCH_SERVICE in class CL_GOS_TOOLBOX_VIEW.
=============================================
I am exactly following the steps as given in the below code sample
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3
Any help is greatly appreciated.
Thanks,
Geetha
2011 May 02 3:48 PM
Hi All,
Can anybody please help me with this issue?
Thanks,
Geetha
2011 May 02 8:41 PM
Hi All,
The problem has been resolved, once I maintained the class name CL_GOS_SRV_ATTACHMENT_CREATE in the table SGOSATTR.
Thanks,
Geetha
2011 Jun 06 5:46 AM
Dear Geetha,
I'm facing the same problem. I've created an object ZGOS. Could you please let me know how exactly to maintain entry
in the SGOSATTR table.
Thanks.