on 09-05-2011 10:36 AM
Hi,
I have a ALV in which there are 3 columns. I have attached a search help exit to one of the column. whenever the user selects something from the f4 help of the first column then automatically the second column should be populated with some values.
Thank You.
Hi,
we can achieve this requirement by using OVS.
In Phase 2 of the OVS component populate the F4 help value list.
In Phase 3 you will get the selected value from the F4 help list by the user.
So based on the value u can retrieve the other two values of the column. Before doing this ensure that conext binding of the all columns should be to a same node..
regards,
Naga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Soudagar,
In OVS Phase2, and your select statement like this
IF ovs_callback_object->context_attribute CS 'ASSET_NAME'. // Assetname has F4 help, you get Stext next column.
SELECT SUBTY STEXT FROM T591S
INTO TABLE lt_select_list
WHERE sprsl = 'E' AND
INFTY = '0040'.
ovs_callback_object->set_output_table( output = lt_select_list ).
and in Phase3 set_attribute like this..
IF <ls_selection> IS ASSIGNED. // F4 help
IF ovs_callback_object->context_attribute CS 'ASSET_NAME'.
ovs_callback_object->context_element->set_attribute(
name = `ASSET_NAME`
value = <ls_selection>-ASSET_NAME ).
ovs_callback_object->context_element->set_attribute( // This is sec column
name = `ASSET_NAME_TVIEW`
value = <ls_selection>-ASSET_NAME_TVIEW ).
ENDIF.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,.
in the phase 3 of the on_ovs (OVS event handler for the WDR_OVS component, you can write the logic of setting the second column values ( its basically setting the value of the context attribute in the Context node that is being passed to the ALV).
BR, Saravanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.