Problem solve Get help with specific problems with your technologies, process and projects.

Re-using functions from repository

I'm using your JCo-Connector and found it surprisingly easy to use it to interface to SAP. However, I've run into...

trouble when I tried to re-use a function from my repository, which has previously thrown an exception. I'm using a "RFC_READ_TABLE" call to read out data. If an exception occurred (e.g. "WHERE Bedingung hat unerwartetes Format"), then any subsequent calls using this function give the same error, no matter how I adjust the OPTIONS/FIELDS fields etc. The problem goes away once I disconnected and re-established the connection to SAP. Is there a known problem of not deleted exceptions (either in JCo or my RFC-function), could one "clear" a function without disconnecting/connecting again. Any hints would be very much appreciated, thank you!

Are you sure that you clear the table parameters completely before you retry? In that case, we would need source code to test this ourselves.

This was last published in January 2002

Dig Deeper on SAP Basis administration and NetWeaver administration

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.