‎2007 Dec 04 10:49 AM
Hi Abapers,
I have a requirement where i have to store the SQL statement running behind any customized tcode.I need this one to save the SQL staments for the transaction log .
How should i capture the SQL statement.
Please help me
Regards
Debjani
‎2007 Dec 04 11:00 AM
You have to Log the Information within the Custom Transaction at all places where the select query is being fired.
If the Logging is not periodic and is used only for some cases. Then you can keep the Trace on for the Transaction Code through ST05 and then List the Trace whenever Required.
Regards,
Abhishek
‎2007 Dec 04 11:09 AM
Hi Abhishek,
Thanks for reply.
I understand what you are saying.But My requiremnet is CODE to fetch the SQL statement.
Regards
Debjani