on 2008 Jan 09 7:04 AM
Scenario: IDOC - Oracle DB
When I post an idoc in r/3, its triggering fine and also in sxmb_moni is showing a chequered flag. so idoc is reching xi properly.
but when i monitor CC in runtime workbench... i am getting the below error.
Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'REPLIC_CHASSIS_VENDA' (structure 'STATEMENTNAME'): java.sql.SQLException: ORA-00913: too many values
Please lemme know.
Thanks
Kiran
Hi,
Can u try with the following structureas this is working very well for my scenario:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT_JDBC_MARA xmlns:ns0="urn:abc:mm">
- <Statement>
- <MARA_UPDATE action="EXECUTE">
<MATERIAL_CODE type="CHAR">000000000001001425</MATERIAL_CODE>
<DESCRIPTION type="CHAR">NEOLIPID </DESCRIPTION>
<MATERIAL_GROUP_CODE type="CHAR">4000</MATERIAL_GROUP_CODE>
<MATERIAL_GROUP_DESC type="CHAR">Exports-USA</MATERIAL_GROUP_DESC>
<BASE_UNIT type="CHAR">S10</BASE_UNIT>
<SAP_ADD_DATE type="CHAR">19990511 00:00:00.000</SAP_ADD_DATE>
<SAP_MODIFY_DATE type="CHAR">20050124 00:00:00.000</SAP_MODIFY_DATE>
<EXTRACT_DATE type="CHAR">20080107 00:00:00.000</EXTRACT_DATE>
</MARA_UPDATE>
</Statement>
</ns0:MT_JDBC_MARA>
Warm Regards,
N.Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it is an error with the recv CC. Check the XML strucutre for the target.
http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
Edited by: Prabhu S on Jan 9, 2008 8:06 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
is the below strucute as per ur target efintion:
<root>
<StatementName1>
<dbTableName action=UPDATE | UPDATE_INSERT>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2new</col2>
</access>
<key1>
<col2>val2old</col2>
<col4>val4</col4>
</key1>
<key2>
<col2>val2old2</col2>
</key2>
</dbTableName>
</StatementName1>
or can u post the payload of ur target strucutre def
Edited by: Prabhu S on Jan 9, 2008 8:10 AM
yes its the same.
however, here is the payload.
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MTUpdateNFDataReceiver xmlns:ns0="http://deere.com/xi/ijdsouthamerica/Warranty">
- <STATEMENTNAME>
- <ROW action="INSERT">
<TABLE>REPLIC_CHASSIS_VENDA</TABLE>
- <access>
<VNUMEROCHASSIS>000000000000000003</VNUMEROCHASSIS>
<DDATAFATURAMENTO>26/10/2007</DDATAFATURAMENTO>
<NVALORBCCR>0,02</NVALORBCCR>
<VCLIENTE>99999S2410</VCLIENTE>
<VCONCESSIONARIO>99999S2401</VCONCESSIONARIO>
<VPAISDESTINO>AP</VPAISDESTINO>
<NPRODUTOCOMPLETO />
<VCOMENTARIO />
</access>
</ROW>
</STATEMENTNAME>
</ns0:MTUpdateNFDataReceiver>
Hi Kiran,
There is a small mistake in your structure. Just after "STATEMENTNAME" you should write the table name "REPLIC_CHASSIS_VENDA" and then under your table name rest of the things will come. Just see the hierarchy as I have declared below and follow the same.
Make the same changes in you structure and activate the scenario. I hope it will work.
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:MTUpdateNFDataReceiver xmlns:ns0="http://deere.com/xi/ijdsouthamerica/Warranty">
<STATEMENTNAME>
-
< REPLIC_CHASSIS_VENDA >
-
< action="INSERT">
-
<TABLE>REPLIC_CHASSIS_VENDA</TABLE>
-
<access>
-
<VNUMEROCHASSIS>000000000000000003</VNUMEROCHASSIS>
-
<DDATAFATURAMENTO>26/10/2007</DDATAFATURAMENTO>
-
<NVALORBCCR>0,02</NVALORBCCR>
-
<VCLIENTE>99999S2410</VCLIENTE>
-
<VCONCESSIONARIO>99999S2401</VCONCESSIONARIO>
-
<VPAISDESTINO>AP</VPAISDESTINO>
-
<NPRODUTOCOMPLETO />
-
<VCOMENTARIO />
-
</access>
</STATEMENTNAME>
</ns0:MTUpdateNFDataReceiver>
Regards,
Sarvesh
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
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.