on 12-18-2012 4:47 AM
Hello experts,
I ma trying to implementing a search page , and created a search page
For this i took empty view And Added Follwing tag in .htm file
<thtmlb:advancedSearch id = "advs0"
fieldMetadata = "<%= controller->GET_DQUERY_DEFINITIONS( ) %>"
header = "<%= BTQ1ORDER->get_param_struct_name( ) %>"
fieldNames = "<%= controller->GET_POSSIBLE_FIELDS( ) %>"
values = "//BTQ1ORDER/PARAMETERS"
maxHits = "//BTQ1ORDER/max_hits"
onEnter = "search"
ajaxDeltaHandling = "false" />
As mentioned above i Am not able get the drop down for the parameter Created By,
And Secondly I implemented Get_p method of that to change picklist
CASE iv_property.
WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.
ENDCASE.
And Implemented Get_V method with the following
DATA:st_ddlb TYPE bsp_wd_dropdown_line,
i_ddlb TYPE bsp_wd_dropdown_table,
st_val TYPE vrm_value,
itab_val TYPE TABLE OF vrm_value.
CALL FUNCTION 'FICO_DOMAIN_VALUES_GET' " Not Working Right Now
EXPORTING
i_table_name = 'ZSEARCHTEST'
"X-Table Name
i_field_name = 'PICK'
"Y-Field Name
i_langu = sy-langu
IMPORTING
e_t_list = itab_val.
LOOP AT itab_val INTO st_val.
st_ddlb-key = st_val-key.
st_ddlb-value = st_val-text.
APPEND st_ddlb TO i_ddlb.
ENDLOOP.
st_ddlb-key = '01'. "As above Fm is not working done hardcoding for time being
st_ddlb-value = 'MAASSBERG'.
APPEND st_ddlb TO i_ddlb.
st_ddlb-key = '01'.
st_ddlb-value = 'SCHUHEJ'.
APPEND st_ddlb TO i_ddlb.
IF NOT gr_ddlb IS BOUND.
CREATE OBJECT gr_ddlb
EXPORTING
iv_source_type = IF_BSP_WD_VALUEHELP_PLDESCR=>SOURCE_TYPE_TABLE.
ENDIF.
gr_ddlb->set_selection_table( it_selection_table = i_ddlb ).
rv_valuehelp_descriptor = gr_ddlb.
And Now I am not able to get Drop down List , Even Get_p method is not stopping by debugger But Get_v Method Is executing...
How can I implement a drop down for the above?
Found helpful answer here,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Refer these links
http://scn.sap.com/thread/1233617
https://scn.sap.com/thread/1927321
Hope it useful.
Regards,
Hcl Innovators
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 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.