Skip to Content

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

Error code:-2147217394 Error code name:missingParameterValueError

As seen on:

Problem exporting Crystal report from Portlet JSR-168 instead of servlet.

I have all old code using "com.crystaldecisions.sdk.occa.report.data.Fields" and I would like to iterate through all items and convert them to the new ReportClientDocument, is that possible?

Sample:

ParameterFieldController paramFieldController = reportClientDoc.getDataDefController().getParameterFieldController();	
      for (int i = 0; i < fields.size(); i++) {
        paramFieldController.setCurrentValue(fields.getField(i).REPORTNAME, fields.getField(i).FIELDNAME, fields.getField(i).FIELDVALUE);   
      }

REPORTNAME, FIELDNAME and FIELDVALUE doesn't exist. my "fields" (com.crystaldecisions.sdk.occa.report.data.Fields) variable has a bunch of "ParameterField" objects, if I could retrive those 3 properties I could fill-in all parameters.

Thanks!

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