Ansicht
Dokumentation

Order Generation in Series Sales and Distribution (Changed) ( RELNISM_600_ORDERGEN2 )

Order Generation in Series Sales and Distribution (Changed) ( RELNISM_600_ORDERGEN2 )

ABAP Short Reference   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Short text

Order Generation in Series Sales and Distribution (Changed)

Use

As of SAP ECC Industry Extension Media 6.0, the following changes have been made to Order Generation in Series Sales and Distribution (transaction JKSEORDER01):

New Selection Criterion Generation Group

You can use the generation group to group contracts for generation. Order generation locks the data based on the generation group. This means you can run order generation for contracts that belong to different generation groups in parallel. You can assign a generation group to the contracts using the BAdI ISM_GENERATIONGROUP. This BAdI method is processed each time a contract is changed or when the report RJKSECREATEINDEXCONTRACT is executed for the corresponding contract.

Control Data

  • Debugging mode:
Debugging mode is switched on after the Remote Function Call (RFC). This allows you to monitor the progress of SD (Sales and Distribution) order creation in the coding.
  • Create orders sequentially:
You should only select the option Create Orders Sequentially in exceptional cases, since it affects the performance of the order generation function. This option is designed primarily for use in analyzing performance.

On the initial Order Generation screen, you can specify a server group, which is then used to execute order generation. Work processes for order creation are not executed on servers that do not belong to the server group. The server group is used to distribute the workload in your system. You can define server groups in the system using the function CCMS: RFC Server Group Maintenance(transaction RZ12). If you do not specify a server group in the IS-M: Order Generationprogram (RJKSEORDERGEN), the system tries to use all the servers to perform order creation in parallel processing.

Please note that the server group is only relevant if you do not perform order generation sequentially.

Determining Order Types Dynamically

You can use the function for determining order types dynamically to map the following process in the system:

If the ABAP requirement REQ1 is fulfilled for a contract item, the order type of the order to be generated is O1. However, if the ABAP requirement REQ2 is fulfilled for the contract item, the order type of the order to be generated is O2. If neither of these requirements is fulfilled, the order type is to be O3.

You can implement your own requirements, for example, Free of Charge for 30 Days from Contract Start. SAP supplies sample requirements, which you can adjust according to your company's requirements.

Log

The following enhancements have been made to the order generation log:

  • Configurable log overview
  • Options for displaying log entries for each order generation run or contract item

You can configure the log overview in the order generation log in the Customizing settings for Media Product Sales and Distribution under SAP Media -> Media Sales and Distribution -> Media Product Sales and Distribution (Retail) -> Sales -> Order Generation -> Log, or alternatively, in the Customizing settings for Series Sales and Distribution under SAP Media -> Media Sales and Distribution -> Series Sales and Distribution -> Sales -> Order Generation -> Log.

First of all, you define statuses, which you can then assign to individual messages (T100 messages) in a further step. Every time the message in question occurs in order generation, the corresponding status is noted for the message. You then define calculation rules, which are used to evaluate the statuses. In a final step, you assign the calculation rule to the log overview.

You can configure the log overview in such a way that the system determines the number of statuses recorded. This allows you, for example, to determine the number of order items created with and without errors.

You can use the Convert Order Generation Log program (RJKSDCONVERTPROTOCOL) to convert the old log to the new format. Please note that you will not have access to all the functions for the new log with converted logs.

Effects on Customizing

Specify function modules for use in determining the order type of the order to be generated in the Customizing settings for Series Sales and Distribution under SAP Media -> Media Sales and Distribution -> Series Sales and Distribution -> Sales -> Order Generation -> Determine Order Type -> Define Selection Modules for Determining Order Type. If you define your own function modules, you can do this by copying one of the standard SAP function modules for determining the order type.

Specify the procedure for determining the order type of the order to be generated in the Customizing settings for Series Sales and Distribution under SAP Media -> Media Sales and Distribution -> Series Sales and Distribution -> Sales -> Order Generation -> Determine Order Type -> Determination Procedure for Order Type for Order Generation. In the procedure, define the sequence in which the selection modules for determining the order type are to be accessed. You can define one procedure per client.

You can also define requirements in the Customizing settings for Series Sales and Distribution under SAP Media -> Media Sales and Distribution -> Series Sales and Distribution -> Sales -> Order Generation -> Determine Order Type -> Requirements for Rule Set. Requirements must have a standard SAP interface. If you want to create a new requirement, please create it as a copy of the standard SAP requirement.

Define the order type of the order to be generated and the item category in the order to be generated using the requirements you defined in the Customizing settings for Series Sales and Distribution under SAP Media -> Media Sales and Distribution -> Series Sales and Distribution -> Sales -> Order Generation -> Determine Order Type -> Access Sequence for Determining Order Type Using Rule Set.

Note

Please note that the item category in Customizing only affects order creation without copying control. If you use copying control, the item category is determined by this function.

You can change the order type found for each generation run using method CHANGE_DATA_BEFORE_RFC of the Business Add-In ISM_SE_ORDERCREATION.






BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 7727 Date: 20240520 Time: 145056     sap01-206 ( 164 ms )