on 05-25-2015 10:25 AM
Hi Team,
Could you please help here..
Thanks
Kalpana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhusan,
This field i have created on AET,orderadm_h.but iam not saved the data in database..i was just display into result.
ageing = system date- posting_date.
value = aeging.
value is displayed like 10,20,30 in result list.it is a numeric type.
So how to do search in service order search screen please help.
Thanks
Kalpana
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
Hi Bhusan,
Thanks for your reply.
I am not enhanced the search view.it is working standard.here ageing field will be changed the data based on age ..mean system date-posting date...service order created on yester day and posted today ,so that service order age is like 1 day.and if u see after 1 week that age should be change 7.So for this condition how to save these data on data base..with out saving the data how to search in service order screen..
Please help..and tell me any other solutions or sample code for searching and saving the daata.
Thanks
Kalpana
User | Count |
---|---|
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.