2012 Oct 19 8:19 AM
My aim is to load a sub-screen according to the search help value. In my project i have a header area that has a search help attached field and a sub-screen area in that i load a different sub-screen the sub-screen should be changed according to the search help value.but it should be done when i select the search help value not by pressing ENTER.
My aim is to load a sub-screen according to the search help value. In my project i have a header area that has a search help attached field and a sub-screen area in that i load a different sub-screen the sub-screen should be changed according to the search help value.but it should be done when i select the search help value not by pressing ENTER.
2012 Oct 19 8:54 AM
2012 Oct 19 11:15 AM
2012 Oct 19 9:00 AM
To change the subscreen you must trigger a PAI/PBO cycle, as a search help will not do it.
So, you will have to manage the search help in the POV (you can of course call the FM F4IF_FIELD_VALUE_REQUEST to execute the same search help) and in the module, just after the call of the FM;if selecton has changed then change subscreen number and trigger the PAI.
To trigger the PAI you can either
- Call FM "SAPGUI_SET_FUNCTIONCODE"
- Fill OK_CODE = 'DUMMY'. and execute statement SUPPRESS DIALOG.
- Call method cl_gui_cfw=>set_new_ok_code
Regards,
Raymond
2012 Oct 22 1:31 PM
It can be done by using a search help exit.
while creating a search help mention a SEARCH HELP EXIT for the same.
search help exit is a function module (SE37) that can be trigered after or before serch help results are shown.
Try submitting your module pool program inside the search help exit function module.
SUBMIT your program name with parameters(if required).
*got idea ?? reply
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |