cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating unicode proxy for some BAPI methods in ERP 6.0

Former Member
0 Kudos

Hi,

We are trying to generate proxies for BAPI methods in ERP 6.0 and are successful except for the 2 of the BAPIs.

This interface curretly works against 4.6c, but when we tried it against ERP 6.0, we got the error described in the thread

So we tried to regenerate the proxies against the ERP 6.0 System and got the error below, but only for the 2 BAPI methods ProdOrdConfirmation.CreateTimeTicketMultiple and GoodsMovement.CreateFromData. Please note, that it is possible to create the proxy for another method in the latter class, such as GoodsMovement.GetDetail, but not for GoodsMovement.CreateFromData.

Can you help?

Thanks in advance.

Chris Brookes.

-


INFO: using logging implementation "AII Logging"

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0,

Size: 0

at java.util.ArrayList.RangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at com.sap.mdi.SmartCollection.getItem(SmartCollection.java:34)

at com.sap.mdi.Rfms.getRfm(Rfms.java:45)

at com.sap.mdi.Rfm.initDescription(Rfm.java:182)

at com.sap.mdi.Rfm.getDescription(Rfm.java:107)

at

com.sap.aii.upload.sap.SAPUploadFunction.addFunction(SAPUploadFunction.java:

231)

at

com.sap.aii.upload.sap.SAPUploadFunction.uploadObject(SAPUploadFunction.java

:101)

at

com.sap.aii.upload.sap.SAPUploadSource.uploadObject(SAPUploadSource.java:342

)

at com.sap.aii.upload.api.UploadEngine.uploadObjects(UploadEngine.java:116)

at

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

at

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

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Martin,

It turns out that someone had set the "Remote Enabled" flag off when modifying these RFCs. Once we set this back on, this error was solved.

Kind Regards,

Chris.

Former Member
0 Kudos

Hi!

do you use custom fields in the methods/functions?

I have the same problem, if I try to generate proxies for functions with Z-Fields.

Any idea?

Regards,

Martin