Use
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
You must have selected Print output as the transmission medium for issuing the message.
Procedure
- You enter an agency document
- You post the document.
- 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:
- Accounting document is created (this means that the document has been released to Financial Accounting)
- Document is not relevant for accounting
- Document is reversed and therefore closed
- Accounting document is not required
- You can display and print out the messages that belong to these NAST records.
For further information, see Displaying and Printing Messages.
Result
You can send the printout your business partner.
Business Transaction Events
Process interfaces are available for displaying messages for agency documents. These screens enable you to change or replace standard SAP function modules for printing without having to make any modifications to program coding.
More than one function module can be defined in the process screen. The following priorities exist when displaying function modules:
- Customer-specific function module
- Function module belonging to a partner
- Function module for an SAP application
The customer-specific function module has the highest priority, followed by the partner’s function module and then the SAP function module.
Use the following areas to adjust the forms for displaying message to suit your requirements:
- Printing Preparation for Vendor Payment Terms
Process interface 00420012 can be used for printing business partner payment terms. This enables you to replace function module WLF_PRINT_ZTERM as provided by SAP with your own function module.
Use template function module SAMPLE_PROCESS_00420012 as a template for your own customer-specific function module or your partner function module. The module detailed above also contains documentation that helps you when programming.
- Converting Amount from Document Currency to Amount Currency
Process interface 00420011 can be used to convert an amount from a document currency into the amount currency. This enables you to replace function module WLF_CONV_DOC_CURR_PAYM_CURR as provided by SAP with your own function module. Use template function module SAMPLE_PROCESS_00420011 as a template for your own customer-specific function module or partner function module. The module detailed above also contains documentation that helps you when programming.
The function module for converting the document currency into the amount currency is called when you want to enter the amount currency and the document currency when you print agency documents. Standard forms provided by SAP for agency business only display amounts in the document currency. Amounts cannot be displayed in amount currencies in the standards forms. If you want to display the amount currency in the forms in addition to the document currency, you must add a standard routine to the form layout in SAPscript. Program RWLFSRSC describes how this standard routine has to be integrated.
For more information see the IMG documentation for Agency Business under Using Transaction Events.
No comments:
Post a Comment