on 03-12-2012 11:55 AM
I need to know if it is possible to personalize text of transaction trace.
Actually I obtain this text
[WARN ]: com.sap.xmii.Illuminator.logging.LHException: com.sap.xmii.Illuminator.logging.LHException: com.microsoft.sqlserver.jdbc.SQLServerException: The INSERT statement conflicted with the FOREIGN KEY constraint "REL_MiiId_LogInputMsg_LogTrxTrace". The conflict occurred in database "FERRERO_SBO", table "dbo.T_Log_InputMsg", column 'MiiId'.
Does anyone how to add more information to this message? Is there any settings in MII?
Hi Fabio,
What I used to do in 12.0 was create a local string property called, appropriately enough, TransactionName. And unfortunately this a manual process and needs to be done for all transactions, but then in the Message property of the Tracer you can make the expression Local.TransactionName & <your other stuff>. Not sure how you would add the sequence name as that is not a Transaction level property, but you could add it in as well: Local.TransactionName & " SequenceName: " & " Tracer 001 " & <your other stuff>.
Good luck, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
What I used to do in 12.0 was create a local string property called, appropriately enough, TransactionName. And unfortunately this a manual process and needs to be done for all transactions, but then in the Message property of the Tracer you can make the expression Local.TransactionName & <your other stuff>. Not sure how you would add the sequence name as that is not a Transaction level property, but you could add it in as well: Local.TransactionName & " SequenceName: " & " Tracer 001 " & <your other stuff>.
Good luck, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabio,
What version and build of MII and, if applicable, NW are you working on?
Thanks, Mike
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
7 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.