Use
The output of messages as mail (transmission medium 7) is controlled by
Business Communication Interface Default texts can be defined in Message Control as mail headers (mail attributes, for example title and name).
Features
You can enter a title and a standard text for the notifications for each output type and language. This standard text can include fields as parameters which are replaced with the current data (field values) for the application object at runtime (if message determination is run for the object).
The fields can belong to Message Control (incl.
Communication Structure) or to the calling application.In addition to the text, a mail can contain a process (for example a transaction or report) (executable mail). This process can be started in connection with the mail. Like the text, you can set parameters in the processing call.
Activities
Executable mail
The processing is defined in the condition record. Enter transmission medium 7 and select Communication. The corresponding maintenance screen appears. Via Goto ® Execute parameter you can, for example, define executable reports or SET/GET-parameters. To maintain the condition records read section
Message definition in the application
We recommend using SAP Business Workflow instead of the executable mails (transmission medium 9 or T).
Using fields (parameters)
If the parameter fields belong to the calling application, a routine in a program which is executed during message determination must be entered in Customizing as an attribute of the output type. The routine must belong to the same function group or module pool from which the Message Control is called by the application. This routine is executed during message determination and the parameters can be replaced by the current values. For more information, see
Defining output types