cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Search

Former Member
0 Kudos

Hi all,

i implemented F4 help.But i want to catch filter event and upon catch it has to show a dilaog box where i can add some inputfields followed by a button

Can anyone tell me how to catch filter event..

Regards

Padma N

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In EVS it not possible

Regards

Ayyapparaj

Former Member
0 Kudos

Hi Padma,

In case u r using EVS, any event related to that can not be captured bcos everything in handled by framework.

For ur requirement better go to OVS.

regards

Sumit

Former Member
0 Kudos

Hi Sumit,

If i use OVS for F4 how to get a dilalog box if i click filter of the dialog box which comes by hitting F4.

Can u plz help me out in this

Regards

Padma N

Former Member
0 Kudos

Hi Padma,

Why u want 2 filter functionalities?? one is already available in EVS & then on click of filter again 1 dialog box where user can filter data.

U can either use EVS or OVS. For both filter option is available.

Can u please explain the scenario ??

regards

Sumit

Former Member
0 Kudos

Hi Sumit,

I had gone through OVS pdf called Advanced Input Help - The Object Value Selector (OVS)

In this CustomController i didnt understood 3 declarations


 private IWDOVSContextNotificationListener tempOVSListener;
  private IWDOVSContextNotificationListener ovsListener = new OVSDemoContextNotificationListener("AirlineId");
  private IWDOVSContextNotificationListener anotherOVSListener = new AnotherOVSContextNotificationListener();

and after Clicking on F4 a dialog box with some input fields are comming...i didnt understood where to mention the inputfileds which has to be in that dialog box

can u plz explain me...

Regards

Padma N

Former Member
0 Kudos

Hi Padma,

In the same pdf, check page 7. Everything is specified over there.

regards

Sumit

Former Member
0 Kudos

Hi Sumit,

I had gone through that PDF and i did my application..But while running it is giving error as

Error stacktrace:

java.lang.NullPointerException

at com.sap.tc.webdynpro.progmodel.valuehelp.ContextBasedOVSProvider.<init>(ContextBasedOVSProvider.java:47)

at com.sap.tc.webdynpro.progmodel.valuehelp.ValueServices.addOVSExtension(ValueServices.java:48)

at com.sap.tc.webdynpro.progmodel.api.WDValueServices.addOVSExtension(WDValueServices.java:86)

at com.sap.tc.webdynpro.ovs.ViewOVS.wdDoInit(ViewOVS.java:102)

at com.sap.tc.webdynpro.ovs.wdp.InternalViewOVS.wdDoInit(InternalViewOVS.java:119)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)

at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)

at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:274)

at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:540)

The code in my viewOVS WdDoInit() method is


IWDAttributeInfo[] ovsStartUpAttributes = { wdContext.nodePOData() .getNodeInfo().getAttribute("Ebeln")};
	IWDOVSContextNotificationListener listener = wdThis.wdGetCustOVSController().getOVSListener();
	WDValueServices.addOVSExtension("Data Selection",ovsStartUpAttributes,
									  wdThis.wdGetCustOVSController().getOVSInputNode(),
									  wdThis.wdGetCustOVSController().getOVSOutputNode(),listener);

Can u plz let me know where i did the mistake

Regards

Padma N