2007 Jan 22 6:01 PM
what is the t-code for finding tables and fields in a particular t-code
2007 Jan 22 6:36 PM
hi Sunil,
If you are using SAP version below 4.7, you can use transaction SE49, to get the list of tables used in a Transaction (also for program, function module and dialog module).
Else,
->use ST05 to do activate SQL Trace
->execute the transaction
->Deactivate the SQL Trace
->Display Trace ; you will get a list with all the tables used with the corresponding select statements.
Hope this helps,
Sajan Joseph.
what is the t-code for finding tables and fields in a particular t-code
2007 Jan 22 6:03 PM
Hi,
You can use the transaction ST05..Sql trace..
Steps
Go to ST05 transaction..
Switch on the trace
Execute the t-code for which you have to find tables..
Then come back to ST05..
Switch off the trace..
Press list trace to find the tables used in that transaction..
THanks,
Naren
2007 Jan 22 6:10 PM
Go to SE93 and enter t-code. Take the program name and goto SE80.
Under Dictionary Structures, you can see list of tables.
Thanks,
Santosh
2007 Jan 22 6:36 PM
hi Sunil,
If you are using SAP version below 4.7, you can use transaction SE49, to get the list of tables used in a Transaction (also for program, function module and dialog module).
Else,
->use ST05 to do activate SQL Trace
->execute the transaction
->Deactivate the SQL Trace
->Display Trace ; you will get a list with all the tables used with the corresponding select statements.
Hope this helps,
Sajan Joseph.
2007 Jan 22 6:56 PM
hi
u need to use sql trace(st05) for the same.
Cheers,
Abdul Hakim
2007 Jan 22 7:42 PM
Hi Sunil,
Execute the Transaction <b>'ST05'</b>.
2. start Activate SQL trace .
3. Now execute your transactio.
4. Stop SQL Trace.
2007 Jan 22 8:32 PM
Hello Sunil
The function module you are looking for is <b>RS_PROGRAM_TABLES</b>. For example, use
- OBJECT_TYPE = 'TRAN' " transaction
- OBJECT_NAME = 'VA01' " or your transaction
and the function module will return you a very exiting list.
Regards
Uwe
2007 Jan 22 8:33 PM
Hi,
Open the program in SE80 and check the Dictionary node and Fields node.
Regards
Subramanian
2007 Jan 22 8:37 PM
There's really no good way to do this for complex SAP programs. Depending on any number of factors, different tables will be used. ST05 will show you which tables were used for one particular run, but not for all possible ones.
SE80 will show you all tables declared for a program, but the program may call function modules that use tables that it declares itself.
Rob
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |