on 10-14-2008 1:10 PM
Hello Experts,
I need your help. I need to configure a JDBC receiver adapter. These are the credentials:
jdbc driver: com.ibm.as400.access.AS400JDBCDriver
connection: jdbc:as400://172.22.77.200:446/
-
Persistence: Database
DB table name: datalib.IIM
-
I am getting this error in CC monitoring:
Configuration error: com.sap.aii.af.service.util.configuration.MandatoryParameterMissingException: Value missing for mandatory configuration attribute tableEOColumnNameId
Can you let me know where am I going wrong?
Cheers,
Deepak
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi....
I changed the persistence from Database to local. But I am getting a different error now
Error while parsing or executing XML-SQL document: Error 'java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters.' executing service raw2sql with SQL statement '<?xml version="1.0" encoding="UTF-8"?> <ns0:MT_DeptReceiver xmlns:ns0="http://mindtree.com/xi/m1004968"><STATEMENTNAME><TEST action="INSERT"><TABLE>datalib.iim</TABLE><access><IPROD>2010</IPROD><IDESC>test trade</IDESC><ICLAS>001</ICLAS></access></TEST></STATEMENTNAME></ns0:MT_DeptReceiver>'
Can anybody let me know what does this mean: "The number of parameter values set or registered does not match the number of parameters"?
Cheers,
Deepak
Hi...
Its still not resolved, any help pls....
"Error while parsing or executing XML-SQL document: Error 'java.sql.SQLException: The number of parameter values set or registered does not match the number of parameters.' executing service raw2sql with SQL statement '<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_DeptReceiver xmlns:ns0="http://mindtree.com/xi/m1004968">
<STATEMENTNAME>
<TEST action="INSERT">
<TABLE>datalib.iim</TABLE>
<access>
<IPROD>2010</IPROD><IDESC>test trade</IDESC><ICLAS>001</ICLAS><IUMS>CS</IUMS><IUMP>CS</IUMP><IUMCN>1.00000</IUMCN><IITYP>F</IITYP><ILIST>19.7800</ILIST>
<IDSCE>SOBEY'S P/B/POUCHES_XI</IDSCE><IWGHT>12.300</IWGHT><IUMR>CS</IUMR><IUMRC>1.00000</IUMRC><TAXC1>NOTAX</TAXC1><IWHS>84</IWHS><ILOC>LB</ILOC><IMWTUM>LB</IMWTUM><IMVUOM>M3</IMVUOM><IMNNWU>.000</IMNNWU>
</access>
</TEST>
</STATEMENTNAME>
</ns0:MT_DeptReceiver>"
Thank you,
Warm regards,
Deepak
Edited by: Deepak MS on Oct 22, 2008 10:54 AM
Hi Sridhar,
Yes, as you said, the structure is not same.
The sender message type has only 19 fields, which are of relevance in this work that I am doing.
The receiver database table (IIM in AS400 system) has more than 250 fields! Should I create a message type with all of these fields then?
Cheers,
Deepak
Hi
First check if by providing the limited columns you are able to insert a record into the AS table. If it works you neednt provide the details of the 250 tables.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello deepak,
"Value missing for mandatory configuration attribute tableEOColumnNameId"
It clearly says that column value is missing while inserting in the data base. It should be mandatory parameter... Just check the incoming data into the JDBC adapter
Regards
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Seshagiri,
Yes I have configured the Receiver JDBC Channel according to that blog with INSERT in action.
This time I changed the persistence to "Local" from "Database".
This is my DT:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_MaterialMaster_BPCS xmlns:ns0="urn://mindtree.com/xi/bpcs_to_sap">
<STATEMENTNAME>
<TEST action="INSERT">
<TABLE>IIM</TABLE>
<access>
<IPROD>1900</IPROD>
<IDESC></IDESC>
<ICLAS>001</ICLAS>
<IUMS>sad</IUMS>
<IUMP>sd</IUMP>
<IITYP>45</IITYP>
<ILEAD></ILEAD>
<ILIST></ILIST>
<IWGHT></IWGHT>
<IUMR></IUMR>
<IUMRC></IUMRC>
<TAXC1></TAXC1>
<IWHS></IWHS>
<ILOC></ILOC>
<IMWTUM></IMWTUM>
<IMVUOM></IMVUOM>
<IMNNWU></IMNNWU>
</access>
</TEST>
</STATEMENTNAME>
</ns0:MT_MaterialMaster_BPCS>
With this I am getting this error in CC:
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'IIM' (structure 'STATEMENTNAME'): java.sql.SQLException: [SQL7008] IIM in DATALIB not valid for operation.
IIM here is the table name and DATALIB in the library in which this table resides, in AS400 system.
HI,
Try to give your table name(IIM) instead of TEST in your reciever data type.
Refer the structure:
http://help.sap.com/erp2005_ehp_03/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm
Hi,
Have a look at this:
http://publib.boulder.ibm.com/html/as400/java/com.ibm.as400.access.AS400JDBCDriver.html
It might help
Edited by: Arman Eker on Oct 14, 2008 2:17 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.