Hi,
I am looking to send emails to the approvers on approval/disapproval of the leave requests.
On running the report in testing client, the report produces a short dump as below :
Date and Time 07/22/2010 17:16:58 Short text Access via 'NULL' object reference not possible. What happened? Error in the ABAP Application Program The current ABAP program "CL_PT_REQ_REQUEST=============CP" had to be terminated because it has come across a statement that unfortunately cannot be executed. Error analysis An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CLONE_TO_CURRENT" "(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: You attempted to use a 'NULL' object reference (points to 'nothing') access a component. An object reference must point to an object (an instance of a class) before it can be used to access components. Either the reference was never set or it was set to 'NULL' using the CLEAR statement. Error analysis An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CLONE_TO_CURRENT" "(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: You attempted to use a 'NULL' object reference (points to 'nothing') access a component. An object reference must point to an object (an instance of a class) before it can be used to access components. Either the reference was never set or it was set to 'NULL' using the CLEAR statement.
I searched for OSS notes but no note is available. Note is available if the program RPTARQPOST dumps.
Pleae suggest.
Rgds,
Soumya
Edited by: Soumya Gayatri on Jul 22, 2010 11:21 PM