on 03-07-2013 5:35 PM
Hi All,
My requirement is when user does F4 on a select options field and out table will be shown and user can select multiple values. (till here i already completed programming and working fine).
If the user press F4 again then by default all the selected values should be highlighted in the output table from phase 2. Is it possible in OVS?
Any input will be appreciated..
Regards
Syed
Hi Syed, U can refer this link for more detailed. http://scn.sap.com/thread/3312283 Thanks Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Vijay, Arun and Amol.
I am looking something to do in phase 2 rather than in phase 1.
Pahse 1 is just to provide extra fields for filtering. I do not have phase 1 and my requireemnt doesn't need it. So i directly display all possible entries for the field using set_output_table in phase 2.
my requirement is, if user selects 3 entries first time (Eg: entries 1,4 & 6 from 6 possible entries of the field) and then user click again F4 then phase 2 displays all possible entries. But i want to set already selected records from user earlier search (Eg: 1, 4 & 6 needs to be set as selected) so user has visibility what he selected and can change if he wants.
Regards
Syed
Hi,
Go through the following blog. OVS Search help for select option. In that in the final code
paste the below code in phase 1 method.
http://webdynproabap.wordpress.com/2012/10/27/ovs-select/
Paste this code in the phase 1
ls_search_input-ebeln = '3000000000'.
* pass the values to the OVS component
I_OVS_DATA-M_OVS_CALLBACK_OBJECT->set_input_structure(
input = ls_search_input ).
Best regards,
Arun Krishnamoorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Syed,
Refer the below link for How to Achieve OVS Search Help in Select Option.
and
Please use the below code to set the default value in the parameter field:
DATA : lr_value TYPE REF TO data.
FIELD-SYMBOLS : <fs_value> TYPE sflight-carrid.
CREATE DATA lr_value TYPE sflight-carrid.
ASSIGN lr_value->* TO <fs_value>.
<fs_value> = 'AA'.
CALL METHOD wd_this->lo_select->add_parameter_field
EXPORTING
i_id = 'CARRID'
i_value = lr_value .
Regards,
Amol.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.