on 08-24-2012 2:45 PM
Hi Everyone,
My requirement as follws,
In my View i have 2 fields R_WERKS & S_WERKS of same data type WERKS_D.
for F4 functionality i created sinle OVS help and attached to R_WERKS & S_WERKS
my question is how to assign single OVS for two fields without creating two OVS
how to achive this... thans in advance
Regards
Venkat
Hi Venkat,
try like this...
in Phase2.
IF ovs_callback_object->context_attribute CS 'R_WERKS'.
SELECT Query
ovs_callback_object->set_output_table( output = lt_select_list ).
ELSEIF ovs_callback_object->context_attribute CS 'S_WERKS'.
SELECT Query
ovs_callback_object->set_output_table( output = lt_select_list1 ).
In Phase 3.
IF ovs_callback_object->context_attribute CS 'R_WERKS'.
ASSIGN ovs_callback_object->selection->* TO <ls_selection>.
ENDIF.
IF ovs_callback_object->context_attribute CS 'S_WERKS'.
ASSIGN ovs_callback_object->selection->* TO <ls_selection1>.
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.
Thanx krish,
i solved it with different approch ,,,, i hav eone more question to close this discussion.
i have 2 query parameters in my OVS Help then how to write Single Select Query for
1). 1 parameter is initial & 2 parameter is not initial
2). 1 parameter is not initial & 2 parameter is initial
3). 1 and 2 initial
4) both are not initial
Regards
Venkat
Hi Venkat,
1.Go to the attribute you bounded for the UI element
2. In INPUT HELP choose OVS
3.Give the name of the OVS
Regards
Rajashiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Rajashiva,
you are not getting my point, let me explain clearly
for example first field R_WERKS i will get the value `R_WERKS = 0001` by using OVS help
for the second field S_WERKS, if i select OVS Help and pick up the value it will disturb the first value
as per my requirement it should not be disturb my first value
let me know if u require more clarification... below is the sample snap shot
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.