Entering content frameProcedure documentation Creating Exception Texts Locate the document in its SAP Library structure

Use

There should be an explanatory text assigned to each exception. This text describes the exception situation for the user. You can assign one or more texts to an exception class in the Class Builder. Different texts are addressed with the corresponding IDs. Each class has a default text whose ID corresponds to the class name. If you want to create further texts for special cases of this exception, you have to assign a separate ID for each text.

Note

Exception texts are generally language-specific and have to be translated. The OTR can be used here as a central storage area for exception texts.

Note

You might want to parametrize exception texts with attributes of the exception class. To do so, enclose the attribute name in '&' characters.

Example: An error occurred in object &ATTRIBUTE&.

Procedure

To create exception texts:

  1. Select the exception class.
  2. Switch the Class Builder to change mode and click on Texts.
  3. First edit the default text whose ID was created automatically by the Class Builder.
  4. Choose ENTER.
  5. The system displays the Create OTR Concept dialog box.

  6. Confirming your entries will copy the new text to the OTR.
  7. If necessary, create further IDs to assign special texts and repeat steps 4-6.

Result

The exception texts for an exception class are created in the OTR and can be output as message texts.

 

 

Leaving content frame