Skip to Content
author's profile photo
Former Member

FlightList - Bapi_Flight_Getlist_Input.removeDate_Range problem

Hi everybody,

I am getting an exception (see below) when I call the Bapi_Flight_Getlist_Input.removeDate_Range method in the Flight List example. Has anybody encountered the same problem? I was able to work around the problem by using "setDate_Range" with an empty list, but would really like to know if this is known problem.

Thanks,

Josef

Here is the stack:

_________________________________________________________

Web Dynpro product information:

Product: null, Vendor: SAP AG, Version: null, Build ID: 6.3003.00.0000.20031125134518.0000, Build Date: Fri Jan 23 12:05:52 CET 2004

-


Error stacktrace:

com.sap.aii.proxy.framework.core.DataAccessException: Type conversion error, field DATE_RANGE, complex type class com.sap.josef.jflightlist.model.Bapi_Flight_Getlist_Input

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.propagateJcoException(JcoBaseTypeData.java:130)

at com.sap.aii.proxy.framework.core.JcoBaseTypeData.setElementValue(JcoBaseTypeData.java:801)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.removeRelatedModelObject(DynamicRFCModelClass.java:740)

at com.sap.josef.jflightlist.model.Bapi_Flight_Getlist_Input.removeDate_Range(Bapi_Flight_Getlist_Input.java:174)

at com.sap.josef.jflightlist.JFlightListComponent.executeBapiFlightGetlist(JFlightListComponent.java:186)

at com.sap.josef.jflightlist.wdp.InternalJFlightListComponent.executeBapiFlightGetlist(InternalJFlightListComponent.java:4109)

at com.sap.josef.jflightlist.JFlightListView.onActionSearch(JFlightListView.java:128)

at com.sap.josef.jflightlist.wdp.InternalJFlightListView.wdInvokeEventHandler(InternalJFlightListView.java:2563)

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

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

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:89)

at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:285)

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

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

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

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

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

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

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:363)

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

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

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

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

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

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

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

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

at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)

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:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Jul 06, 2004 at 02:50 PM

    Hi

    What is the type of your Date_Range variable. Have u declared it as simple type date. What is the argument type of removeDate_Range method. Can you give that portion of code. Maybe then i will be able to see what the problem is.

    thanks

    ravi

    Add comment
    10|10000 characters needed characters exceeded