2011 Jan 11 6:10 AM
hi all,
i took the copy of standard code inspector program sapls_code_inspector with the trasnsaction code zsci. when i am trying to create the object set for the copied (saplz_code_inspector) program it shows the following error.
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLS_CODE_INSPECTOR" had to be terminat
has
come across a statement that unfortunately cannot be executed.
Error analysis
You attempted to use a 'NULL' object reference (points to 'nothing
access a component (variable: " ").
An object reference must point to an object (an instance of a clas
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using t
CLEAR statement.
Can anyone please tell the solution for this and also the procedure to take the copy of the standard code inspector.
thanks and regards,
thogai.
2011 Jan 11 6:26 AM
Hello,
Why do you want to copy SCI into ZSCI? What exactly do you want to customize in SCI?
BR,
Suhas
2011 Jan 11 6:49 AM
hi suhas,
i need to add some additional features like identifying the 'select * ' and 'select single *' tokens in report, avoiding the unreferenced functions in a program
2011 Jan 11 7:08 AM
Hello,
You can configure the code inspector via SCII
You can search for specific token e.g., SELECT * or SELECT SINGLE * using the "Search Functs." option in SCII.
BR,
Suhas
PS: What do you mean by " unreferenced functions"?
2011 Jan 11 7:14 AM
unreferenced functions.
Functions that are implemented in the scope of a measurement, but not called should be displayed as unreferenced functions.
A message should be output for each function module.