Show TOC Entering content frame

Function documentation Parallel Processing of Background Jobs Locate the document in its SAP Library structure

Use

There are several processes in Demand Planning and other applications that often run as background jobs. This can be due to the size of the jobs and the time they take or the routine nature of the task. To improve the performance of such background jobs it is often advisable to run these jobs in several parallel processes.

By using parallel processing you no longer have to split jobs into smaller units, for example when loading data from an infoCube into a planning area, you can use selections with much more characteristic value combinations or even upload the whole infoCube in one job.

Caution

Although it is technically possible, working with parallel processing with a dialog job(online execution) is not advisable. In this case the main process, which controls the parallel work processes, is a dialog process. For various technical reasons this can lead to a noticeable deterioration in performance.

 

Integration

Parallel processing is a function that is delivered with the SAP Web Application Server. For more information on the general process, see Structure linkParallel Processing Jobs with Asynchronous RFC.

 

Features

For parallel processing the system requires a few parameters from the application, for instance :

·        Block size

The number of elements processed in one process. The data objects that correspond to these elements differ from application to application.

¡        In Demand Planning the elements are usually characteristic value combinations. In the case of data extraction to BW the elements are data records.

¡        In the heuristic in Supply Network Planning (SNP) the elements are location products created in the planning run.

¡        In the SNP Optimizer the elements are the relevant liveCache orders.

·        Maximum number of parallel processes

Specifies the largest number of processes that can be used for the background job at one time. This value depends on the maximum number of processes available in the system, which in turn depends on the number of application servers in the system and their hardware resources. Since one process is required for control purposes, the smallest entry in this field that results in performance improvements is 3.

·        Minimum job size for parallel processing (in some cases)

Since these settings are generally similar if not the same for an application, SAP has simplified the maintenance of these parallel processing settings by using profiles. You define these profiles, which are application specific, in Customizing and then assign the relevant profile in the application.

Activities

...

       1.      You create parallel processing profiles in Customizing for Demand Planning under Profiles ® Maintain Parallel Processing Profile. As well as a name and description for the profile you must enter

¡        The application

The following applications currently use parallel processing profiles:

§         DP background processing

§         Copy/version management (DP)

§         Load data from infoCube to planning area (DP)

§         Extract data from planning area to infoCube (DP/SNP)

§         Initialize planning area (DP/SNP time series)

§         Generate proportional factors

§         SNP heuristic

§         SNP optimizer

¡        The maximum number of process

You can assign a server group to the profile so that the system only uses particular servers parallel processing. Other servers can then be ‘reserved’ for users working online. You cannot create these server groups yourself; contact your system administration if you require new groups.

You can also define the block size. There are minimum and maximum value for each application in the system. If you make no entry, the system uses a default value that is defined for each application.

       2.      In the application you assign the parallel processing profile. You can find the field in the following places:

DP background processing

Main Maintain Planning Job screen

Copy/version management

Choose the Additional Settings button

Load data from infoCube

Choose the Additional Settings button

Extract data to infoCube

For a new dataSource on the Generate DataSource screen

For an existing data source on the DataSource Properties screen

Create time series objects

On the Create Time Series Objects dialog screen.

Generate proportional factors

On the Other Settings tab page

SNP Heuristic

In Scope of Planning section of the SNP Planning Run screen (choose Supply Network Planning in Background ® Supply Network Planning in Background)

SNP Optimizer

On the Supply Network Optimization screen (choose Supply Network Planning in Background ® Supply Network Optimization ).

On the Deployment Optimization screen, choose Supply Network Planning in Background ® Deployment Optimization).

 

Leaving content frame