2006 Aug 23 5:54 PM
Is there a way that, in the middle of a debugging, I can download an internal table? I need to watch all data and try to reproduce the logic in the program, but without data, this is imposible
TIA
2006 Aug 23 5:59 PM
Sure, in debug mode, double click on your internal table, then choose "Go To"-->"Display Data Object"->Structure Editor. You will now see the internal table displayed as a list. To get the entire list, CLick Object->Display entrie list.
Now you can use the SYstem->List->save->local file, to download to your PC.
Regards,
Rich Heilman
Is there a way that, in the middle of a debugging, I can download an internal table? I need to watch all data and try to reproduce the logic in the program, but without data, this is imposible
TIA
2006 Aug 23 5:58 PM
For timeebing u can use the below code to Download the internal table to text file.
You can comment it after u check the data.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename =
'C:\Documents and Settings\P.Ramu\Desktop\RDI1.txt'
TABLES
data_tab = i_rdidata
EXCEPTIONS
file_write_error = 1
no_batch = 2
gui_refuse_filetransfer = 3
invalid_type = 4
no_authority = 5
unknown_error = 6
header_not_allowed = 7
separator_not_allowed = 8
filesize_not_allowed = 9
header_too_long = 10
dp_error_create = 11
dp_error_send = 12
dp_error_write = 13
unknown_dp_error = 14
access_denied = 15
dp_out_of_memory = 16
disk_full = 17
dp_timeout = 18
file_not_found = 19
dataprovider_exception = 20
control_flush_error = 21
OTHERS = 22
.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Prakash.
2006 Aug 23 5:59 PM
Sure, in debug mode, double click on your internal table, then choose "Go To"-->"Display Data Object"->Structure Editor. You will now see the internal table displayed as a list. To get the entire list, CLick Object->Display entrie list.
Now you can use the SYstem->List->save->local file, to download to your PC.
Regards,
Rich Heilman
2006 Aug 23 5:59 PM
Hi,
Try this...This might work.
When you display the internal table..Then
Goto->Sturcuted editor..Then go to System -> List -> Save -> local file.
Thanks,
Naren
2006 Aug 23 6:08 PM
If you are in 4.7, while in debug mode by selecting internal table. Click Ctrl+F11.
Regds
Manohar
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |