on 10-13-2011 7:28 AM
Hi all,
I have used standard search helps for three of my input fields viz sales org,division and customer from knvp table. I should select the sales org and division based on the serch help and display the relevant sold to party customers on clicking f4 on the customer field. Please help me with this thing.
Thanks,
Tanvi.
Hi Tanvi,
Please do search before posting. This is OVS help. You have to use WDR_OVS component.
http://www.saptechnical.com/Tutorials/WebDynproABAP/OVS/page1.htm
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the same OVS instance, the importing parameters will have the relevant data and fields to distignguish among the three fields. You need to either wrtie a CASE or IF statement for the same.
Try to implement the same OVS for 3, check in debugging for the relevant importing parmeters, code accordingly in each phase of OVS.
Hi,
As suggested you can use same ovs for all your inputs.
In phase2 put if condition based on your requirement and same like in phse3 also.
sample.. in phase2.
if ovs_callback_object->context_attribute cs 'SUBTY'. // your input
// your select query here
ovs_callback_object->set_output_table( output = lt_select_list ).
endif.
IF ovs_callback_object->context_attribute cs 'RESUL'.
//your select query
ovs_callback_object->set_output_table( output = lt_select_list1 ).
endif.
in phase 3..
if ovs_callback_object->context_attribute cs 'SUBTY'.
assign ovs_callback_object->selection->* to <ls_selection>.
ELSEIF ovs_callback_object->context_attribute cs 'RESUL'.
assign ovs_callback_object->selection->* to <ls_selection1>.
Cheers,
Kris.
Yes, Madhu we can achieve that way also. But on click on F4 help on one input field here, you have only MODIFYVIEW that gets triggered and necessary things needs to be captured there. But, here as per the orignial post, upon 1st input field value (F4 selection) 2nd input field F4 needs to be filled, more like a filter search help right. When we use OVS then upon clikcon F4 we can have an event for OVS for processing.
@ Tanvi - Hope my understanding as per your requirement is correct.
First try to run the standard SH independently if that is working fine as per your requirement or not.
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 | |
10 | |
7 | |
6 | |
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.