2014 Oct 10 6:35 AM
HI All,
could anybody pls. explain which buttons to click to show the records in a field of Type Hashed Table?
See screenshot: How can I values in line # 1 (XT_MESSAGE_DATA)
Thanks
Regards
Mario
2014 Oct 10 7:26 AM
Hi Mario,
Hashed tables are better as compared to other 2 type of tables . they basically work on the principal of Hash Key.
The prerequisite for an hashed table is that we need to specify the Key for that table, which is unique for each record in the table.
Now based on this key the system based on a hashing algorithm automatically generates a hash key which is used to access the records in the table.
It would be helpful , but as i said about the prerequisite , go for it if in your internal table there are fields which can ask as key , so as to uniquely identify each record.
Check this link out:-
<Link to random website removed>
Message was edited by: Gareth Ryan Please don't post links to external sites like this.
2014 Oct 10 8:40 AM
Hi Ramdas,
Have you actually read the question?
You have posted a short semi-explanation for what hashed tables are and then linked off to some random website. The OP is asking for help with debugging where they are using hashed tables, not what hashed tables are.
In future, I'd suggest you actually read the question properly before trying to answer.
Cheers,
G.
2014 Oct 10 10:41 AM
i find in the regular debug view, stick a couple of square brackets at the end of the itab variable and then double click the itab variable - is often a fast way to see the contents...just one of a few methods
lt_data[]
2014 Oct 10 11:07 AM
2014 Oct 15 2:29 PM
Hi Steve,
I did what you said; but I can't see the entries in the ITAB:
After (1) i made a doubleclilck
Regards
Mario
2014 Oct 16 10:37 AM
hmm, well that is strange.
in that first window you pasted, under variable
I would do something like
GT_ITAB[1]
1 being the index number for the row of the table you want to read - and it would display it a structure view after you double click
2014 Oct 10 11:26 AM
Hi Mario,
what happens when you double-click on the value field?
Regards,
Clemens
2014 Oct 16 10:38 AM
yes, I find field value is also useful if the variable name does not work - especially with tables that are defined with reference
So also try Clemens suggestion - it is with reference as I can see the -> dref assignment.
This will show you the whole table.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |