Trying to use a variable and RFC_READ_TABLE but getting an error. Any ideas appreciated!

Job and two transformations attached.

Log output is:

2012/09/12 09:49:20 - Spoon - Starting job...
2012/09/12 09:49:20 - CDHDRjob - Start of job execution
2012/09/12 09:49:20 - CDHDRjob - Starting entry [REQNO for CDHDR]
2012/09/12 09:49:20 - REQNO for CDHDR - Loading transformation from XML file [\\cgyfs6\users1$\barryf\My Documents\Pentaho\pdiRepository1\REQNO for CDHDR.ktr]
2012/09/12 09:49:20 - REQNO for CDHDR - Dispatching started for transformation [REQNO for CDHDR]
2012/09/12 09:49:20 - Text file input.0 - Opening file: file:////cgyfs6/users1$/barryf/My Documents/Pentaho/pdiRepository1/Requisitions.csv
2012/09/12 09:49:20 - Text file input.0 - Finished processing (I=5, O=0, R=0, W=4, U=1, E=0)
2012/09/12 09:49:20 - Copy rows to result.0 - Finished processing (I=0, O=0, R=4, W=4, U=0, E=0)
2012/09/12 09:49:20 - CDHDRjob - Starting entry [CDHDRextract]
2012/09/12 09:49:20 - CDHDRextract - Loading transformation from XML file [\\cgyfs6\users1$\barryf\My Documents\Pentaho\pdiRepository1\CDHDRextractVIArfc.ktr]
2012/09/12 09:49:20 - CDHDRextract - Dispatching started for transformation [CDHDRextractVIArfc]
2012/09/12 09:49:24 - Edit for table etc.0 - Finished processing (I=0, O=0, R=0, W=1, U=0, E=0)
2012/09/12 09:49:24 - Get Variables.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Unexpected error
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : org.pentaho.di.core.exception.KettleException:
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : org.pentaho.di.trans.steps.sapinput.sap.SAPException:
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Cannot excute SAP function
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : A condition specified at runtime has an unexpected format.
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) :
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) :
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Cannot excute SAP function
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : A condition specified at runtime has an unexpected format.
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) :
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) :
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.sapinput.SapInput.processRow(SapInput.java:111)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at java.lang.Thread.run(Unknown Source)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Caused by: org.pentaho.di.trans.steps.sapinput.sap.SAPException:
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Cannot excute SAP function
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : A condition specified at runtime has an unexpected format.
CDHDRjob.kjbREQNO for CDHDR.ktrCDHDRextractVIArfc.ktr
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) :
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.executeFunctionCursored(SAPConnectionImpl.java:353)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.sapinput.SapInput.processRow(SapInput.java:109)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : ... 2 more
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Caused by: com.sap.conn.jco.JCoException: (104) RFC_ERROR_SYSTEM_FAILURE: A condition specified at runtime has an unexpected format.(Remote shortdump: SAPSQL_WHERE_ILLEGAL_VALUE in TS2|tahoe)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:619)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1726)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1046)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:879)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1182)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1156)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:302)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.sapinput.sap.impl.SAPConnectionImpl.executeFunctionCursored(SAPConnectionImpl.java:348)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : ... 3 more
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Caused by: RfcException: [TS2|tahoe]
message: A condition specified at runtime has an unexpected format.
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
message class: 00
message type: X
message number: 341
message parameter 0: SAPSQL_WHERE_ILLEGAL_VALUE
Exception raised by TS2|tahoe
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1948)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1674)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : ... 9 more
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Caused by: com.sap.conn.rfc.exceptions.RfcGetException: A condition specified at runtime has an unexpected format.
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1156)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:34)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1905)
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : ... 10 more
2012/09/12 09:49:27 - RFC_READ_TABLE.0 - Finished processing (I=0, O=0, R=1, W=0, U=0, E=1)
2012/09/12 09:49:27 - CDHDRextract - CDHDRextractVIArfc
2012/09/12 09:49:27 - CDHDRextract - CDHDRextractVIArfc
2012/09/12 09:49:27 - CDHDRextract - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Errors detected!
2012/09/12 09:49:27 - CDHDRextract - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Errors detected!
2012/09/12 09:49:27 - CDHDRjob - Finished job entry [CDHDRextract] (result=[false])
2012/09/12 09:49:27 - CDHDRjob - Finished job entry [REQNO for CDHDR] (result=[false])
2012/09/12 09:49:27 - CDHDRjob - Job execution finished
2012/09/12 09:49:27 - Spoon - Job has ended.