cancel
Showing results for 
Search instead for 
Did you mean: 

object value selector

Former Member
0 Kudos

Hi,

How to work with object value selector send me the clear procedure with step by step

Regards,

Kemp

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos
Former Member
0 Kudos

Hi,

Refer this link. Step by Step procedure is there.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec...

Regards,

Sunaina Reddy T

0 Kudos
Former Member
0 Kudos

Hi,

Refer these links

http://help.sap.com/saphelp_nw04/helpdata/en/24/4e70c63574ec4284d0f47324ab2d0e/frameset.htm

watch tutorial->Value Help in Web Dynpro Applications

Regards

Padma N

Former Member
0 Kudos
former_member201361
Active Contributor
0 Kudos

hi Kemp,

please go through the docummnet on Value Help

[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c6132f-4ea3-2b10-4d8f-e68d2e96113d]

Thanks and Regards

Former Member
0 Kudos

Hi,

Iam finding difficulty to understand because i don't know how to use o v s.

Regards,

Kemp

former_member201361
Active Contributor
0 Kudos

Hi Kemp,

follow this doucument

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8]

Thanks and Regards

PradeepBondla
Active Contributor
0 Kudos

Hi,

Some helpful discussions...

Search in SDN you will find more...

Pradeep

Former Member
0 Kudos

Hi,

I downloaded that (wd_ovsbuilder) while deploying iam getting this error

java.lang.NoSuchMethodError: java.math.BigDecimal.<init>(I)V

at de.beisertbtc.wd.example.ovsbuilder.Customer.<init>(Customer.java:39)

at de.beisertbtc.wd.example.ovsbuilder.MyDummyDAO.<init>(MyDummyDAO.java:36)

at de.beisertbtc.wd.example.ovsbuilder.CustomerOVSBuilder.search(CustomerOVSBuilder.java:70)

at de.beisertbtc.wd.util.ovs.OVSBuilder$OVSQuery.execute(OVSBuilder.java:152)

at com.sap.tc.webdynpro.components.ovs.OVSComponent.query(OVSComponent.java:214)

at com.sap.tc.webdynpro.components.ovs.wdp.InternalOVSComponent.query(InternalOVSComponent.java:170)

at com.sap.tc.webdynpro.components.ovs.views.MainView.onActionGoSearch(MainView.java:152)

at com.sap.tc.webdynpro.components.ovs.views.wdp.InternalMainView.wdInvokeEventHandler(InternalMainView.java:146)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)

at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)

Give me the solution

Regards,

Kemp

former_member201361
Active Contributor
0 Kudos

hi Kemp,

please go through this link for Value Help

