Entering content frameFunction documentation Goods Receipt: Automatic Generation of Appointments Locate the document in its SAP Library structure

Use

The system can generate appointments automatically to reduce the amount of manual data entry required for appointments, in particular if the number of documents requiring appointments is high. You have the choice between triggering the generation of appointments when documents are created, and generating the appointments for documents that already exist by starting a special program.

Prerequisites

Appointments can only be generated automatically if the system can determine the door, the start time and the appointment length automatically.

If no door was defined in the reference document, the appointments already created for the delivery date are evaluated in the numerical order of the doors. If a free door is found, the earliest possible time available at this door is taken as the start time.

You have the following options here:

You can define your own procedure via a user exit (EXIT_SAPLWAP0_008).

In Customizing you can specify in the appointments profile that the appointment length should be determined on the basis of the workload. In this case, further settings are required in Customizing for Shipping.

See also: Goods Receipt: Automatic Determination of the Appointment Length Based on Workload

If you have not defined your own procedure and do not wish the appointment length to be determined on the basis of workload, the system simply uses the default values from the appointments profile.

If you want automatic generation of appointments to be triggered when documents are created, you should consider the following points:

Function module W_APPOINTMENT_CREATE_PO must be called in the user exit for saving purchase orders (EXIT_SAPMM06E_013).This function module generates appointments for purchase orders.

Function module W_APPOINTMENT_CREATE_SN must be called in the user exit for saving inbound deliveries and goods receipts (USEREXIT_DOCUMENT_SAVE_PREPARE).This function module generates appointments for inbound deliveries and rough goods receipts.

Features

You have two options for generating appointments automatically:

If you want to generate appointments for existing documents in a separate program run, use program RWAPPT20. This program first creates a worklist, and then calls the function modules for generating appointments for the documents on the list.

You can also generate appointments automatically when you create purchase orders, inbound deliveries and rough goods receipts by calling the function modules for generating appointments in the user exits provided for creating these documents (see Integration).

 

 

Leaving content frame