on 03-30-2015 10:54 AM
Hi,
I have added CREATED_BY field in the search criteria and defaulted its value through DO_PREPARE_OUTPUT.
Now I can see it in the search criteria display..
I want to hide that search criteria field from display.
I do not want to do it from configuration tab of the view.
How do I achieve it like programatically?
Thanks
Madhukar
Hi,
You can add this field in EH_ONSEARCH method nefore calling search and after calling search you have to delete this field from search so that it will not be shown in WEBUI.
Step1: add selection param using ADD_SELECTION_PARAM
step2:get selection param to table using GET_SELECTION_PARAMS
step3:do search
step4:clear created_by from table got from GET_SELECTION_PARAMS and do adjust selection param using method ADJUST_SELECTION_PARAMS from class CL_CRM_BOL_DQUERY_SERVICE
Regards,
Deepika.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Madhukar,
This you can achieve by enhance the method GET_POSSIBLE_FIELDS in your search impl class just debug the method. This method will gives the fields which are there in your search configuration fields.
try to debug then you may come to know..
if you want to hide the filed in the search config
* Adjust search criterion values having drop down listboxes in case central search has been received
me->adjust_search_criteria_values( iv_advanced_search = lr_qs
iv_context = central_search ).
check this method too ADJUST_SELECTION_PARAMS.
thanks & Regards,
Srinivas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.