cancel
Showing results for 
Search instead for 
Did you mean: 

** Value Help Drop down box - Help Required **

0 Kudos

Hello all,

I am trying to add a value help dropdown list an interactive form. My intention is to get search help for the field directly from sap system, Not through hard coded values.But when i click on drop down box, its giving me the following exception. Can any one figure out the problem and give the solution?

java.lang.NullPointerException

at com.sap.tc.webdynpro.clientserver.event.PDFValueHelpServiceEventHandler.handleServerEvent(PDFValueHelpServiceEventHandler.java:125)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleServiceEvents(WebDynproMainTask.java:495)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:643)

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

at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:252)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)

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

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

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Deepti,

How did you implemented value Help Drop Down box ?

Please provide us with the implementation code and the context varaiable details so that i can give clear idea .

Sample code for implementing value Help Drop Down box .

==========================================

IWDAttributeInfo manuInfo =

wdContext.nodeMaterialData().getNodeInfo().getAttribute("ManuName");

ISimpleTypeModifiable manuType = manuInfo.getModifiableSimpleType();

IModifiableSimpleValueSet manuValueSet = manuType.getSVServices().getModifiableSimpleValueSet();

manuValueSet.put("1","Val1");

Please let check this and let me know.

Nanda

Former Member
0 Kudos

Hi Nanda,

Thanks for your reply.

First I directly mapped my context node on the drop-down field from the Form.

Now I followed the tutorial with ISimpleType and it works.

Former Member
0 Kudos

Hi ,

Is the issue got resolved ?

Nanda

Former Member
0 Kudos

Yes thanks a lot, the problem is solved.

Unfortunally I can't reward you points for this and can not set the toppic to "Answered" because this is not my toppic.

markus_meisl
Active Contributor
0 Kudos

That's what you have moderators for...

Markus

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Deepti,

Did you allready solved this problem?

I have the same problem now.

Or does anyone else know how to solve this issue?

Former Member
0 Kudos

Hi check,

if yo have properly defined the respective event for triggering.

Check it with the standard scripts.

Thanks and regards,

Anto.