on 12-19-2014 4:30 AM
Hi Friends,
I have designed a normal table in WD ABAP and in that for a field i have to set the OVS and i tried the same using component (WDR_OVS) and i have called the same in event handler too but when ever the screen opens it is displaying the search fields along with some standard text as attached in the screen shot.
Kindly help me how to resolve it.
Thanks & Regards,
Vinodkumar.
Hi,
Refer the following code.
CASE ovs_callback_object->phase_indicator.
WHEN if_wd_ovs=>co_phase_0.
IF ovs_callback_object->context_attribute = 'MYTEXT'.
ls_text-name = `MYTEXT`. "must match a field name of search
ls_text-value = '<desired text to show>'`. "
INSERT ls_text INTO TABLE lt_label_texts.
ENDIF.
ENDCASE.
Thanks
KH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Katrice Hawkins,
Thanks for the reply ,
Even i tried with the same but my concern is the screen has the standard text as marked in Red box which should not appear.
CASE ovs_callback_object->phase_indicator.
WHEN if_wd_ovs=>co_phase_0.
ls_text-name = `EMP_NAME`.
ls_text-value = `Employee Name`.
INSERT ls_text INTO TABLE lt_label_texts.
ovs_callback_object->set_configuration(
label_texts = lt_label_texts
column_texts = lt_column_texts
window_title = lv_window_title
table_header = lv_table_header ).
WHEN if_wd_ovs=>co_phase_1.
ovs_callback_object->context_element->get_static_attributes(
IMPORTING static_attributes = ls_search_input ).
ls_search_input-emp_name = ''.
ovs_callback_object->set_input_structure(
input = ls_search_input ).
Thanks & Regards,
Vinodkumar.
Hi,
Refer this thread Removing search Criteria Text in OVS search help.
Else.
Hide that search criteria text using config mode i.e by appending SAP-CONFIG-MODE=X in your URL.
Hope this helps you.
Thanks
KH
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.