on 05-12-2014 3:19 PM
Hello Experts,
I have read the blog of thomas.jung for download bsp data into excel, and it's working correct, and after some try and error, now I can download the excel with multi sheets.It's all cool except one thing.....when I add a button on the standard screen of the supplier qualification of the slc to download the excel file, after the popinp up screen, the standard screen can't do any operation at all......there are no any error message and the downloaded file is all correct .
Does any one know what can I do?
Problem is resolved~
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
any ideas?
By the way, after some research, maybe the issue was caused by the setup of the button, but I don't know how to fix it...0rz
the standard code for buttton is
*********
lv_id = mv_id && '>display'.
lo_edit_display_button = cl_thtmlb_button=>factory( id = lv_id
text = lv_button_text
tooltip = lv_button_text
enabled = 'TRUE'
onclick = lv_button_action ).
WHILE io_page_context->element_process( element = lo_edit_display_button ) = if_bsp_element=>co_element_continue.
ENDWHILE.
**********
so I copy it and modify like this:
***********
lv_id = mv_id && '>download'.
lo_download_excel_button = cl_thtmlb_button=>factory( id = lv_id
text = w_text
tooltip = w_text
enabled = 'TRUE'
onclick = /srmsm/if_ql_ext_ui_c=>ZC_ACTION_DOWNLOAD_EXCEL
).
WHILE io_page_context->element_process( element = lo_download_excel_button ) = if_bsp_element=>co_element_continue.
ENDWHILE.
***********
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
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.