This will be a short guide on how to access source code-based of exception class. Since class-based exception will be more common to be used, I’ll show this example on how to copy and paste / import codes directly into exception class or backup into a local text file.
First, go to transaction code SE24 and input your exception class name.
Next, click Change and you will see screen below. Click Local Definitions/Implementations. A popup will be shown. Press Enter.
After press Enter, you will see screen below. Click Public Section.
Screen below will be shown. You can either copy and paste codes from a text file into this code editor or import text file via Utilities → More Utilities → Upload/Download → Upload. Choose the text file with codes and click Open. You can backup the codes to a local text file via Utilities → More Utilities → Upload/Download → Download.
That’s all for this short guide.