Exception text getter - SchwarzIT/sap-usi-exception Wiki

There are quite some cases, in which you have to convert an exception into a bapiret2 structure or into another well-known message structure. A typical example would be an RFC function, that is using an object oriented API and will return a BAPIRETTAB for error messages. As exceptions might be T100-based or OTR-based and as they can have previous exceptions of different types, converting every relevant exception correctly can be a tedious task.

That's why the logic was encapsulated in one central class.