Show TOC Start of Content Area

Procedure documentation Inserting Exception Texts from Message Classes  Locate the document in its SAP Library structure

Use

Instead of creating a new text in the Online Text Repository (OTR), you can use the text from an existing message class. If you want to do this, you must have set the With Message Class indicator on the Create dialog of the exception class.

Procedure

To include a message class text in your exception class, proceed as follows:

...

       1.      Select the exception class.

       2.      Switch the Class Builder to change mode and choose Texts.

       3.      On the tab above the text table, click on Message Text.

       4.      On the next screen, select the message class first and then the message number you need.

       5.      Once you have selected the message number, press Enter.

The text assigned to the message number is displayed in the Message Text line.

       6.      You can now assign attributes of the exception class to any placeholders that exist in the Attributes for Exception Class table.

When the placeholders are numbered (&1, &2, and so on), the attributes are assigned according to their number; otherwise the sequence in which the placeholders occurs is taken into consideration.

       7.      Choose Change to complete the process.

Result

The text belonging to your exception was linked to a text from a message class.

This graphic is explained in the accompanying text 

Note that you cannot create any message texts as part of this process.

 

 

End of Content Area