‎2007 Feb 21 2:09 PM
Hello,
when i am debugging in sap, it seems that some tables are empty, for exmaple, when i want to see the contents of table "DOCUMENTFILES" when i am in debug mode, i see that it is empty, but if i check the contents of "DOCUMENTFILES-FILE_ID" i get an answer/value, so why is that the table appears to be empty when there is actually information in it ?
Thanks
‎2007 Feb 21 2:13 PM
Hi hassan,
DOCUMENTFILES-FILE_ID shows the contents of the work area DOCUMENTFILES.
Even if the table is empty the work area might contain some value, as a result of a select in to work area.. or some read statement..
regards
satesh
‎2007 Feb 21 2:10 PM
In the Debug mode, plz use the syntax :
DOCUMENTFILES[]You'll directly see if empty or not...
Erwan
‎2007 Feb 21 2:13 PM
Hi hassan,
DOCUMENTFILES-FILE_ID shows the contents of the work area DOCUMENTFILES.
Even if the table is empty the work area might contain some value, as a result of a select in to work area.. or some read statement..
regards
satesh
‎2007 Feb 21 2:20 PM
Like the other posters said, you are seeing a value in the WA, but that doesn't mean that the table has information in it.
That data you are seeing could be an old value or maybe it's part of a future row and the program is filling the row at that moment.
Hope this helps you...