Show TOC

Set Up Autom. TO Creation for TRs / Posting Change Notices

In the WM System, you can generate (TO) in the background, directly following the creation of a transfer requirement (TR) or

Creating transfer orders is not started in the transaction that creates the transfer requirement or the posting change notice, but by a report that runs in the background. For this purpose, you need to classify the transfer requirements and posting change notices according to specific criteria.

Activities

Set the necessary parameters for processing in the specified sequence:

1. Mail recipient
While the transfer orders are being generated in the background, you can create logs and error messages using mail messages. These mails are allocated to certain recipients by means of a mail indicator.
Determine the mail indicators and assign these to the recipients.
If both fields Mail recipient and document user are filled with data, the entry in document user counts.
2. Control for automatic TO creation

During automatic transfer order creation for transfer requirements, you can determine according to which criteria the transfer orders are to be created. For this purpose, the transfer requirements are classified and allocated to the transfer order creation criteria. The following three variants are defined:

1) A transfer order is created for each selected transfer requirement or posting change notice.
2) A transfer order is only created for the transfer requirements or posting change notices that are subject to certain criteria (for example, date or time).
These criteria are determined individually using the following SAP user exits:
- MWMTOAU1 (function exit) for transfer requirements and
- MWMTOAU3 for posting change notices
3) As under 2 (only for transfer requirements), but here you can group several transfer orders together with a group number for further processing. The selection of the transfer requirements as well as the allocation of the group number is executed using the function exit MMWMTOAU2.
Define the criteria for automatic TO creation and develop, if required, the respective SAP user exits.
1. Movement type control

During manual creation of a transfer requirement or a posting change notice, the "Automatic TO Creation" indicator is copied as a default value from the WM movement type into the transfer requirement header or the posting change notice.

Assign the indicators Automatic TO to the WM movement types that you want for background processing.
2. Activate background processing
To activate automatic TO creation for transfer requirements, you must create a report variant for the report RLAUTA10 for each "Automatic TO creation" indicator defined beforehand. These report variants can be planned as batch jobs only.
Activate the automatic TO creation for posting change notices as described above for the transfer requirements. For this purpose, use the report RLAUA11.
Activate background processing.

Further Notes

Refer to the chapter

"Developing Function Enhancements " for more information on "User Exits".

The creation of report variants as well as the scheduling of background jobs is described in the documentation of the Basis application.