on 10-20-2005 12:00 PM
Hi friends
Can i use a hashed table in table view of htmlb.
I tried it and i get the error
<b>500 SAP Internal Server Error
Error message: Type conflict in the ASSIGN statement in the program CL_HTMLB_TABLEVIEW============CP . ( type of termination: RABAX_STATE )</b>
i have 6.20 System with the service pack 62053.
Give me your suggestions.
hi, can u explain little bit more. or can sand some syntax you have used.
regards,
hemendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
<htmlb:tableView id = "<%= lv_table_id %>"
table = "<%= model->studenttab %>"
design = "alternating"
visibleRowCount = "5"
selectionMode = "LINEEDIT"
onRowSelection = "onMyRowSelection"
width = "100%"
iterator = "<%= model->iterator %>" />
Here the internal table 'studentab' is a hased table of type 'zstudenttab' not standard table.
so if i set the table type as hashed for 'zstudenttab' then i am gettting the error .
yes i have defined one of field as the key field for this table type
<b>
<htmlb:tableView id = "<%= lv_table_id %>"
table = "<%= pa_model->studenttab %>"
design = "alternating"
visibleRowCount = "5"
selectionMode = "LINEEDIT"
keyColumn = "STUNO"
onRowSelection = "onMyRowSelection"
width = "100%"
iterator = "<%= pa_model->iterator %>" />
Error message: Type conflict in the ASSIGN statement in the program CL_HTMLB_TABLEVIEW============CP . ( type of termination: RABAX_STATE ) </b>
Looking at the inner coding of the <htmlb:tableView>, it looks as thought it does NOT support hash tables. There is an assign where they cast the type ref to data into a field-symbol of type index table:
field-symbols: <tab> type index table,
...
assign table->* to <tab>.
Although type index table is generic, this means that they only support standard and sorted tables. I am sure that SAP had a good reason to limit support to these two categories.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.