Order Generation You can use this function to create orders (
SD
orders) for contracts in accordance with shipping planning.
Note
You can only create an order once for each shipping schedule record and contract item. If you execute the function Delete Order Items , you can generate the order again.
Caution
Order generation is only performed at maximum speed if executed in background processing. We therefore advise you not to execute the function in the foreground in a productive system.
Before you can use the
Order Generation
function, the following prerequisites must be fulfilled:
There must be active contracts in the system.
There must be shipping schedule records that have the status
Create Orders
or
Creating Orders.
You should have defined the system resources available for the
Order Generation
function (see
RFC Settings
).
Order Generation
executes RFC calls, both when determining the next issue and when creating the orders.
You can change the RFC parameters for order generation using the following Customizing settings for
Series Sales and Distribution
under
:
Parameter |
Description |
|---|---|
Package size for issue determination |
Package size for RFC call to determine the issues for a contract item
If you select very large package sizes, this may result in a timeout. This error is listed in the order generation log . In this case, you must reduce the package size. End of the note. |
Number of parallel RFC calls for issue determination |
Maximum number of parallel RFC calls for issue determination in
Please note that the work processes used by the order generation function are not available to other users, for example a call center. End of the caution. |
Package size for creating orders |
Package size for creating orders (processing SAPMV45A including update)
If you select very large package sizes, this may result in a timeout. This error is listed in the order generation log . In this case, you must reduce the package size. End of the note. |
Number of parallel RFC calls for creating orders |
Maximum number of parallel RFC calls for creating orders in
Please note that the work processes used by the order generation function are not available to other users, for example a call center. End of the caution. |
Caution
Please note that the RFC settings have priority over the Customizing settings.
Order Generation
includes the following functions:
Group box |
Field / indicator |
Description |
|---|---|---|
Select Series Contracts |
Contract Generation Group |
|
Settings for Order Creation |
Create Current Orders |
If this indicator is selected, the system creates orders for shipping schedule records with the shipping schedule type
|
Create Backdated Orders |
If this indicator is selected, the system creates orders for shipping schedule records with the shipping schedule type
|
|
Trace Mode |
If this indicator is selected, all the messages for issue determination are included in the log.
Since the
End of the caution. |
|
Detailed Log |
If the
If you do not select the
Please note that the
End of the caution. |
|
Server Group for Order Creation |
If you do not specify a server group, the system can use all the servers with dialog processes for order creation, so as to distribute the load. |
|
Orders in Update Mode |
Test Run |
No orders are created in the
|
Test Options
You should not use the
End of the caution. |
Switch On Debugging Mode |
Switches to the debugger after the RFC call for
|
Create Orders Sequentially |
If you have runtime problems, we recommend performing a
The analysis indicates how much time is required at which points in the program. The functions executed in the RFC call are only included in the runtime analysis if you select the option
|
Methods of the following BAdIs are available in
Order Generation
:
BAdI |
Method |
Description |
|---|---|---|
ISM_SE_ORDERCREATION |
SET_FIELDS_R3 |
You can use this method to copy additional fields to the order being generated, over and above the fields copied from the standard.
You can only copy additional fields to the order if you create orders without copying control. End of the note. |
CHANGE_DATA_BEFORE_RFC |
This method is used to change the order data before the RFC processes for order creation are accessed. You can use this method, for example, to split the order items being generated between different orders. |
|
BUFFER_DATA_FOR_FRAMEWORK |
Method for buffering data that is evaluated in the order generation framework.
If performance problems arise while processing the framework, you should buffer the tables that are accessed individually in a memory (see Framework ). This buffer can be set up in the method BUFFER_DATA_FOR_FRAMEWORK. End of the note. |
|
ISM_SE_ORDER |
SET_STARTORDER |
This method is accessed when an order has been generated. |
Choose screen.