Entering content frame

Background documentation Persistent Error Messages Locate the document in its SAP Library structure

Use

Checks are normally triggered with each round trip and then updated. If an existing error was solved (by the user or by the system with auto-correction), the corresponding error message is no longer displayed after the next round trip. If you want to display error messages permanently, you can program this using the PERSISTENT parameter.

Example

The auto-correction of a data entered incorrectly with a persistent error message is programmed in SAP_DEMO01 as an example

Features

All messages for which indicator PERSISTENT='X' is set, are not deleted after an event run and are also not recognized as an incorrect field. 

Note

To prevent persistent messages being issued several times, you must make sure that these messages are only run once.

Example

The following sample source text comes from sample request SAP_DEMO01 view S01_2

 

clear ls_message.

 

ls_message-type         = 'I'.

ls_message-id           = 'CRM_SRV_WEBREQ_EXMPL'.

ls_message-number       = '003'.

ls_message-persistent   = 'X'.

ls_message-field        = '//request/valid_from'.

 

append ls_message to et_message.

 

Leaving content frame