on 02-27-2013 6:31 AM
Hi,
I have developed WebUI application one field with f4 help, when i am click on f4 help its is opening popup window as comp2 advance search. From there i am choosing one row of result list. But the problem is popup window is not closing when i am choosing row.
Please help me with your valuable answers.
Thanks,
as leon suggested, you can just call the window outbound plug. Do it in the event handler that will be triggered when you select some entry in the result list on the popup window.
some thing like below.
DATA: lr_window TYPE REF TO cl_bsp_wd_window.
lr_window ?= me->view_manager->get_window_controller( ).
lr_window->call_outbound_plug( iv_outbound_plug = 'RETURNRESULT (REPLACE WITH YOUR WINDOW OUTBOUND PLUG' ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Praveen,
Thanks for your reply,
My case is...I have comp2(Which open as popup window) , it contain search and result view. Result view is table view.
i have written above code in comp2-window-outbound plug method. But it is not triggering whenever i am selecting result table row.
when ever i am selecting table row, which event will be trigger?. In Which method, i have to write above code?
Thanks,
Hi Reshma,
Check the .htm page and see the value of the attribute "onRowSelection". That would be the event that is triggered while row selection.
Or you can also debug the DO_HANDLE_EVENT to see which is the event that is triggered a row is selected. Put the code in the corresponding event.
Thanks & Best Regards,
Leon
follow the leon suggestion and put the code there which i suggested. look at the below letters in bold, here you need to give the event name that will be triggered when select the row. then the code will be executed and window outbound plug will be called and you can navigate back to the source comp.
<chtmlb:configTable id = "Table"
navigationMode = "BYPAGE"
onRowSelection = "<%= lv_select_event %>"
selectionMode = "<%= lv_select_mode %>"
selectedRowIndex = "<%= RESULT->SELECTED_INDEX %>"
selectedRowIndexTable = "<%= RESULT->SELECTION_TAB %>"
table = "//RESULT/Table"
usage = "SEARCHRESULT"
visibleRowCount = "<%= lv_lines %>"
downloadToExcel = "FALSE"
width = "100%"
showNoMatchText = "FALSE"
/>
</chtmlb:tableExtension>
Greetings,
refer the document below, to refer another component for search help
http://scn.sap.com/docs/DOC-37731
Cheers,
Savaridasan P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reshma,
I am working on the same object(f4 help) ,could you please provide me the document.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reshma,
Check if you are calling the outbound plug of the F4 help window while choosing the row.
Thanks & Best Regards,
Leon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.