on 05-14-2009 2:10 PM
Hi All,
In Table view i am getting the following error.
The following error text was processed in the system:
<htmlb:tableView>: (table) Attribute value is not a table
My code in View is
CREATE OBJECT MODEL TYPE ZCL_HREPAN_MODEL_MAIN.
CREATE OBJECT tv_itr1 TYPE ZCL_HREPAN_MODEL_ITR_STATUS exporting model = model.
%>
<htmlb:tableView id = "reportsTable1"
headerVisible = "true"
headerText = "All PANs:"
footerVisible = "true"
design = "alternating"
visibleRowCount = "20"
width = "100%"
fillUpEmptyRows = "false"
columnWrapping = "false"
columnWidth = "200"
sort = "server"
selectionMode = "lineEdit"
iterator = "<%=tv_itr1%>"
table = "//MODEL/DATE_RANGE_PAN" >
</htmlb:tableView>
in above DATE_RANGE_PAN is table from model 'ZCL_HREPAN_MODEL_MAIN'
Controller as below: DO_REQUEST.
if lr_event is bound and lr_event->server_event = 'allpans'.
lo_model ?= get_model( 'model_id_status' ).
lo_display_view->set_attribute( name = 'model' value = lo_model ).
lo_display_view = create_view( view_name = 'allpans.htm').
call_view( lo_display_view ).
ENDIF.
DO_INIT as below
lo_model ?= create_model( class_name = 'ZCL_HREPAN_MODEL_MAIN'
model_id = 'model_id_status').
please help me how to solve this??
REgards,
Kishan
I think DATE_RANGE_PAN is not table. Make sure its a table. If issue persist, post the data type declaration here.
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.