Hi! Every one
I am using codes mentioned in one of the tread but getting one exception at the time when SAP is trying to save the changes for the change process action data. I am able to run the change process action programmatically ( successfully ) and when i enter some data for the change process action and press the execute button, I am getting one exception. I have attached the exception in this text. Can any one please give any clue why this exception is coming and what else I need to do?
Thanks
Yogesh
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_OS_OBJECT_NOT_FOUND
Date and Time 13.03.2007 16:14:30
Short dump has not been completely stored (too big)
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_OS_OBJECT_NOT_FOUND' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_METHODCALL_PPF=============CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_OS_OBJECT_NOT_FOUND', was not
caught in
procedure "IF_MEDIUM_PPF~EXECUTE" "(METHOD)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Could not find the referenced object with the OID
"00000000000000000000000000000000" (instance GUID) and
"BECA3BF12720D411AB61009027C3C00A" (class GUID)
Missing RAISING Clause in Interface
Program CL_METHODCALL_PPF=============CP
Include CL_METHODCALL_PPF=============CM009
Row 1
Module type (METHOD)
Module Name IF_MEDIUM_PPF~EXECUTE
Trigger Location of Exception
Program CL_METHODCALL_PPF=============CP
Include CL_METHODCALL_PPF=============CM001
Row 32
Module type (METHOD)
Module Name IF_OS_STATE~HANDLE_EXCEPTION
Source Code Extract
Line SourceCde
2 ***BUILD 020501
3 " importing I_EXCEPTION type ref to IF_OS_EXCEPTION_INFO optional
4 " importing I_EX_OS type ref to CX_OS_OBJECT_NOT_FOUND optional
5 ************************************************************************
6 * Purpose : Handles exceptions during attribute access.
7 *
8 * Version : 2.0
9 *
10 * Precondition : -
11 *
12 * Postcondition : -
13 *
14 * OO Exceptions : CX_OS_OBJECT_NOT_FOUND
15 *
16 * Implementation : If an exception is raised during attribut access,
17 * this method is called and the exception is passed
18 * as a paramater. The default is to raise the exception
19 * again, so that the caller can handle the exception.
20 * But it is also possible to handle the exception
21 * here in the callee.
22 *
23 ************************************************************************
24 * Changelog:
25 * - 2000-03-07 : (BGR) Initial Version 2.0
26 * - 2000-08-02 : (SB) OO Exceptions
27 ************************************************************************
28 * Modify if you like
29 ************************************************************************
30
31 if i_ex_os is not initial.
>>>>> raise exception i_ex_os.
33 endif.
34
35 endmethod.
yogesh chopra
Posts: 11
Questions: 6
Registered: 7/20/06
Forum points: 0
Re: How to trigger an Action
Posted: Mar 14, 2007 5:04 PM in response to: Jonas Möller Reply E-mail this post
Hi! Every one
I am using codes mentioned in this tread but getting one exception at the time when SAP is trying to save the changes for the change process action data. I am able to run the change process action programmatically ( successfully ) and when i enter some data for the change process action and press the execute button, I am getting one exception. I have attached the exception in this text. Can any one please give any clue why this exception is coming and what else I need to do?
Thanks
Yogesh
Runtime Errors UNCAUGHT_EXCEPTION
Except. CX_OS_OBJECT_NOT_FOUND
Date and Time 13.03.2007 16:14:30
Short dump has not been completely stored (too big)
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_OS_OBJECT_NOT_FOUND' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_METHODCALL_PPF=============CP' has to be
terminated.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_OS_OBJECT_NOT_FOUND', was not
caught in
procedure "IF_MEDIUM_PPF~EXECUTE" "(METHOD)", nor was it propagated by a
RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
Could not find the referenced object with the OID
"00000000000000000000000000000000" (instance GUID) and
"BECA3BF12720D411AB61009027C3C00A" (class GUID)
Missing RAISING Clause in Interface
Program CL_METHODCALL_PPF=============CP
Include CL_METHODCALL_PPF=============CM009
Row 1
Module type (METHOD)
Module Name IF_MEDIUM_PPF~EXECUTE
Trigger Location of Exception
Program CL_METHODCALL_PPF=============CP
Include CL_METHODCALL_PPF=============CM001
Row 32
Module type (METHOD)
Module Name IF_OS_STATE~HANDLE_EXCEPTION
Source Code Extract
Line SourceCde
2 ***BUILD 020501
3 " importing I_EXCEPTION type ref to IF_OS_EXCEPTION_INFO optional
4 " importing I_EX_OS type ref to CX_OS_OBJECT_NOT_FOUND optional
5 ************************************************************************
6 * Purpose : Handles exceptions during attribute access.
7 *
8 * Version : 2.0
9 *
10 * Precondition : -
11 *
12 * Postcondition : -
13 *
14 * OO Exceptions : CX_OS_OBJECT_NOT_FOUND
15 *
16 * Implementation : If an exception is raised during attribut access,
17 * this method is called and the exception is passed
18 * as a paramater. The default is to raise the exception
19 * again, so that the caller can handle the exception.
20 * But it is also possible to handle the exception
21 * here in the callee.
22 *
23 ************************************************************************
24 * Changelog:
25 * - 2000-03-07 : (BGR) Initial Version 2.0
26 * - 2000-08-02 : (SB) OO Exceptions
27 ************************************************************************
28 * Modify if you like
29 ************************************************************************
30
31 if i_ex_os is not initial.
>>>>> raise exception i_ex_os.
33 endif.
34
35 endmethod