Skip to Content
Mar 25, 2011 at 01:04 PM

Throwing SAP E-sourcing Exceptions



I have a script that throws Application exception using the IBeanIfc createApplicationException, please refer to the following code:

throw doc.createApplicationException(AssociatedAttribute, MessageId);

I would like to show text from the localised resource list when my exception gets thrown.

I have created a Localized Resource Text item and I have tried using its Resource ID in the createApplicationException method but all I get is the Resource ID printed not the actual text.

Your help will be greatly appreciated.

Kind regards,

Thabiso Kamanga