‎2007 Dec 03 10:43 PM
Hello Experts,
Is there a way in debug mode to see all the tables available to display and change? For example, I know there is a table that is storing data that I would like to output to a local file. However, I can't find the internal table name while in debug mode.
Is there a way to list all "active" internal tables?
Thanks,
Scott
‎2007 Dec 03 10:49 PM
I think this facility is not avaliable.
You can go to the top inlucde or the data declaration section of the program and check all the tables.
Regards,
Naimesh Patel
‎2007 Dec 03 10:49 PM
Hi,
For debugging, the minimum thing is you should know what are Internal Tables, Variable, Structures, etc...
You can save the data of the internal table to the local file while debugging as below
Step 1 -- From menu bar use GOTO ->display data object -> structure editor.
Step 2 -- From menu bar use OBJECT ->display entire list
Step 3 -- From menu bar use SYSTEM -> list-> save -> Local file.
Regards,
Satish
‎2007 Dec 03 10:49 PM
Hi BWS,
While debugging goto Goto->System Areas->SAP Memory
In the input field, type ITAB, then it will display the internal tables used
for all the available options type ? in the input field.
Thanks,
Pavan
‎2007 Dec 03 11:20 PM
Hi Pavan,
Do you mean in the "Area" field? When I enter ITAB in the Area field, it doesn't come back with anything.
Thanks,
BWS
‎2007 Dec 03 11:23 PM
Hi,
Have you tried the steps which i gave above? it will work.
Regards,
Satish
‎2007 Dec 03 11:31 PM
Hi,
I don't have structure editor as an option. I do have structure field.
There is a function module that is being called. When I first step into the function module, table error_msg is already filled. That has the data I need. But, I don't want to have to modify the function module. It looks like that data is already in a table when the function module is called. I can't tell what table it is in in the main program. I wanted to get a list of the tables with data then I could look at each one until I find the data. Then I would know the name of the table. Does that make sense?
Thanks,
BWS