2006 Mar 24 1:07 PM
Guys,
When debugging, I can see the internal table via menu:
Display conditions->Memory use->Memoru use - ranked list (tab)
If I double-click on this itab I can see the record entries.
The table name is given as 148. If I re-run the TCode, the same itab may have a different name e.g. 193
I have tried searching the database, but to be honest I don't know what to search on...
Can I access this table with ABAP code?
Guys,
When debugging, I can see the internal table via menu:
Display conditions->Memory use->Memoru use - ranked list (tab)
If I double-click on this itab I can see the record entries.
The table name is given as 148. If I re-run the TCode, the same itab may have a different name e.g. 193
I have tried searching the database, but to be honest I don't know what to search on...
Can I access this table with ABAP code?
2006 Mar 24 1:17 PM
Have you tried using FIELD-SYMBOLS?
sample:
FIELD-SYMBOLS: <fs> TYPE ANY TABLE.
ASSIGN ('(SAPLMIGO)xmseg[]') TO <fs>.
...
Regards.
2006 Mar 24 2:05 PM
Bruno,
Yeah, we've tied that.
Unfortunately the program is not in the call-stack.
The memory-use displays the following:
\FUNCTION-POOL=COBC\DATA=RESB_BT[]
2006 Mar 24 4:31 PM
Unfortunately, I guess it's not possible.
You will need to find another way.
Regards.
2006 Mar 26 11:04 AM
Cracked it...
Managed to find the solution myself:
*************************************
MEMORY USE: Goto->Display condition->Memory use
You can usually get data from the Memory Use list as follows:
1. In debug, go to the Ranked List via the menu path above
2. For those items with FUNCTION-POOL, take the 4 letter Function Group and Table Name
3. Go to TCode SE80, and enter the Function Group from above
4. Navigate to one of the Function Modules, and get the Main Program (Goto->Main program)
5. Cut & paste the Main Program name
6. Return to the debug screen and enter (MainProgram)TableName[] e.g. (SALPLCOIH)resb_bt[]
*************************************
SYSTEM AREAS - DSEG: Goto->System Areas->SAP Memory (enter DSEG,ITAB-HEADS)
You can also use the same technique for the following System Areas: DSEG, ITAB-HEADS
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |