cancel
Showing results for 
Search instead for 
Did you mean: 

suddenly NoSuchMethodError on calling DOCUMENT_CREATE2 with JCo

Former Member
0 Kudos

Hi.

I'm working with JCo to create ("BAPI_DOCUMENT_CREATE2") and modify ("BAPI_DOCUMENT_CHANGE2", "BAPI_DOCUMENT_DELETE") documents in SAP R/3.

Until yesterday all worked fine. Suddenly I get a "NoSuchMethodError" if I call this methods.

Is it possible that the server denies the execution of this methods?

BAPI_DOCUMENT_GETLIST and similar methods are still working.

thanks,

Stefan

View Entire Topic
Former Member
0 Kudos

Hello

this looks like you are trying to call a java method which does not exist. Maybe you changed something in your java coding or you forgot to pack required .jar and .class files into your java application

also refer to java docs for

<a href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/NoSuchMethodError.html">NoSuchMethodError</a>

regards

franz

reward points if useful

Former Member
0 Kudos

Hi.

Yes we fixed this right now. There was an old dependecy in a required jar.

Nevertheless, thanks for your help.