Hi Bhusan,
My .html code is as like below.
<%@page language="abap" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%
data: lv_xml type string.
data: lv_visiblerows type string.
data: lv_hide_search type crmt_boolean.
data: lr_parent type ref to cl_bt116s_s_searchviewset_impl.
data: lv_dte type string.
data: lv_vhm type crmt_boolean.
lv_xml = controller->CONFIGURATION_DESCR->GET_CONFIG_DATA( ).
lr_parent ?= controller->m_parent.
lv_hide_search = lr_parent->get_hide_search( ).
if lv_hide_search eq abap_true.
lv_visiblerows = 20.
else.
lv_visiblerows = 10.
endif.
lv_vhm = lr_parent->get_value_help_mode( ).
if lv_vhm eq abap_true.
lv_dte = 'FALSE'.
else.
lv_dte = 'TRUE'.
endif.
%>
<chtmlb:configTable xml = "<%= lv_xml %>"
usage = "SEARCHRESULT"
id = "ResultTable"
navigationMode = "BYPAGE"
onRowSelection = "select"
table = "//BTQRSrvOrd/Table"
actions = "<%= controller->gt_button %>"
actionsMaxInRow = "5"
visibleRowCount = "<%= lv_visiblerows %>"
selectedRowIndex = "<%= BTQRSrvOrd->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= BTQRSrvOrd->SELECTION_TAB %>"
selectionMode = "<%= BTQRSrvOrd->selection_mode %>"
visibleFirstRow = "<%= BTQRSrvOrd->visible_first_row_index %>"
downloadToExcel = "<%= lv_dte %>"
showNoMatchText = "FALSE"/>
Thanks
Kalpana