on 04-07-2012 12:26 PM
Hi Everyone,
I am working on proxy to jdbc interface.When i am trying to insert data into table getting following error.
Message processing failed. Cause:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error
processing request in sax parser: Error when executing statement for
table/stored proc. 't_PDIDetails_Linked' (structure 'Statement'):
java.sql.SQLException: FATAL ERROR document format in structure 'Statement':
expected 'access' tag(s) not found.
I have already inserted successfully into another tables.I followed the same structure.
I couldn't find what could be the issue.Please suggest me.
Thanks in advance points will be rewarded.
Thanks
Kumar
May the hierarchy of the access tag is wrong too.. meaning it may be getting created at the wrong place ; Like as a sub-node of table .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check your message mapping...test in your message mapping whether access tag is getting created...
Paste your receiver structure here
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take payload from communication channel monitoring and paste it here.
if you want to suppress any records based on some conditions then you must right a condition in RD/ID is right idea, because access tag is mandatory in JDBC receiver structure to insert record in to DB else you may get this kind of erros.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Take the source payload and test your mapping i doubt that it is failing becoz the access tag is not getting created at the mapping which eventually results into failure at AE level..
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have a look at answers by Raja Sekhar Reddy and Prabhat Sharma in this thread:
http://scn.sap.com/thread/1862561
They solve an identical problem there.
Hope this helps,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check your structure on the target side. You need access tags for this. You did not provide one.
Example:
<StatementName>
<TableName action=”INSERT”>
<table>realDbTableName</table>
<access>
<col1>val1</col1>
<col2>val2</col2>
</access>
</TableName>
</StatementName>
I might also want you to check the structure provided in the help link
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
If you are not comfortable find the structure error, Please provide us target structure here. we will find it out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.