Skip to Content
0
Former Member
Jun 08, 2009 at 08:53 AM

unable to get the data from table controller

22 Views

Dear All,

I am facing the following problem in BSP tableview,

I am having tableview on page as below

<htmlb:tableView id = "reportsTable2"

headerVisible = "true"

headerText = "Pending PANs:"

footerVisible = "true"

design = "standard"

visibleRowCount = "20"

width = "100%"

fillUpEmptyRows = "false"

columnWrapping = "false"

columnWidth = "200"

sort = "server"

keyColumn = "panid"

onRowSelection = "alternate()"

selectionMode = "SingleSelect"

iterator = "<%= tv_itr %>"

table = "<%=IT_DATE_RANGE_PAN %>" >

</htmlb:tableView>

I want collect the table view data in DO_REQUEST method, when i press the sort option on any column in table.

i used the code in DO_request,

if lv_button_id NE '0'.

tv ?= cl_htmlb_manager=>get_data(

request = runtime->server->request

name = 'tableview'

id = 'reportsTable2' ).

tv_data = tv->data .

but , I found no table content in tv_table.

even i tried with export, import .. normally we will dod in ABAP. not wotking.

export IT_DATE_RANGE_PAN2 from IT_DATE_RANGE_PAN to memory id memid1.

import IT_DATE_RANGE_PAN2 to IT_DATE_RANGE_PAN from memory id memid1.

Can any body help me to solve the above issue.

Regards,

Kishan