02-04-2007 7:24 AM
I got file interface object which contains a Function Module which is used to extract the data from the DB and populate the data in a Internal Table. For testing the object i need sample data, but i dono from which table the data was extracted. Can anybody help me to know how to locate a DB table in a Function Module.
02-04-2007 7:29 AM
Search for the SELECT statement in the Function Module code for option in the main program. If the data is fetched dynamically use TRACE option using transaction ST05. The trace list will show you what database table have been used.
Thanks.
02-04-2007 11:12 AM
Hi,
Use ST05 to trace out the selects which were used in the function module, goto ST05 and do the trace on and execte the function module in SE37 and come back to ST05 and do the trace off, then then analasis that trace, you will all select statments there, then you can find the tables easily
Regards
Sudheer