on 06-15-2011 2:03 PM
hello all,
how can I create to fields that are both assigned to OVS_USAGE and triggred separately?
exampl.
field1 is related to a OVS_USAGE component,
field2 is related to a OVS_USAGE component also,
how can I create two deferent methods that can trigger both fields seperately?
thank you all
Hi Scafandri ,
we can tigger the OVS seperately for the field by Reuse the WDA_OVS component only ones in our component .
only thing is need to create OVS events per field
you can reffer my detail explanation and code snippet for achiving that in below link
Regards
chinnaiya P
Edited by: chinnaiya pandiyan on Jun 15, 2011 7:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In Component Usage Create
ovs1 - OVS_USAGE
ovs2 - OVS_USAGE
assign ovs1 for fields1 and ovs2 for field2
and in methods create two event handler methods ., one for field1 ovs and other for field2 ovs..
hope this helps u.,
Thanks & Regards,
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.,
Check this wiki: http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
In this wiki., they created ovs_usage in used components., like that you create ovs1 and ovs2 for field1 and field2.,
Check Above for Code..
hope this helps u.,
Thanks & Regards,
Kiran
Hi Kiran ,
i have little diversion in your statement "create ovs1 and ovs2 for field1 and field2., "
at present luckely he required custom search help for 2 fields . think if he required 5 fields ? 5 ovs component for 5 fields , what will happen in the performance path .
for that only SAP giving the event . just he need to check the condition in the ovs events for which fields the user is requesting OVS .. thats simple seems right .
you can never see any standard SAP component using more that one OVS component for OVS search help ,
Regards
Chinnaiya P
Hi.,
@chinnaya Sir, : Yes you are correct.. Earlier what I thought was Same Component ( WDR_OVS ) but with two instances ovs1 and ovs2. Any How if we press F4 for Field1 also WDR_OVS will load and if we press Field2 also WDR_OVS will load., I realized It is not the good programming practice for having different component usages.,
Thanks for updating me..
@Scafandri: link is: [http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)|http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)]
Thanks & Regards,
Kiran
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.