Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

JCO_ERROR_RESOURCE

hi,

I found an error while connecting my java application which calls a BAPI.

the error was

JCO_ERROR_RESOURCE

trying to set row values in a table which does not have any rows yet.

My BAPI contains 3 import parameters which are table type.

the code i wrote was:

JCO.Table bill_doc =

function.getImportParameterList().getTable("BILL_DOC");

bill_doc.setValue("I", "SIGN");

bill_doc.setValue("EQ", "ZOPTION");

bill_doc.setValue(billdoc, "LOW_VBELN");

bill_doc.setValue(to1, "HIGH_VBELN");

is this the right way?

arati.

Former Member
Not what you were looking for? View more on this topic or Ask a question