on 01-30-2009 1:04 PM
Can anybody what does this messahe mean
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SKUMASTER' (structure 'insert'): java.sql.SQLException: FATAL ERROR document format: structure 'insert', no key element found
Thanx.. Vinithra
Hi Vinitha,
You need to check this link:
[Document Format for Receiver Adapter.|http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm]
Make sure @action is INSERT, not UPDATE_INSERT.
You structure must be something like this:
<StatementName2>
<dbTableName action=u201DINSERTu201D>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
<access>
<col1>val11</col1>
</access>
</dbTableName>
</StatementName2>
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
in your JDBC msg structure, in action attribute have INSERT and in key specify the primary key of your table.
Regards,
Rajeev Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try to pattern your structure with this sample.
<IAFPOCHR action="INSERT">
<TABLE>IAFPOCHR</TABLE>
- <access>
<IAPLNT>ASSY</IAPLNT>
<IAFCID>P1</IAFCID>
<IAPONO>902341</IAPONO>
<IACUST>00852</IACUST>
<IACNM>CUS_CODE</IACNM>
<IACVL>0000000852</IACVL>
<IAPOSD>20090202120607</IAPOSD>
</access>
- <key1>
<IAPLNT>ASSY</IAPLNT>
<IAFCID>P1</IAFCID>
<IAPONO>902341</IAPONO>
<IACUST>00852</IACUST>
<IACNM>CUS_CODE</IACNM>
</key1>
</IAFPOCHR>
Thanks,
Alfred
Try with upper case, I mean rather using 'insert', use 'INSERT'.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinithra,
As per the Error message that you got ,There must be some problem with the input document .Coz the XI uses a technique called XML Parsing( based on JAVA.) to read the input and convet it into XML for its processing.
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.