Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to capture the error details from JTA Command/Commit/Rollback/End

Hi All,

I have used JTA to insert data in multiple tables of a Data source. At the end of BLS I have used Commit, Rollback and End based on the condition. But I need to capture the error details of data insertion failure. The output of Command action block are JTATransactionStartSource

SQLCommand

CommandDatasource

RowsAffected

Success

InputLinksSuccess

OutputLinksSuccess

and Output of Commit, Rollback and End action block are

JTATransactionStartSource

Success

InputLinksSuccess

OutputLinksSuccess

Can anybody tell me how can I capture the error details.

Thanks in Advance

Chandan

Former Member
replied

Chandan,

Thanks for pointing that out, I have since updated the custom JRA actions, back in February, to support "LastErrorMessage" as an Outgoing link from the JTACommand action block but must have forgotten to post the update to the SDN. The link on the Wiki will be updated shortly to reflect the updated content and in the mean time I will email you the updated action JAR.

Thanks again,

Sam

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question