Message Determination (Process Flow) 

Purpose

In the Agency Business component, you use this process to create messages for agency documents, which supports communication with your business partners.

Prerequisites

The necessary settings for message determination must be maintained in Customizing for Agency Business. To create message control records (see below), you must have created condition records for the message types.

For further information see:

Functional Prerequisites for Message Determination

Creating Condition Records for Message Determination

You must have selected Print output as the transmission medium for issuing the message.

Process Flow

  1. You enter an agency document
  2. You post the document.
  3. The system creates one or more message control records (NAST records) for the document.

In the standard system, NAST records for agency documents can be created with the following statuses:

 

  1. You can display and print out the messages that belong to these NAST records.

For further information, see Displaying and Printing Messages.

Results

You can send the printout to your business partner.

 

Business Transaction Events

Process interfaces exist for the message output of agency documents. These enable you to change the function modules for print formatting provided by SAP, or to replace these with your own, without having to modify the program coding.

Several function modules can be attached to a process interface. The following priorities apply when calling function modules:

  1. Customer-specific function module
  2. Function module of a partner
  3. Function module of the SAP application

The customer-specific function module has call priority, followed by the partner function module, followed by the function module provided by SAP.

In the following areas, you can tailor the forms for message output to your own requirements:

Process interface 00420012 is available for the print formatting of terms of payment for business partners. This enables you to replace function module WLF_PRINT_ZTERM, provided by SAP for print formatting, with your own function module.

Use sample function module SAMPLE_PROCESS_00420012 provided in the standard system as a template for your customer-specific or partner function module. This contains documentation that makes programming easier.

Process interface 00420011 is available for converting an amount from the document currency to the payment currency. This enables you to replace function module WLF_CONV_DOC_CURR_PAYM_CURR provided by SAP with your own function module. Use sample function module SAMPLE_PROCESS_00420011 provided in the standard system as a template for your customer-specific or partner function module. This contains documentation that makes programming easier.

The function module for converting the document currency to the payment currency is called if you want to include the payment currency as well as the document currency in the print output of agency documents. In the standard forms provided by SAP for Agency Business, amounts are only given in the document currency. The output of amounts in the payment currency is not defined in the standard forms. If you want to include the payment currency as well as the document currency on the forms, you must add a standard routine to the SAPscript layout of the forms. Program RWLFSRSC describes how you install this standard routine.

For further information, see the documentation for the implementation guide (IMG) on Agency Business under Use Business Transaction Events.