Hi,

I've programmed a SAP function which I want to use with the SAP Input step. If I use get Fileds, I get the output fields of the Table which I difined in the function. I tested the function in SAP and there it worked.
If I test it in the ETL Tool I get following error:


2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Unexpected error
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.core.exception.KettleException:
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : org.pentaho.di.trans.steps.sapinput.sap.SAPException:
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : There is no table parameter list. Did you use 'Table' instead of 'Structure'?
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : There is no table parameter list. Did you use 'Table' instead of 'Structure'?
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.sapinput.SapInput.processRow(SapInput.java:121)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:50)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at java.lang.Thread.run(Unknown Source)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Caused by: org.pentaho.di.trans.steps.sapinput.sap.SAPException:
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : There is no table parameter list. Did you use 'Table' instead of 'Structure'?
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) :
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.getOutputCursor(SAPConnectionImpl.java:455)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.executeFunctionCursored(SAPConnectionImpl.java:349)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : at org.pentaho.di.trans.steps.sapinput.SapInput.processRow(SapInput.java:119)
2014/03/17 11:15:18 - SAP Input 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ... 2 more


In SAP I created under tables the following parameter:

ZZGT_OUTTAB_TAB Like ZST_IDOC (which is a structure that I created).
Do you have any Ideas why this does not work.
In SAP I get a result of 20 rows.

Regards

Dominic