cancel
Showing results for 
Search instead for 
Did you mean: 

** Fault Message will support in JDBC Sender Adapter ?

jegathees_waran
Active Participant
0 Kudos

Hi friends,

Will Fault message be supported when JDBC is receiver ? If it is, how do we raise exception, when any error comes in JDBC side ?

Kind Regards,

Jeg P.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

This is not possible. Fault message types are only supported for ABAP/Java Proxies. The JDBC adapter does not provide fault messages.

You should avoid synchronous database insert as your sender program will dump, when a runtime error occurs in XI.

Refer similar discussion and solution

Check this links

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Thanks

swarup

Answers (3)

Answers (3)

jegathees_waran
Active Participant
0 Kudos

We tested that. Fault Messages are not supported by JDBC adapter. We could not raise exception at JDBC level.

former_member238007
Contributor
0 Kudos

HI,

In addition to the Swarup, Fault message type can also be used for File Adapter where SP > 19 in such a case to catch the errors while sending the file we can use fault message types.

But as if your case it might not possible with the JDBC.

Basically error comes in the target side if the structure in Data type was not clearly defined.. and if any mandatory fields that are needed in the database is missed in such cases it throws the exception.

regards,

Kishore

Former Member
0 Kudos