Skip to Content
0
Former Member
Feb 08, 2011 at 02:54 AM

(SUP for Blackberry) JCo unknown type error when using PT_ARQ_REQUEST* RFC

21 Views

Dear community,

I am encountering a weird error when trying to execute the PT_ARQ_REQUEST_PREPARE RFC in a Leave Request scenario for BlackBerry with the SUP.

When creating the MBO from the RFC PT_ARQ_REQUEST_PREPARE and testing it with the parameters

im_command = create
im_modus = r
im_pernr = 00001000
im_wi_id = 000000000000 (initial value)
im_request_id =  *emptyString* (initial value)

I get an "execution suceeded" everytime EXCEPT when I try to return the output structure ex_request! However, this is exactley the information needed to execute the following RFCs PT_ARQ_REQUEST_EXECUTE and PT_ARQ_REQUEST_CHECK. The error I get when executing is the following:

unknown JCO type
  java.sql.SQLException: unknown JCO type

I checked for short dumps in the transaction ST22 and found an OBJECTS_OBJREF_NOT_ASSIGNED_NO (CX_SY_REF_IS_INITIAL) error that marks an error when retrieving the attributes (most likely from the ex_request structure). I looked at the structure and found out that it is a deep structure. Could that be the reason for the error? How can I fix it and get the correct output? Does anybody has experience with a similar problem?

Thank you for your help in advance!

Best regards,

Jenny

PS: some additional info about the error message:

unknown JCO type
unknown JCO type
  java.sql.SQLException: unknown JCO type
  com.sybase.vader.jca.sap.connector.cci.SapJcoResultSetMetaData.getColumnType(SapJcoResultSetMetaData.java:135)
  com.sybase.uep.eis.RecordSetImpl.<init>(RecordSetImpl.java:69)
  com.sybase.uep.tooling.eis.BaseEISOperation.getRecordSetFromResultSet(BaseEISOperation.java:980)
  com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:259)
  com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:154)
  com.sybase.uep.tooling.eis.SapEISOperationImpl.execute(SapEISOperationImpl.java:401)
  com.sybase.uep.tooling.ui.ModelsUtil.getEEISOperationMetaData(ModelsUtil.java:252)
  com.sybase.uep.tooling.ui.ModelsUtil.refreshAttributes(ModelsUtil.java:892)
  com.sybase.uep.tooling.ui.ModelsUtil$3.run(ModelsUtil.java:778)
  com.sybase.uep.tooling.om.util.MobileObjectModelsUtil.execUpdate(MobileObjectModelsUtil.java:1027)
  com.sybase.uep.tooling.ui.diagram.extension.commands.CommandUtils.runUpdate(CommandUtils.java:219)
  com.sybase.uep.tooling.ui.ModelsUtil.refreshRead(ModelsUtil.java:742)
  com.sybase.uep.tooling.ui.ModelsUtil$6$1.run(ModelsUtil.java:1046)
  org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection$3.doExecuteWithResult(AbstractModelerPropertySection.java:584)
  org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand.doExecute(AbstractTransactionalCommand.java:247)
  org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150)
  org.eclipse.gmf.runtime.common.core.command.CompositeCommand.doExecuteWithResult(CompositeCommand.java:403)
  org.eclipse.gmf.runtime.common.core.command.AbstractCommand.execute(AbstractCommand.java:135)
  org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511)
  org.eclipse.gmf.runtime.diagram.ui.properties.sections.AbstractModelerPropertySection.executeAsCompositeCommand(AbstractModelerPropertySection.java:315)
  com.sybase.uep.tooling.common.ui.property.view.UEPPropertySheetSection.executeAsCompositeCommand(UEPPropertySheetSection.java:406)
  com.sybase.uep.tooling.common.ui.property.view.UEPPropertySheetSection.runAsCommands(UEPPropertySheetSection.java:389)
  com.sybase.uep.tooling.ui.properties.sheets.mbo.MBOAttributesBoundMappingPropertySection.runAsCommands(MBOAttributesBoundMappingPropertySection.java:583)
  com.sybase.uep.tooling.ui.tableviewer.common.editingsupports.PropertyViewCommandDelegate.runInCommand(PropertyViewCommandDelegate.java:48)
  com.sybase.uep.tooling.ui.ModelsUtil$6.run(ModelsUtil.java:1039)
  org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Edited by: Jenny Bachmann on Feb 8, 2011 6:29 AM