<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Hi Florin</div><div class="gmail_quote"> </div><div class="gmail_quote">Nice Blog post and I have that in place. I have not found a way to present the Exception Class 'Long' Text from the Wf Audit Log though.</div>
<div class="gmail_quote"> </div><div class="gmail_quote">The popup present the message (255 bytes) but it does not allow you to get to the Long Text. (I sound like a user now, give them something and they want more!). My idea was when my Task runs a transaction/BADI and receives Error messages back, that I could output the Error messages to the Exception Class Long Text, allowing Support to see why the Task has errrored.</div>
<div class="gmail_quote"> </div><div class="gmail_quote">I don't think there is a way to do this, so I have a work around. Before I Raise the the ZCX_BO_ERROR exception, I write the messages to the Task Container (Wf doesn't do it if you Raise an Exception). </div>
<div class="gmail_quote"> </div><div class="gmail_quote">I don't think this is the best solution in the world, but it gets the error messages to the support team.</div><div class="gmail_quote"><br>Andy </div><div class="gmail_quote">
</div><div class="gmail_quote"> </div><div class="gmail_quote">On Wed, Jun 19, 2013 at 8:34 AM, <span dir="ltr"><<a href="mailto:sap-wug-request@mit.edu" target="_blank">sap-wug-request@mit.edu</a>></span> wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"> 3. Aw: CX_BO_ERROR exception class (Florin Wach)<br>
</blockquote><div> </div><blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote">From: "Florin Wach" <<a href="mailto:florin.wach@gmx.net">florin.wach@gmx.net</a>><br>
To: "SAP Workflow Users' Group" <<a href="mailto:sap-wug@mit.edu">sap-wug@mit.edu</a>><br>Cc: <br>Date: Wed, 19 Jun 2013 09:34:26 +0200 (CEST)<br>Subject: Aw: CX_BO_ERROR exception class<br><div><div style="font-family:Verdana;font-size:12px">
<div>
<div>Hi Andy</div>
<div> </div>
<div>I have blogged that here:</div>
<div><a href="http://scn.sap.com/community/bpm/business-workflow/blog/2013/04/25/use-exceptions-in-abap-oo-workflow-with-custom-text" target="_blank">http://scn.sap.com/community/bpm/business-workflow/blog/2013/04/25/use-exceptions-in-abap-oo-workflow-with-custom-text</a></div>
<div> </div>
<div>And it's part of the book "Practical Workflow for SAP", where it's explained how to work with the text-ID's.</div>
<div>In my blog post you can also find, how to work with message-ID's.</div>
<div> </div>
<div>With the very best wishes</div>
<div> Florin</div>
<div>
<div style="margin:10px 5px 5px 10px;padding:10px 0px 10px 10px;border-left-color:rgb(195,217,229);border-left-width:2px;border-left-style:solid;word-wrap:break-word" name="quote">
<div style="margin:0px 0px 10px"><b>Gesendet:</b> Freitag, 14. Juni 2013 um 18:20 Uhr<br>
<b>Von:</b> "Andy Curtis" <<a href="mailto:abcurtis@gmail.com" target="_blank">abcurtis@gmail.com</a>><br>
<b>An:</b> "SAP Workflow Users' Group" <<a href="mailto:sap-wug@mit.edu" target="_blank">sap-wug@mit.edu</a>><br>
<b>Betreff:</b> CX_BO_ERROR exception class</div>
<div name="quoted-content">
<div>
<div>I know this hit the WUG recently so I'm hoping it's fresh in someones mind. I have a subclass of CX_BO_ERROR and I can RAISE the Exception OK. I then goto the Wf log and I can find my exception raised and see my Text. But I want to give more detail about the exception. </div>
<div> </div>
<div>The exception class allows me to enter 'Long Text' behind the Text defined so I added it, and I can call Class Parameters from the Long Text which is great.</div>
<div> </div>
<div>The problem is, I can't see the Long Text from the Wf Log, short text, yes, Long text, no. There are interface methods in the exception class to read the long text and if I use SE24 to create an instance I can then see the Long Text, but theres no mechanism from the Wf log to get to the Long Text.</div>
<div> </div>
<div>Unless ....... anyone knows better? </div>
<div> </div>
<div> </div>
<div>Andy Curtis</div>
</div>
</div>
</div>
</div>
</div></div></div>
<br>_______________________________________________<br>
SAP-WUG mailing list<br>
<a href="mailto:SAP-WUG@mit.edu">SAP-WUG@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/sap-wug" target="_blank">http://mailman.mit.edu/mailman/listinfo/sap-wug</a><br>
<br></blockquote></div><br></div></div>