Entering content frame

Background documentation Customer-Specific Message Parameters Locate the document in its SAP Library structure

Use

You use customer-specific message parameters to control messages differently.

Example

Application examples for customer-specific message parameters are:

The display of a message should be limited to a particular request category (for example, only processors should see the message).

By classifying errors (minor error – major error) you cause a different message to be issued depending on the severity of the error.

 

If you want to enhance the message structure with the customer-specific message parameters, you can use parameter MESSAGE_PARAMETER of category STRING to do this.

Example

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

 

clear ls_message.

 

ls_message-type               = 'W'.

ls_message-id                 = 'CRM_SRV_WEBREQ_EXMPL'.

ls_message-number             = '006'.

ls_message-field              = '//request/car/length'.

ls_message-message_parameter = 'S01_2'.

 

append ls_message to et_message.

 

Leaving content frame