on 09-17-2008 9:02 AM
Hi all,
I want to execute a number of SQL statements at once on a database, not using ABAP. In former projects I worked with TOAD and EASYSQL, or even SQLPLUS which all enable you to execute a file with SQL statements. I am looking for something in SAP that can do the same. Who can help?
Thx, Paul
Hi Paul,
SAP also has SAL functionalities. You can build SAP Quieries which are similar to any other SQL quieries. Check the SQ01 and SQ02 transaction. You can vuild information libraries and reports...
Check this link for further info: http://help.sap.com/erp2005_ehp_03/helpdata/EN/d2/cb3efb455611d189710000e8322d00/frameset.htm
Regards,
Eli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eli,
I did some digging in the forums and found a number of SAP transactions codes like SQVI, SQ01, SE38. However they don't seem to support what I want to do. I want to define my SQL statements outside of SAP, let's say in a plain ASCII file. This can be any number of SQL-statements, let's say about 80. Then I want to load this file into a tool (which is possible with TOAD or SQLPLUS) and execute the statements automatically one after another, with the results being written to a spool file. Does SAP has a tool that can do this?
Why do I want this? Tracing a program gives me a number of sql-statements that are performed by SAP, only not the rows it did select. What I have done the last couple of days is using SE16 to find the tabel, doubleclick to see it's structure, go to see the content where I have to enter the selection criteria myself. I think it is a lot of to query 15 or 20 tables this way. Based on the trace file I could download the statements to Excel, make real SQL statements out of this file, save the file as an ascii file and then execute the statements automatically.
Regards, Paul
Hi,
Check with T.Code:SQVI
all the best
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.