04-03-2006 3:32 PM
Hi all
Is there any method to trace class.
We need to trace PCUI in CRM it is using certain classes and we need to trace these.
Hoping to get a quick reply.
04-03-2006 5:42 PM
Vijay,
Go to SE24, type in the class you want to find and do a WHERE USED LIST. It will ask if you want to find out occurrences of the components as well. Say Yes, and it will list all the programs where either the class is being used / method of the class is being called.
Regards,
Ravi
Note : Please mark the helpful answers
04-03-2006 3:35 PM
Hi Vijayasarathy,
What do you mean by trace??Debugging??
If yes, YOu need to on the system debugging , update debugging option in debug screen(settings->System Debugging, Settings->Update Debugging).
Regards,
Ravi
04-04-2006 5:22 AM
Hi Ravi,
It is like this.
ST05 is there, there you could do SQL trace. You activate SQL trace and do some transactions and then Deactivate the sql trace and then if you do "DISPLAY SQL TRACE" it would inform you all the information and SQL statements what have been used in between.
This is an SQL Trace.
Like IS there any method to trace "classes" ABAP Objects.
04-04-2006 5:26 AM
Vijay,
ST05 is to tell you about the table accessed by a program at runtime. I don't think there is anything like that for Classes. but WHERE USED list should tell you where exactly the class has been used.
What you can also try is, in DEBUG mode, put a break point at the statement - CALL METHOD - this will stop the program at the method calls irrespective of the class.
Regards,
Ravi
Note : Please mark the helpful answers
04-03-2006 5:42 PM
Vijay,
Go to SE24, type in the class you want to find and do a WHERE USED LIST. It will ask if you want to find out occurrences of the components as well. Say Yes, and it will list all the programs where either the class is being used / method of the class is being called.
Regards,
Ravi
Note : Please mark the helpful answers
04-04-2006 5:32 AM
Hi,
All the runtime errors are stored in the transaction
ST22.
There you can find what is the reason for the error.
Hope it helps.
Regards,
Maheswaran.B