on 05-16-2012 11:54 AM
I am using the interface IF_WD_SELECT_OPTIONS in WDA to enable selection options as in SAP ERP GUI.
Is it possible to specify, that it is not allowed to enter wildcards " * " in searches, as this will give my application very bad performance?
I guess I could do it manually after the search action, however it would be much better if the component could handle it, so that the specific field is highligted as when you enter a letter in an alpha-numeric field.
Is this possible? I tried various restrictions using parameter i_complex_restrictions but this is not working:
ls_restrictions-m_include-np = abap_true.
wd_this->m_handler->add_selection_field(
i_id = 'UNAME'
it_result = lt_range_table
i_read_only = read_only
i_within_block = 'RANGE'
i_complex_restrictions = ls_restrictions
i_use_complex_restriction = 'X'
i_description = cl_bsp_runtime=>get_otr_text( 'ZFIE_MM-IV/AUDIT_USER' ) ).
Hi,
Please check this.
I_COMPLEX_RESTRICTIONS | Restricts what is allowed and what is not, for example, no angle brackets allowed. To specify options you can use the Dictionary structure RSOPTIONS for including and excluding options. |
http://help.sap.com/saphelp_nw70/helpdata/en/45/bf07361248003de10000000a11466f/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.