[https://wiki.sdn.sap.com/wiki/display/WDJava/ValueHelp-ObjectValue+Selector]

thanks and regards

PradeepBondla
Active Contributor
0 Kudos

Hi,

What is the java / jdk version you have in your system? this might be the case.... Problem might be with big decimal code....

Did you recently recompile your code under 1.5.0 and are now running the 1.5.0 compiled code in 1.4.2? In the 1.5 API, the java.math.BigDecimal class has a new 'int' constructor which is not present in the 1.4 API. This means that your code is compiling to use the 1.5 BigDecimal constructor which isn't present in 1.4, and it's causing the error when you run on 1.4.2.

from http://osdir.com/ml/db.mckoi/2004-10/msg00005.html

PradeeP

Edited by: pradeep bondla on Dec 31, 2008 11:53 AM

Former Member
0 Kudos

Hi,

i gone thru this

https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/valueHelp-ObjectValue+Selector

but i get problem at

Create three methods in the Component Controller namely,

Method Name Return Type

getovsInputNode com.sap.tc.webdynpro.promodel.api.IWDNode

getovsOutputNode com.sap.tc.webdynpro.promodel.api.IWDNode

getovsListener com.sap.tc.webdynpro.promodel.api.IWDOVSContextNotificationListener

while iam binding above return type is not visible

Former Member
0 Kudos

Hi,

When u define the return type of a method, u will have a botton by the side of the drop down. click on it, choose the java native types, There search for IWDNOde, u will get it.

otherwise Directly paste The return type mentioned in the doc .

Regards,

Satya.

Former Member
0 Kudos

Hi ahmed,

This is a very good doc but i have some doubts.

1.These are the steps to follow

a.we need to import the bapi and do the modelbinding and contextmapping (iam confusing here)

b.model binding between -


? , context maping between-----?

c.In the doc (Open the Java Editor of Component Controller and write the below code in the begin others.)in the valuehelpComp.java --here we need to write the code/ write the code in java file and paste the java file in package.

Regrads,

Kemp

former_member201361
Active Contributor
0 Kudos

Hi Kemp,

After Importing the BAPI, open the data modellar --> create a data link between the component controller and model .

in the Context mapping Pop up , drag the model node to the component controller context and do the mapping between the nodes.

Open the component Controller (Java Editor 😞

here u will find Begin Others, write the code for OVS.

Thanks and Regards

Former Member
0 Kudos

Hi ,

Thank for your quick response.Actually we are creating valuenodes EmployeeDetails(o.n), EmployeeEcode (1.n) what is the use of these things bcoz we are not doing any mapping between valuienode and modelnodes.

former_member201361
Active Contributor
0 Kudos

hi Kemp,

please go throuch the wiki.

I have mentioned the purpose of each node.

Thanks and regards

Former Member
0 Kudos

Hi ahmed,

There is any case to create the same type of nodes(which are existing in bapi).

Regards,

Kemp

former_member201361
Active Contributor
0 Kudos

Hi Kemp,

I didnt get u.

There is any case to create the same type of nodes(which are existing in bapi).

But Usage of Three Value Nodes :

EmployeeEcode : Query String for searching

EmployeeDeatils Node : use to display the data in the Pop up .

EmployeeResult : Bound to the dataSource property of Table UI.

Thank and Regards

Former Member
0 Kudos

Hi ahmed,

i am sorry for asking the stupid questions because iam very new to webdynpro so can u send steps from first to last. i think that model also contain the same nodes(emp details....).

Regards,

Kemp

Edited by: kemp sath on Jan 2, 2009 8:35 AM

former_member201361
Active Contributor
0 Kudos

hi Kemp,

Its better is to create the value node instead of using the model node.

copy the data from the model node EmployeeDetails to the Value Node EmployeeDetails.

Thanks and regards

Former Member
0 Kudos

hi,

i created a method and bind the return type while going to code in comp ctller ---com.sap.tc.webdynpro.promodel.api.IWDOVSContextNotificationListener iam facing a error called(return ovsListener not resolved).

Regards,

Kemp

Edited by: kemp sath on Jan 2, 2009 2:27 PM

former_member201361
Active Contributor
0 Kudos

Hi Kemp,

After Creating the method, copy the code for the OVSContextNotificationListener in the begin others of component controller.

as shown below:

COmponent Controller Java Editor :

/*Begin Others

private IWDSOVSCOntextNotificationListener ovsListener = new OVSNotificationListener();

follow the wiki, u will find the code for Listener class.

Thanks and Regards

Fazal

Former Member
0 Kudos

Hi ahmed,

I need to get theBapi and i have to show in ovs

my bapi structure is like this contains(import 1parameter(ecode),Tables one node(details))

As per the blog in the infront end i created one node(result)

but while writing the code in begin others

Error:

While creating the following code in begin others

private class ( OVSNotificationListener ) implements IWDOVSContextNotificationListene-------

Error--- class must implement inherited abstract method IWDOVSContextNotificationListener.apply input values

Regards,

Kemp

former_member201361
Active Contributor
0 Kudos

Hi Kemp,

Error--- class must implement inherited abstract method IWDOVSContextNotificationListener.apply input values

u need to implement the applyInputValues Method for the listener class

since OVSNotificationListener class implements IWDOVSContextNotificationListener interface, u need to implement all the three methods .

check the wiki (Creating Value Help);

Thanks and Regards

Edited by: Fazal Ahamed on Jan 5, 2009 9:36 AM