on 02-03-2015 5:17 AM
hi Experts,
"Export to Spread Sheet" this button is only enable in ICAGENT role Servie order result page.Now i want to display the same Button in Account Result page?in sap crm. Hpw to do it? is it coonfiguration wee need to do or in development please help?
Thanks
Kalpana
Hi Kalpana,
You can check the account result view code(.htm page) , check whether the below tag has been added or not.
downloadToExcel = "TRUE".
You can compare both views for any mismatch between the views.
If you don't find any difference you can try the above the given suggestion by Arden.
Best Regards,
Dharmakasi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi dharakasi,
In standard view...html code as below....in component how to add please helpl.
<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 dharmesh ,
In search account .html. code is as below please check..where we neeed to write the tag
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="bsp" prefix="bsp" %>
<thtmlb:tray id
= "de"
indent = "FALSE"
height
= "100%"
design = "PLAIN"
title
= "<%= otr(crm_ic_appl/bupaAccount) %>"
>
<thtmlb:trayBody>
<%
data
: lv_xml
type string
.
data:
lv_icon_url type
string.
lv_xml =
controller->
CONFIGURATION_DESCR->
GET_CONFIG_DATA( ).
lv_icon_url =
cl_thtmlb_util=>
get_dyn_icon_url(
iv_icon_name =
cl_thtmlb_util=>
gc_icon_new
iv_icon_type =
cl_thtmlb_util=>
gc_button_icon ).
%>
<chtmlb:config xml
= "<%= lv_xml %>"
mode = "RUNTIME"
/>
<thtmlb:button id
= "Search"
onClick
= "search"
design = "EMPHASIZED"
text
= "<%= otr(crm_ic_appl/bupasearch) %>"
tooltip = "<%= otr(crm_ic_appl/bupasearch) %>"
/>
<thtmlb:button id
= "Reset"
onClick
= "reset"
enabled = "<%= enable_clear_button %>"
text
= "<%= otr(crm_ic_appl/bupareset) %>"
tooltip = "<%= otr(CRM_IC_APPL/BUPARESET_TOOLTIP) %>"
/>
<thtmlb:button id
= "Clear"
onClick
= "clear"
enabled = "<%= enable_clear_button %>"
text
= "<%= otr(crm_ic_appl/bupaclear) %>"
tooltip = "<%= otr(CRM_IC_APPL/BUPACLEAR_TOOLTIP) %>"
/>
<%
* Check if user user is authorized to create BP
DATA
: lr_cucobupa
TYPE REF TO cl_crmcmp_b_cucobupa_impl
.
TRY.
lr_cucobupa ?= controller->
get_custom_controller(
if_iccmp_global_controller_con=>
cucobp ).
CATCH
: cx_bsp_inv_page
, cx_sy_move_cast_error
. "#EC NO_HANDLER
ENDTRY
.
%>
<%
* Display "New" button only if user is authorized
if lr_cucobupa
->no_bp_create
is initial.
%>
<thtmlb:button id
= "New"
onClick
= "new"
iconSrc = "<%= lv_icon_url %>"
tooltip = "<%= otr(crm_ic_appl/new) %>"
/>
<%
endif
.
%>
</thtmlb:trayBody>
</thtmlb:tray>
Hi Kalpana,
Check the account component result view, not the search view?
Add the below code in result view .htm and try
<chtmlb:configTable id = "Table"
navigationMode = "BYPAGE"
onRowSelection = "select"
selectionMode = "<%= RESULT->SELECTION_MODE %>"
table = "//RESULT/Table"
usage = "SEARCHRESULT"
visibleRowCount = "<%= lv_rowcount %>"
width = "100%"
actions = "<%= controller->gt_button %>"
actionsMaxInRow = "5"
downloadToExcel = "TRUE".
selectedRowIndexTable = "<%= RESULT->SELECTION_TAB %>"
showNoMatchText = "FALSE"
/>
downloadToExcel attribute might not be available in account search standard result view. You have to modify the .htm page accordingly.
Best Regards,
Kasi.
HI Kalpana,
This View - ICCMP_BP_SEARCH/BuPaSearchB2B for search screen.
Go to web ui and check the component name and view name by using F2. First get the exact result view name.
We are using ICCMP_BP_SEARCH/BuPaSelectCustomer this view as result view in our project.
This statment "downloadToExcel = "TRUE" ' is used to control the down load to excel button to be displayed or not.
If you pass true it will display the button else will not display.
You have to modify the .htm page as shown below. I am giving reference, you just add downloadToExcel line alone in your .htm code.
<chtmlb:configTable id = "<%= Customers->table_view_id %>"
onRowSelection = "select"
table = "//CUSTOMERS/Table"
selectedRowIndex = "<%= CUSTOMERS->SELECTED_INDEX %>"
visibleFirstRow = "<%= CUSTOMERS->visible_first_row_index %>"
selectionMode = "SINGLESELECT"
visibleRowCount = "20"
personalizable = "TRUE"
downloadToExcel = "TRUE"
usage = "SEARCHRESULT"
<%-- headerText = " "--%>
width = "100%"
showNoMatchText = "false"
reset = "<%= reset_filter %>" />
Best Regards,
Dharmakasi.
Hi Kalpana
Check the assigned Technical Role assigned to the Business Role.
In Define Parameters under SPRO, check if EXPORT_DISABLE is configured, if so, delete this entry.
Regards
Arden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalpana
Based on your response it does look like it's controlled by a variable value
From SPRO - IMG
Customer Relationship Management -> UI Framework -> Technical Role Definition -> Define Parameters.
Locate the Technical Profile assigned to the Business Role: under Profile Definition. Then check for Parameter Assignment: EXPORT_DISABLE if it visible then this is most likely your problem
Regards
Arden
User | Count |
---|---|
5 | |
1 | |
1 | |
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.