cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating proxy

Former Member
0 Kudos

Hello:

I am trying to create a proxy and receive this error message in VS.Net. Has anyone else encountered this?

Thanks in advance.

-


Error in Proxy-Generator

-


To create a proxy directly from a SAP system, you must install a Java VM from JavaSoft

Inner error was:

INFO: using logging implementation "AII Logging"

Exception caught in method createFunction for DD_GET_UCLEN Reason: null

com.sap.aii.upload.api.NotFoundException: Object <rfc><ZMODIFY_SALES_ORDER> not found

at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:111)

at com.sap.aii.upload.tool.RFC2WSDLTool.getWSDLforRFCs(RFC2WSDLTool.java:82)

at com.sap.aii.upload.tool.RFC2WSDLTool.main(RFC2WSDLTool.java:196)

Exception in thread "main"

-


OK

-


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hitesh:

I don't think thats the case. I do have JVM installed. I can successfully create a proxy for some (for ex: ABAP4_COMMIT_WORK).

The actual error is in the details "com.sap.aii.upload.api.NotFoundException: Object <rfc><ZMODIFY_SALES_ORDER> not found". But the function module is there, created using SE37.

Thanks

Naresh

Former Member
0 Kudos

Oops. You right. I have not experienced this problem. Is it only for this particular custom BAPI? Can you run this BAPI successfully from SE37?

H

Former Member
0 Kudos

If you look at the attributes tab of the function in SAP is the function RFC enabled? If it is not RFC enabled then you will not be able to generate a proxy for it. The ABAP4_COMMIT_WORK you reference is RFC enabled so you can generate a proxy for it.

Former Member
0 Kudos

Todd:

I am having someone check on that.

In the meantime would the funciton have to be RFC enabled to create a DCOM Connector DLL? I am able to do this. The .Net Connector Wizard is the one having the issue.

Former Member
0 Kudos

I'm not sure about the DCOM connector,I haven't worked in that environment. But generate a proxy for RFC_FUNCTION_SEARCH you can input a Z* in the FUNCNAME field and it will return all Z functions that are RFC enabled. The only other thing I can think of has the function been transported to the the system you are generating the proxy from?

Former Member
0 Kudos

Todd:

Thx for your time on this.

Back to basics! What is the earliest version of SAP that the .Net connector will work with? I am getting mixed responses.

reiner_hille-doering
Active Contributor
0 Kudos

The design time (wizard) requires 4.0 or higher. Runtime might work with older version, like 3.1I. You would need to create the proxy from a newer system and than run with the older. Of cause the function definition must be equal on both systems.

Former Member
0 Kudos

Thx Reiner.

My version is 3.1I and am able to use the wizard and query the functions and create a proxy for some functions like "ABAP4_COMMIT_WORK" and others but not some custom functions.

Any suggestions?

reiner_hille-doering
Active Contributor
0 Kudos

As I said, you NEED 4.0 or higher for the proxy generator. If it works with 3.1I for some functions, then this is by accident. This limitation will not change in future.

Former Member
0 Kudos

Looks like you don't have the Java runtime installed. I believe you need the Java runtime cos the wizard uses it to build the proxy but it's not used at runtime.