on 02-16-2009 8:04 AM
Hi,
I want to restrict the dropdown values for search criterion 'Status' in the search opportunity view.This has to be restricted to the search popup we get when we select 'Add Opportunity' in the sub-opportunity assignment block.The restricted dropdown values of the popup should not get reflected else where .
I want only 3 values in the dropdown corresponding to the 'Status' search criterion.
How should i go about?
Thanks and Regards
Shilpi
Hi Shilpi,
On the pop-up view in the method DO_INIT_CONTEXT, you must be populating the values in the context node used for your drop-down list. So while setting the values to the context node used for displaying the values for the drop-down box, you can alter the internal table values.
for example something like this,
MY_DROPDOWN is my context node on the popup view.
LT_VALUES has teh values that i wish to display in the drop-down list
so in the DO_INIT_CONTEXT method of the popup view,
ME->TYPE_CONTEXT->MY_DROPDOWN->SET_VALUE_TABLE( LT_VALUES ).
The SET_VALUE_TABLE method called with reference to the context node will set the values in the internal table passed to the drop-down list.
hope this helps you to resolve your problem
Regards
Ashwinee
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpi,
Modify the GET_DQUERY_DEFINITION method of the Search IMPL Class. You can Add/Delete the values of the Drop Down.
Regards,
Harshit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shilpi,
Can you explain bit more clearly mentioning the exact steps that you are following.
Regards,
Deepak
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.